summaryrefslogtreecommitdiff
path: root/libs/liblua/src/linit.c
diff options
context:
space:
mode:
authoraunsane <aunsane@gmail.com>2016-12-27 00:46:46 +0300
committeraunsane <aunsane@gmail.com>2016-12-27 00:47:12 +0300
commit4f5ab8c9b5866c4445d8f37f608244ea9bf4494f (patch)
tree2e1e5a3dee91e0c8f9aed1cdc8f2465d9e1b3d35 /libs/liblua/src/linit.c
parentab80b3e01ac99d5f31e2de10bf8299579afa87b4 (diff)
Updated lua lib to 5.3.4
Diffstat (limited to 'libs/liblua/src/linit.c')
-rw-r--r--libs/liblua/src/linit.c6
1 files changed, 3 insertions, 3 deletions
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"