From 390256edf77638f747bc11b1b0862e6154ecfbcb Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Tue, 22 Mar 2005 13:04:29 -0300 Subject: better name for GC pause --- lbaselib.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lbaselib.c') diff --git a/lbaselib.c b/lbaselib.c index 20dcefe2..ea50cd9c 100644 --- a/lbaselib.c +++ b/lbaselib.c @@ -1,5 +1,5 @@ /* -** $Id: lbaselib.c,v 1.170 2005/03/11 15:51:08 roberto Exp roberto $ +** $Id: lbaselib.c,v 1.171 2005/03/16 16:58:41 roberto Exp roberto $ ** Basic library ** See Copyright Notice in lua.h */ @@ -187,9 +187,9 @@ static int luaB_gcinfo (lua_State *L) { static int luaB_collectgarbage (lua_State *L) { static const char *const opts[] = {"stop", "restart", "collect", - "count", "step", "setpace", "setstepmul", NULL}; + "count", "step", "setpause", "setstepmul", NULL}; static const int optsnum[] = {LUA_GCSTOP, LUA_GCRESTART, LUA_GCCOLLECT, - LUA_GCCOUNT, LUA_GCSTEP, LUA_GCSETPACE, LUA_GCSETSTEPMUL}; + LUA_GCCOUNT, LUA_GCSTEP, LUA_GCSETPAUSE, LUA_GCSETSTEPMUL}; int o = luaL_findstring(luaL_optstring(L, 1, "collect"), opts); int ex = luaL_optinteger(L, 2, 0); luaL_argcheck(L, o >= 0, 1, "invalid option"); -- cgit v1.2.3-55-g6feb