aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--LuaSL/src/LuaSL_main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/LuaSL/src/LuaSL_main.c b/LuaSL/src/LuaSL_main.c
index f2f4f17..9933dca 100644
--- a/LuaSL/src/LuaSL_main.c
+++ b/LuaSL/src/LuaSL_main.c
@@ -254,6 +254,7 @@ static void runLuaFile(gameGlobals *game, const char *filename)
254// lua_setallocf(L, _elua_alloc, &ela); // LuaJIT uses a heavily hacked up dlmalloc. Seems that standard realloc is not so thread safe? 254// lua_setallocf(L, _elua_alloc, &ela); // LuaJIT uses a heavily hacked up dlmalloc. Seems that standard realloc is not so thread safe?
255 lua_atpanic(L, _elua_custom_panic); 255 lua_atpanic(L, _elua_custom_panic);
256// TODO - Sandbox out what this opens. See lib_init.c from LuaJIT. 256// TODO - Sandbox out what this opens. See lib_init.c from LuaJIT.
257// Just noticed this in the LuaJIT docs - "To change or extend the list of standard libraries to load, copy src/lib_init.c to your project and modify it accordingly. Make sure the jit library is loaded or the JIT compiler will not be activated."
257 luaL_openlibs(L); 258 luaL_openlibs(L);
258 259
259 lua_pushcfunction(L, errFunc); 260 lua_pushcfunction(L, errFunc);