diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2005-01-14 12:19:42 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2005-01-14 12:19:42 -0200 |
commit | 5be517602e5334573297fe8d421a92eb0184ce86 (patch) | |
tree | a3253a42f85b2aff30ed46e840e8e547f6746a94 /lapi.c | |
parent | d2bda8046c1061c353f9e787e987772b9f96099b (diff) | |
download | lua-5be517602e5334573297fe8d421a92eb0184ce86.tar.gz lua-5be517602e5334573297fe8d421a92eb0184ce86.tar.bz2 lua-5be517602e5334573297fe8d421a92eb0184ce86.zip |
no more generational collector (and no more `noinc' mode)
Diffstat (limited to 'lapi.c')
-rw-r--r-- | lapi.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lapi.c,v 2.24 2005/01/04 15:55:12 roberto Exp roberto $ | 2 | ** $Id: lapi.c,v 2.25 2005/01/07 19:53:32 roberto Exp roberto $ |
3 | ** Lua API | 3 | ** Lua API |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -872,9 +872,9 @@ LUA_API int lua_gc (lua_State *L, int what, int data) { | |||
872 | g->gcpace = data; | 872 | g->gcpace = data; |
873 | break; | 873 | break; |
874 | } | 874 | } |
875 | case LUA_GCSETINCMODE: { | 875 | case LUA_GCSETSTEPMUL: { |
876 | res = g->incgc; | 876 | res = g->gcstepmul; |
877 | g->incgc = data; | 877 | g->gcstepmul = data; |
878 | break; | 878 | break; |
879 | } | 879 | } |
880 | default: res = -1; /* invalid option */ | 880 | default: res = -1; /* invalid option */ |