aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lbaselib.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/lbaselib.c b/lbaselib.c
index 3b9225e2..d9669dfc 100644
--- a/lbaselib.c
+++ b/lbaselib.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lbaselib.c,v 1.241 2010/04/02 15:19:19 roberto Exp roberto $ 2** $Id: lbaselib.c,v 1.242 2010/04/19 16:36:06 roberto Exp roberto $
3** Basic library 3** Basic library
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -140,12 +140,6 @@ static int luaB_rawset (lua_State *L) {
140} 140}
141 141
142 142
143static int luaB_gcinfo (lua_State *L) {
144 lua_pushinteger(L, lua_gc(L, LUA_GCCOUNT, 0));
145 return 1;
146}
147
148
149static int luaB_collectgarbage (lua_State *L) { 143static int luaB_collectgarbage (lua_State *L) {
150 static const char *const opts[] = {"stop", "restart", "collect", 144 static const char *const opts[] = {"stop", "restart", "collect",
151 "count", "step", "setpause", "setstepmul", "isrunning", 145 "count", "step", "setpause", "setstepmul", "isrunning",
@@ -481,7 +475,6 @@ static const luaL_Reg base_funcs[] = {
481 {"collectgarbage", luaB_collectgarbage}, 475 {"collectgarbage", luaB_collectgarbage},
482 {"dofile", luaB_dofile}, 476 {"dofile", luaB_dofile},
483 {"error", luaB_error}, 477 {"error", luaB_error},
484 {"gcinfo", luaB_gcinfo},
485 {"getfenv", luaB_getfenv}, 478 {"getfenv", luaB_getfenv},
486 {"getmetatable", luaB_getmetatable}, 479 {"getmetatable", luaB_getmetatable},
487 {"ipairs", luaB_ipairs}, 480 {"ipairs", luaB_ipairs},