diff options
author | inmarket <andrewh@inmarket.com.au> | 2018-06-23 13:02:07 +1000 |
---|---|---|
committer | inmarket <andrewh@inmarket.com.au> | 2018-06-23 13:02:07 +1000 |
commit | 41271d632b74f5cf47c30d3b699eb6b2786f2136 (patch) | |
tree | 78bcb729c6d6177ca598f28908fefd186c50e9b6 /src/gfile/gfile_fs.h | |
parent | 3b97fb798e96514057bcf17263c1e5dbdcd7da26 (diff) | |
download | uGFX-41271d632b74f5cf47c30d3b699eb6b2786f2136.tar.gz uGFX-41271d632b74f5cf47c30d3b699eb6b2786f2136.tar.bz2 uGFX-41271d632b74f5cf47c30d3b699eb6b2786f2136.zip |
Added new type definitions - moving towards V3.0
Diffstat (limited to 'src/gfile/gfile_fs.h')
-rw-r--r-- | src/gfile/gfile_fs.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/gfile/gfile_fs.h b/src/gfile/gfile_fs.h index c2337283..5b1f4fdc 100644 --- a/src/gfile/gfile_fs.h +++ b/src/gfile/gfile_fs.h @@ -34,7 +34,7 @@ struct GFILE { struct gfileList { const struct GFILEVMT * vmt; - bool_t dirs; + gBool dirs; }; typedef struct GFILEVMT { @@ -46,22 +46,22 @@ typedef struct GFILEVMT { #define GFSFLG_SMALL 0x0020 #define GFSFLG_TEXTMODES 0x0040 char prefix; - bool_t (*del) (const char *fname); - bool_t (*exists) (const char *fname); + gBool (*del) (const char *fname); + gBool (*exists) (const char *fname); long int (*filesize) (const char *fname); - bool_t (*ren) (const char *oldname, const char *newname); - bool_t (*open) (GFILE *f, const char *fname); + gBool (*ren) (const char *oldname, const char *newname); + gBool (*open) (GFILE *f, const char *fname); void (*close) (GFILE *f); int (*read) (GFILE *f, void *buf, int size); int (*write) (GFILE *f, const void *buf, int size); - bool_t (*setpos) (GFILE *f, long int pos); + gBool (*setpos) (GFILE *f, long int pos); long int (*getsize) (GFILE *f); - bool_t (*eof) (GFILE *f); - bool_t (*mount) (const char *drive); - bool_t (*unmount) (const char *drive); - bool_t (*sync) (GFILE *f); + gBool (*eof) (GFILE *f); + gBool (*mount) (const char *drive); + gBool (*unmount) (const char *drive); + gBool (*sync) (GFILE *f); #if GFILE_NEED_FILELISTS - gfileList * (*flopen) (const char *path, bool_t dirs); + gfileList * (*flopen) (const char *path, gBool dirs); const char *(*flread) (gfileList *pfl); void (*flclose) (gfileList *pfl); #endif |