diff --git a/lbaselib.c b/lbaselib.c index 3b9225e2..d9669dfc 100644 --- a/lbaselib.c +++ b/lbaselib.c @@ -1,5 +1,5 @@ /* -** $Id: lbaselib.c,v 1.241 2010/04/02 15:19:19 roberto Exp roberto $ +** $Id: lbaselib.c,v 1.242 2010/04/19 16:36:06 roberto Exp roberto $ ** Basic library ** See Copyright Notice in lua.h */ @@ -140,12 +140,6 @@ static int luaB_rawset (lua_State *L) { } -static int luaB_gcinfo (lua_State *L) { - lua_pushinteger(L, lua_gc(L, LUA_GCCOUNT, 0)); - return 1; -} - - static int luaB_collectgarbage (lua_State *L) { static const char *const opts[] = {"stop", "restart", "collect", "count", "step", "setpause", "setstepmul", "isrunning", @@ -481,7 +475,6 @@ static const luaL_Reg base_funcs[] = { {"collectgarbage", luaB_collectgarbage}, {"dofile", luaB_dofile}, {"error", luaB_error}, - {"gcinfo", luaB_gcinfo}, {"getfenv", luaB_getfenv}, {"getmetatable", luaB_getmetatable}, {"ipairs", luaB_ipairs},