From 4f5ab8c9b5866c4445d8f37f608244ea9bf4494f Mon Sep 17 00:00:00 2001 From: aunsane Date: Tue, 27 Dec 2016 00:46:46 +0300 Subject: Updated lua lib to 5.3.4 --- libs/liblua/src/linit.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libs/liblua/src/linit.c') diff --git a/libs/liblua/src/linit.c b/libs/liblua/src/linit.c index 8ce94ccb35..897ae3523b 100644 --- a/libs/liblua/src/linit.c +++ b/libs/liblua/src/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.38 2015/01/05 13:48:33 roberto Exp roberto $ ** 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