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
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 list_embedded_lua_files(std::vector< std::string > &filenames)
Lists the "embedded file" filenames.
void init_lua_io(lua_State *L)
Initializes LUA filesystem operations.