From 733c58595bb57541e38275103fade1330aeb839d Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Thu, 13 Feb 2014 10:11:34 -0200 Subject: no more local collection --- lbaselib.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lbaselib.c') diff --git a/lbaselib.c b/lbaselib.c index 9e3c5c87..0b51b743 100644 --- a/lbaselib.c +++ b/lbaselib.c @@ -1,5 +1,5 @@ /* -** $Id: lbaselib.c,v 1.281 2013/08/05 16:58:28 roberto Exp roberto $ +** $Id: lbaselib.c,v 1.282 2013/09/13 16:21:52 roberto Exp roberto $ ** Basic library ** See Copyright Notice in lua.h */ @@ -175,10 +175,10 @@ static int luaB_rawset (lua_State *L) { static int luaB_collectgarbage (lua_State *L) { static const char *const opts[] = {"stop", "restart", "collect", "count", "step", "setpause", "setstepmul", - "setlocalpause", "isrunning", NULL}; + "isrunning", NULL}; static const int optsnum[] = {LUA_GCSTOP, LUA_GCRESTART, LUA_GCCOLLECT, LUA_GCCOUNT, LUA_GCSTEP, LUA_GCSETPAUSE, LUA_GCSETSTEPMUL, - LUA_GCSETLOCALPAUSE, LUA_GCISRUNNING}; + LUA_GCISRUNNING}; int o = optsnum[luaL_checkoption(L, 1, "collect", opts)]; int ex = luaL_optint(L, 2, 0); int res = lua_gc(L, o, ex); -- cgit v1.2.3-55-g6feb