From fded7bef19dae0636f98558d36a9797e611c34ef Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Wed, 23 Nov 2011 15:29:04 -0200 Subject: options for 'collectgarbage' renamed: "inc" -> "incremental"; "gen" -> "generational" --- lbaselib.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lbaselib.c') diff --git a/lbaselib.c b/lbaselib.c index c8b9bd01..b6d212c3 100644 --- a/lbaselib.c +++ b/lbaselib.c @@ -1,5 +1,5 @@ /* -** $Id: lbaselib.c,v 1.268 2011/11/09 19:38:00 roberto Exp roberto $ +** $Id: lbaselib.c,v 1.269 2011/11/14 17:10:24 roberto Exp roberto $ ** Basic library ** See Copyright Notice in lua.h */ @@ -160,7 +160,7 @@ 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", - "setmajorinc", "isrunning", "gen", "inc", NULL}; + "setmajorinc", "isrunning", "generational", "incremental", NULL}; static const int optsnum[] = {LUA_GCSTOP, LUA_GCRESTART, LUA_GCCOLLECT, LUA_GCCOUNT, LUA_GCSTEP, LUA_GCSETPAUSE, LUA_GCSETSTEPMUL, LUA_GCSETMAJORINC, LUA_GCISRUNNING, LUA_GCGEN, LUA_GCINC}; -- cgit v1.2.3-55-g6feb