From 31f6540fba010b941b44b2bd21672786d2e63e7f Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Fri, 9 Jul 2004 11:29:29 -0300 Subject: back with an "open all libs" function --- ltests.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ltests.h') diff --git a/ltests.h b/ltests.h index 009884a9..c2f3ec16 100644 --- a/ltests.h +++ b/ltests.h @@ -1,5 +1,5 @@ /* -** $Id: ltests.h,v 2.6 2004/06/02 19:09:21 roberto Exp roberto $ +** $Id: ltests.h,v 2.7 2004/06/29 16:57:24 roberto Exp roberto $ ** Internal Header for Debugging of the Lua Implementation ** See Copyright Notice in lua.h */ @@ -70,8 +70,8 @@ extern int islocked; int luaB_opentests (lua_State *L); -#undef LUA_EXTRALIBS -#define LUA_EXTRALIBS { "tests", luaB_opentests }, +#undef lua_userinit +#define lua_userinit(L) { luaopen_stdlibs(L); luaB_opentests(L); } -- cgit v1.2.3-55-g6feb