aboutsummaryrefslogtreecommitdiff
path: root/linit.c
diff options
context:
space:
mode:
Diffstat (limited to 'linit.c')
-rw-r--r--linit.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/linit.c b/linit.c
index de6e06ec..cc975ec3 100644
--- a/linit.c
+++ b/linit.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: linit.c,v 1.28 2010/07/02 11:38:13 roberto Exp roberto $ 2** $Id: linit.c,v 1.29 2010/10/25 14:32:36 roberto Exp roberto $
3** Initialization of libraries for lua.c and other clients 3** Initialization of libraries for lua.c and other clients
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -36,9 +36,7 @@ static const luaL_Reg loadedlibs[] = {
36 {LUA_STRLIBNAME, luaopen_string}, 36 {LUA_STRLIBNAME, luaopen_string},
37 {LUA_BITLIBNAME, luaopen_bit32}, 37 {LUA_BITLIBNAME, luaopen_bit32},
38 {LUA_MATHLIBNAME, luaopen_math}, 38 {LUA_MATHLIBNAME, luaopen_math},
39#if defined(LUA_COMPAT_DEBUGLIB)
40 {LUA_DBLIBNAME, luaopen_debug}, 39 {LUA_DBLIBNAME, luaopen_debug},
41#endif
42 {NULL, NULL} 40 {NULL, NULL}
43}; 41};
44 42
@@ -47,7 +45,6 @@ static const luaL_Reg loadedlibs[] = {
47** these libs are preloaded and must be required before used 45** these libs are preloaded and must be required before used
48*/ 46*/
49static const luaL_Reg preloadedlibs[] = { 47static const luaL_Reg preloadedlibs[] = {
50 {LUA_DBLIBNAME, luaopen_debug},
51 {NULL, NULL} 48 {NULL, NULL}
52}; 49};
53 50