aboutsummaryrefslogtreecommitdiffstats
path: root/include/gfile/gfile.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/gfile/gfile.h')
-rw-r--r--include/gfile/gfile.h13
1 files changed, 10 insertions, 3 deletions
diff --git a/include/gfile/gfile.h b/include/gfile/gfile.h
index 6cd2d9ad..b615cb8a 100644
--- a/include/gfile/gfile.h
+++ b/include/gfile/gfile.h
@@ -21,7 +21,7 @@
#include "gfx.h"
-#if GFX_USE_GMISC || defined(__DOXYGEN__)
+#if GFX_USE_GFILE || defined(__DOXYGEN__)
/*===========================================================================*/
/* Type definitions */
@@ -99,6 +99,13 @@ extern "C" {
long int gfileGetSize(GFILE *f);
bool_t gfileEOF(GFILE *f);
+ #if GFILE_NEED_CHIBIOSFS && GFX_USE_OS_CHIBIOS
+ GFILE * gfileOpenBaseFileStream(void *BaseFileStreamPtr, const char *mode);
+ #endif
+ #if GFILE_NEED_MEMFS
+ GFILE * gfileOpenMemory(void *memptr, const char *mode);
+ #endif
+
#if GFILE_NEED_PRINTG
int vfnprintg(GFILE *f, int maxlen, const char *fmt, va_list arg);
int fnprintg(GFILE *f, int maxlen, const char *fmt, ...);
@@ -192,8 +199,8 @@ extern "C" {
}
#endif
-#endif /* GFX_USE_MISC */
+#endif /* GFX_USE_GFILE */
-#endif /* _GMISC_H */
+#endif /* _GFILE_H */
/** @} */