diff options
| -rw-r--r-- | linit.c | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: linit.c,v 1.14 2005/12/29 15:32:11 roberto Exp roberto $ | 2 | ** $Id: linit.c,v 1.15 2007/06/22 16:59:11 roberto Exp roberto $ |
| 3 | ** Initialization of libraries for lua.c | 3 | ** Initialization of libraries for lua.c |
| 4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
| 5 | */ | 5 | */ |
| @@ -18,7 +18,7 @@ | |||
| 18 | ** these libs are preloaded in Lua and are readily available to any program | 18 | ** these libs are preloaded in Lua and are readily available to any program |
| 19 | */ | 19 | */ |
| 20 | static const luaL_Reg lualibs[] = { | 20 | static const luaL_Reg lualibs[] = { |
| 21 | {"", luaopen_base}, | 21 | {"_G", luaopen_base}, |
| 22 | {LUA_LOADLIBNAME, luaopen_package}, | 22 | {LUA_LOADLIBNAME, luaopen_package}, |
| 23 | {LUA_TABLIBNAME, luaopen_table}, | 23 | {LUA_TABLIBNAME, luaopen_table}, |
| 24 | {LUA_IOLIBNAME, luaopen_io}, | 24 | {LUA_IOLIBNAME, luaopen_io}, |
