diff options
Diffstat (limited to 'loadlib.c')
| -rw-r--r-- | loadlib.c | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: loadlib.c,v 1.35 2005/08/01 04:21:17 roberto Exp roberto $ | 2 | ** $Id: loadlib.c,v 1.36 2005/08/09 17:58:09 roberto Exp roberto $ |
| 3 | ** Dynamic library loader for Lua | 3 | ** Dynamic library loader for Lua |
| 4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
| 5 | ** | 5 | ** |
| @@ -583,7 +583,7 @@ static const lua_CFunction loaders[] = | |||
| 583 | {loader_preload, loader_Lua, loader_C, loader_Croot, NULL}; | 583 | {loader_preload, loader_Lua, loader_C, loader_Croot, NULL}; |
| 584 | 584 | ||
| 585 | 585 | ||
| 586 | LUALIB_API int luaopen_loadlib (lua_State *L) { | 586 | LUALIB_API int luaopen_package (lua_State *L) { |
| 587 | int i; | 587 | int i; |
| 588 | /* create new type _LOADLIB */ | 588 | /* create new type _LOADLIB */ |
| 589 | luaL_newmetatable(L, "_LOADLIB"); | 589 | luaL_newmetatable(L, "_LOADLIB"); |
