summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorjussi2023-12-06 18:41:01 +0200
committerjussi2023-12-06 18:41:01 +0200
commit6ecbbcc282bb25fae4bcd2e9f394adb74ac60ae7 (patch)
tree8aead333dbeb5abc5deacdcbb243a5a1291c5079 /include
parent4a783a156e1ab6ea9a8b69cd75db6aa33bb6eefc (diff)
downloadreilua-enhanced-6ecbbcc282bb25fae4bcd2e9f394adb74ac60ae7.tar.gz
reilua-enhanced-6ecbbcc282bb25fae4bcd2e9f394adb74ac60ae7.tar.bz2
reilua-enhanced-6ecbbcc282bb25fae4bcd2e9f394adb74ac60ae7.zip
Files management functions.
Diffstat (limited to 'include')
-rw-r--r--include/core.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/include/core.h b/include/core.h
index ff657e6..5103cb8 100644
--- a/include/core.h
+++ b/include/core.h
@@ -108,6 +108,12 @@ int lcoreOpenURL( lua_State *L );
int lcoreIsGCUnloadEnabled( lua_State *L );
int lcoreSetGCUnload( lua_State *L );
/* Files management functions. */
+int lcoreLoadFileData( lua_State *L );
+int lcoreSaveFileData( lua_State *L );
+int lcoreExportDataAsCode( lua_State *L );
+int lcoreLoadFileText( lua_State *L );
+int lcoreSaveFileText( lua_State *L );
+/* Files system functions. */
int lcoreGetBasePath( lua_State *L );
int lcoreFileExists( lua_State *L );
int lcoreDirectoryExists( lua_State *L );
@@ -220,4 +226,3 @@ int lcoreGetBufferData( lua_State *L );
int lcoreGetBufferType( lua_State *L );
int lcoreGetBufferSize( lua_State *L );
int lcoreExportBuffer( lua_State *L );
-int lcoreExportBufferAsCode( lua_State *L );