summaryrefslogtreecommitdiff
path: root/libs/liblua/src/linit.c
diff options
context:
space:
mode:
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"