lua

A copy of the Lua development repository
Log | Files | Refs | README

commit e6bfbc38b554174918b58f6747e29ce2b18bb3c1
parent d31c04c0498bd78a99a15fc8980844da6882914d
Author: Roberto Ierusalimschy <roberto@inf.puc-rio.br>
Date:   Thu,  6 Oct 2005 17:47:10 -0300

'luaopen_package' was missing in new states

Diffstat:
Mltests.c | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/ltests.c b/ltests.c @@ -1,5 +1,5 @@ /* -** $Id: ltests.c,v 2.31 2005/09/14 17:48:57 roberto Exp roberto $ +** $Id: ltests.c,v 2.32 2005/09/20 17:55:10 roberto Exp roberto $ ** Internal Module for Debugging of the Lua Implementation ** See Copyright Notice in lua.h */ @@ -725,6 +725,7 @@ static int loadlib (lua_State *L) { {"mathlibopen", luaopen_math}, {"strlibopen", luaopen_string}, {"tablibopen", luaopen_table}, + {"packageopen", luaopen_package}, {NULL, NULL} }; lua_State *L1 = cast(lua_State *,