aboutsummaryrefslogtreecommitdiff
path: root/lbaselib.c
diff options
context:
space:
mode:
Diffstat (limited to 'lbaselib.c')
-rw-r--r--lbaselib.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lbaselib.c b/lbaselib.c
index f9b565e3..8278ddb0 100644
--- a/lbaselib.c
+++ b/lbaselib.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lbaselib.c,v 1.161 2004/12/06 17:53:42 roberto Exp roberto $ 2** $Id: lbaselib.c,v 1.162 2004/12/07 18:31:34 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*/
@@ -182,9 +182,9 @@ static int luaB_gcinfo (lua_State *L) {
182 182
183static int luaB_collectgarbage (lua_State *L) { 183static int luaB_collectgarbage (lua_State *L) {
184 static const char *const opts[] = {"stop", "restart", "collect", 184 static const char *const opts[] = {"stop", "restart", "collect",
185 "count", "step", "setstepmul", "setincmode", NULL}; 185 "count", "step", "setpace", "setincmode", NULL};
186 static const int optsnum[] = {LUA_GCSTOP, LUA_GCRESTART, LUA_GCCOLLECT, 186 static const int optsnum[] = {LUA_GCSTOP, LUA_GCRESTART, LUA_GCCOLLECT,
187 LUA_GCCOUNT, LUA_GCSTEP, LUA_GCSETSTEPMUL, LUA_GCSETINCMODE}; 187 LUA_GCCOUNT, LUA_GCSTEP, LUA_GCSETPACE, LUA_GCSETINCMODE};
188 int o = luaL_findstring(luaL_optstring(L, 1, "collect"), opts); 188 int o = luaL_findstring(luaL_optstring(L, 1, "collect"), opts);
189 int ex = luaL_optint(L, 2, 0); 189 int ex = luaL_optint(L, 2, 0);
190 luaL_argcheck(L, o >= 0, 1, "invalid option"); 190 luaL_argcheck(L, o >= 0, 1, "invalid option");