aboutsummaryrefslogtreecommitdiff
path: root/lapi.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2004-11-24 16:55:56 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2004-11-24 16:55:56 -0200
commit2f82bf6fe940557fb5258c65c03e18f097ff831f (patch)
treea58f6ae8734e2f4a298b79dc6704a1e735334afc /lapi.c
parent087df82a61ddcf1f86e9cffe5550a1ce0174f6e2 (diff)
downloadlua-2f82bf6fe940557fb5258c65c03e18f097ff831f.tar.gz
lua-2f82bf6fe940557fb5258c65c03e18f097ff831f.tar.bz2
lua-2f82bf6fe940557fb5258c65c03e18f097ff831f.zip
better support for 64-bit machines
Diffstat (limited to 'lapi.c')
-rw-r--r--lapi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lapi.c b/lapi.c
index 26b2c3b5..5e57f61c 100644
--- a/lapi.c
+++ b/lapi.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lapi.c,v 2.18 2004/08/30 13:44:44 roberto Exp roberto $ 2** $Id: lapi.c,v 2.19 2004/09/15 20:39: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*/
@@ -842,7 +842,7 @@ LUA_API int lua_gc (lua_State *L, int what, int data) {
842 g = G(L); 842 g = G(L);
843 switch (what) { 843 switch (what) {
844 case LUA_GCSTOP: { 844 case LUA_GCSTOP: {
845 g->GCthreshold = MAXLMEM; 845 g->GCthreshold = MAX_LUMEM;
846 break; 846 break;
847 } 847 }
848 case LUA_GCRESTART: { 848 case LUA_GCRESTART: {