diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2011-11-23 15:29:04 -0200 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2011-11-23 15:29:04 -0200 |
| commit | fded7bef19dae0636f98558d36a9797e611c34ef (patch) | |
| tree | e93ef56a6c3a810e0de65a66be116d0ade030bcc | |
| parent | b5d7255034c3a1fa2f12b7285052c39014c497aa (diff) | |
| download | lua-fded7bef19dae0636f98558d36a9797e611c34ef.tar.gz lua-fded7bef19dae0636f98558d36a9797e611c34ef.tar.bz2 lua-fded7bef19dae0636f98558d36a9797e611c34ef.zip | |
options for 'collectgarbage' renamed: "inc" -> "incremental";
"gen" -> "generational"
| -rw-r--r-- | lbaselib.c | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: lbaselib.c,v 1.268 2011/11/09 19:38:00 roberto Exp roberto $ | 2 | ** $Id: lbaselib.c,v 1.269 2011/11/14 17:10:24 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 | */ |
| @@ -160,7 +160,7 @@ static int luaB_rawset (lua_State *L) { | |||
| 160 | static int luaB_collectgarbage (lua_State *L) { | 160 | static int luaB_collectgarbage (lua_State *L) { |
| 161 | static const char *const opts[] = {"stop", "restart", "collect", | 161 | static const char *const opts[] = {"stop", "restart", "collect", |
| 162 | "count", "step", "setpause", "setstepmul", | 162 | "count", "step", "setpause", "setstepmul", |
| 163 | "setmajorinc", "isrunning", "gen", "inc", NULL}; | 163 | "setmajorinc", "isrunning", "generational", "incremental", NULL}; |
| 164 | static const int optsnum[] = {LUA_GCSTOP, LUA_GCRESTART, LUA_GCCOLLECT, | 164 | static const int optsnum[] = {LUA_GCSTOP, LUA_GCRESTART, LUA_GCCOLLECT, |
| 165 | LUA_GCCOUNT, LUA_GCSTEP, LUA_GCSETPAUSE, LUA_GCSETSTEPMUL, | 165 | LUA_GCCOUNT, LUA_GCSTEP, LUA_GCSETPAUSE, LUA_GCSETSTEPMUL, |
| 166 | LUA_GCSETMAJORINC, LUA_GCISRUNNING, LUA_GCGEN, LUA_GCINC}; | 166 | LUA_GCSETMAJORINC, LUA_GCISRUNNING, LUA_GCGEN, LUA_GCINC}; |
