From 9bc12f5f97f6774e6eeeb3ef577e026cc8d03357 Mon Sep 17 00:00:00 2001 From: Kae <80987908+Novaenia@users.noreply.github.com> Date: Sun, 5 Jan 2025 15:16:15 +1100 Subject: Lua 5.3.6 --- source/extern/lua/linit.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'source/extern/lua/linit.c') 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" -- cgit v1.2.3