diff options
author | Kae <80987908+Novaenia@users.noreply.github.com> | 2025-01-05 15:16:15 +1100 |
---|---|---|
committer | Kae <80987908+Novaenia@users.noreply.github.com> | 2025-01-05 15:16:15 +1100 |
commit | 9bc12f5f97f6774e6eeeb3ef577e026cc8d03357 (patch) | |
tree | 7b2909e6869cf1dff081e114e9693c8736b1480e /source/extern/lua/linit.c | |
parent | 41f0b9001f60c59691ec04d937e6a9ef424794f1 (diff) |
Lua 5.3.6
Diffstat (limited to 'source/extern/lua/linit.c')
-rw-r--r-- | source/extern/lua/linit.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/extern/lua/linit.c b/source/extern/lua/linit.c index 8ce94cc..480da52 100644 --- a/source/extern/lua/linit.c +++ b/source/extern/lua/linit.c @@ -1,5 +1,5 @@ /* -** $Id: linit.c,v 1.38 2015/01/05 13:48:33 roberto Exp $ +** $Id: linit.c,v 1.39.1.1 2017/04/19 17:20:42 roberto Exp $ ** Initialization of libraries for lua.c and other clients ** See Copyright Notice in lua.h */ @@ -18,10 +18,10 @@ ** open the library, which is already linked to the application. ** For that, do the following code: ** -** luaL_getsubtable(L, LUA_REGISTRYINDEX, "_PRELOAD"); +** luaL_getsubtable(L, LUA_REGISTRYINDEX, LUA_PRELOAD_TABLE); ** lua_pushcfunction(L, luaopen_modname); ** lua_setfield(L, -2, modname); -** lua_pop(L, 1); // remove _PRELOAD table +** lua_pop(L, 1); // remove PRELOAD table */ #include "lprefix.h" |