From e31efca1cc078bb54791fa8a742eaa588c042bfd Mon Sep 17 00:00:00 2001 From: David Walter Seikel Date: Wed, 25 Jan 2012 02:35:09 +1000 Subject: Last minute coment before bed. --- LuaSL/src/LuaSL_main.c | 1 + 1 file changed, 1 insertion(+) (limited to 'LuaSL/src/LuaSL_main.c') 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) // lua_setallocf(L, _elua_alloc, &ela); // LuaJIT uses a heavily hacked up dlmalloc. Seems that standard realloc is not so thread safe? lua_atpanic(L, _elua_custom_panic); // TODO - Sandbox out what this opens. See lib_init.c from LuaJIT. +// 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." luaL_openlibs(L); lua_pushcfunction(L, errFunc); -- cgit v1.1