diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2005-10-06 17:47:32 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2005-10-06 17:47:32 -0300 |
commit | e6bfbc38b554174918b58f6747e29ce2b18bb3c1 (patch) | |
tree | 980d56d901d5cb2a4936feacd5c105dfe1016c0d | |
parent | d31c04c0498bd78a99a15fc8980844da6882914d (diff) | |
download | lua-e6bfbc38b554174918b58f6747e29ce2b18bb3c1.tar.gz lua-e6bfbc38b554174918b58f6747e29ce2b18bb3c1.tar.bz2 lua-e6bfbc38b554174918b58f6747e29ce2b18bb3c1.zip |
'luaopen_package' was missing in new states
-rw-r--r-- | ltests.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: ltests.c,v 2.31 2005/09/14 17:48:57 roberto Exp roberto $ | 2 | ** $Id: ltests.c,v 2.32 2005/09/20 17:55:10 roberto Exp roberto $ |
3 | ** Internal Module for Debugging of the Lua Implementation | 3 | ** Internal Module for Debugging of the Lua Implementation |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -725,6 +725,7 @@ static int loadlib (lua_State *L) { | |||
725 | {"mathlibopen", luaopen_math}, | 725 | {"mathlibopen", luaopen_math}, |
726 | {"strlibopen", luaopen_string}, | 726 | {"strlibopen", luaopen_string}, |
727 | {"tablibopen", luaopen_table}, | 727 | {"tablibopen", luaopen_table}, |
728 | {"packageopen", luaopen_package}, | ||
728 | {NULL, NULL} | 729 | {NULL, NULL} |
729 | }; | 730 | }; |
730 | lua_State *L1 = cast(lua_State *, | 731 | lua_State *L1 = cast(lua_State *, |