From 8c21f463ed655f2869c41b6c2f561d7aef7bde7f Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Fri, 12 Nov 2010 13:48:30 -0200 Subject: 'debug' library is loaded by default --- linit.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'linit.c') diff --git a/linit.c b/linit.c index de6e06ec..cc975ec3 100644 --- a/linit.c +++ b/linit.c @@ -1,5 +1,5 @@ /* -** $Id: linit.c,v 1.28 2010/07/02 11:38:13 roberto Exp roberto $ +** $Id: linit.c,v 1.29 2010/10/25 14:32:36 roberto Exp roberto $ ** Initialization of libraries for lua.c and other clients ** See Copyright Notice in lua.h */ @@ -36,9 +36,7 @@ static const luaL_Reg loadedlibs[] = { {LUA_STRLIBNAME, luaopen_string}, {LUA_BITLIBNAME, luaopen_bit32}, {LUA_MATHLIBNAME, luaopen_math}, -#if defined(LUA_COMPAT_DEBUGLIB) {LUA_DBLIBNAME, luaopen_debug}, -#endif {NULL, NULL} }; @@ -47,7 +45,6 @@ static const luaL_Reg loadedlibs[] = { ** these libs are preloaded and must be required before used */ static const luaL_Reg preloadedlibs[] = { - {LUA_DBLIBNAME, luaopen_debug}, {NULL, NULL} }; -- cgit v1.2.3-55-g6feb