diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1997-10-23 14:26:37 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1997-10-23 14:26:37 -0200 |
commit | 907368ead5978b689a97118b75e89a2095122530 (patch) | |
tree | ed428793e87ab4a3c8de49be5586878af54c8d34 /lgc.h | |
parent | 81489beea1a201b58dba964b6bbfd263f3683f25 (diff) | |
download | lua-907368ead5978b689a97118b75e89a2095122530.tar.gz lua-907368ead5978b689a97118b75e89a2095122530.tar.bz2 lua-907368ead5978b689a97118b75e89a2095122530.zip |
GC now considers an "estimate" of object size, instead of just the number
of objects.
Diffstat (limited to 'lgc.h')
-rw-r--r-- | lgc.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: $ | 2 | ** $Id: lgc.h,v 1.1 1997/09/16 19:25:59 roberto Exp roberto $ |
3 | ** Garbage Collector | 3 | ** Garbage Collector |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -11,7 +11,7 @@ | |||
11 | #include "lobject.h" | 11 | #include "lobject.h" |
12 | 12 | ||
13 | 13 | ||
14 | extern long luaC_threshold; | 14 | extern unsigned long luaC_threshold; |
15 | 15 | ||
16 | void luaC_checkGC (void); | 16 | void luaC_checkGC (void); |
17 | TObject* luaC_getref (int ref); | 17 | TObject* luaC_getref (int ref); |