aboutsummaryrefslogtreecommitdiff
path: root/lapi.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2004-12-13 10:15:11 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2004-12-13 10:15:11 -0200
commitc6254dceffca200e4111f28af4230b6c892ec0d6 (patch)
treec9a122ae3c1d28cad4d9f8ed5578a8be18d0a27d /lapi.c
parenta56d889f7225a3cfdfa6dfeb55db2b4ae22f1572 (diff)
downloadlua-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.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/lapi.c b/lapi.c
index 9447f929..15133a8a 100644
--- a/lapi.c
+++ b/lapi.c
@@ -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: {