diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2004-12-13 10:15:11 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2004-12-13 10:15:11 -0200 |
commit | c6254dceffca200e4111f28af4230b6c892ec0d6 (patch) | |
tree | c9a122ae3c1d28cad4d9f8ed5578a8be18d0a27d /lapi.c | |
parent | a56d889f7225a3cfdfa6dfeb55db2b4ae22f1572 (diff) | |
download | lua-c6254dceffca200e4111f28af4230b6c892ec0d6.tar.gz lua-c6254dceffca200e4111f28af4230b6c892ec0d6.tar.bz2 lua-c6254dceffca200e4111f28af4230b6c892ec0d6.zip |
a different option for the GC
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.21 2004/12/03 20:50:25 roberto Exp roberto $ | 2 | ** $Id: lapi.c,v 2.22 2004/12/06 17:53:42 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 | */ |
@@ -867,9 +867,9 @@ LUA_API int lua_gc (lua_State *L, int what, int data) { | |||
867 | luaC_step(L); | 867 | luaC_step(L); |
868 | break; | 868 | break; |
869 | } | 869 | } |
870 | case LUA_GCSETSTEPMUL: { | 870 | case LUA_GCSETPACE: { |
871 | res = g->stepmul; | 871 | res = g->gcpace; |
872 | g->stepmul = data; | 872 | g->gcpace = data; |
873 | break; | 873 | break; |
874 | } | 874 | } |
875 | case LUA_GCSETINCMODE: { | 875 | case LUA_GCSETINCMODE: { |