diff options
author | David Walter Seikel | 2012-01-25 02:35:09 +1000 |
---|---|---|
committer | David Walter Seikel | 2012-01-25 02:35:09 +1000 |
commit | e31efca1cc078bb54791fa8a742eaa588c042bfd (patch) | |
tree | b8b15db809b22f79d11c13e5bb45ba508b1e8280 /LuaSL/src | |
parent | Hack together LuaSL, LuaJIT, and luaproc. It's frankenstein right now. lol (diff) | |
download | SledjHamr-e31efca1cc078bb54791fa8a742eaa588c042bfd.zip SledjHamr-e31efca1cc078bb54791fa8a742eaa588c042bfd.tar.gz SledjHamr-e31efca1cc078bb54791fa8a742eaa588c042bfd.tar.bz2 SledjHamr-e31efca1cc078bb54791fa8a742eaa588c042bfd.tar.xz |
Last minute coment before bed.
Diffstat (limited to 'LuaSL/src')
-rw-r--r-- | LuaSL/src/LuaSL_main.c | 1 |
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); |