40 #ifndef GEOGRAM_LUA_LUA_FILESYSTEM
41 #define GEOGRAM_LUA_LUA_FILESYSTEM
59 #include <geogram/third_party/lua/lua.h>
77 const char* filename,
const char* data
89 const char* filename,
const char** data
100 void GEOGRAM_API list_embedded_lua_files(
101 std::vector<std::string>& filenames
Basic definitions for the Geogram C API.
void register_embedded_lua_file(const char *filename, const char *data)
Registers an "embedded file", i.e. a static string with some LUA sources in it.
void get_embedded_lua_file(const char *filename, const char **data)
Gets an "embedded file" by its filename.
void init_lua_io(lua_State *L)
Initializes LUA filesystem operations.