summaryrefslogtreecommitdiff
path: root/lgc.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>1997-10-23 14:26:37 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>1997-10-23 14:26:37 -0200
commit907368ead5978b689a97118b75e89a2095122530 (patch)
treeed428793e87ab4a3c8de49be5586878af54c8d34 /lgc.h
parent81489beea1a201b58dba964b6bbfd263f3683f25 (diff)
downloadlua-github-907368ead5978b689a97118b75e89a2095122530.tar.gz
GC now considers an "estimate" of object size, instead of just the number
of objects.
Diffstat (limited to 'lgc.h')
-rw-r--r--lgc.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lgc.h b/lgc.h
index fdf75d05..ea669aa2 100644
--- a/lgc.h
+++ b/lgc.h
@@ -1,5 +1,5 @@
/*
-** $Id: $
+** $Id: lgc.h,v 1.1 1997/09/16 19:25:59 roberto Exp roberto $
** Garbage Collector
** See Copyright Notice in lua.h
*/
@@ -11,7 +11,7 @@
#include "lobject.h"
-extern long luaC_threshold;
+extern unsigned long luaC_threshold;
void luaC_checkGC (void);
TObject* luaC_getref (int ref);