From 6ecbbcc282bb25fae4bcd2e9f394adb74ac60ae7 Mon Sep 17 00:00:00 2001 From: jussi Date: Wed, 6 Dec 2023 18:41:01 +0200 Subject: Files management functions. --- include/core.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'include/core.h') 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 ); -- cgit v1.2.3