diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1997-05-14 15:38:29 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1997-05-14 15:38:29 -0300 |
commit | bd9e68cfcdbbae2fd49ab51a9df4a93ec56eff45 (patch) | |
tree | f11ad6c42c0bb42eaa1b45548684fbc60c27996b /hash.h | |
parent | 9747f3c87a205d9aa914a650686d6dc4accde1d9 (diff) | |
download | lua-bd9e68cfcdbbae2fd49ab51a9df4a93ec56eff45.tar.gz lua-bd9e68cfcdbbae2fd49ab51a9df4a93ec56eff45.tar.bz2 lua-bd9e68cfcdbbae2fd49ab51a9df4a93ec56eff45.zip |
new implementation of gc: "Pre-collect" garbage in temporary lists and
then call fallbacks.
Diffstat (limited to 'hash.h')
-rw-r--r-- | hash.h | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -1,7 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | ** hash.h | 2 | ** hash.h |
3 | ** hash manager for lua | 3 | ** hash manager for lua |
4 | ** $Id: hash.h,v 2.14 1997/03/19 19:41:10 roberto Exp roberto $ | 4 | ** $Id: hash.h,v 2.15 1997/03/31 14:02:58 roberto Exp roberto $ |
5 | */ | 5 | */ |
6 | 6 | ||
7 | #ifndef hash_h | 7 | #ifndef hash_h |
@@ -29,8 +29,9 @@ int lua_equalObj (TObject *t1, TObject *t2); | |||
29 | int luaI_redimension (int nhash); | 29 | int luaI_redimension (int nhash); |
30 | Hash *lua_createarray (int nhash); | 30 | Hash *lua_createarray (int nhash); |
31 | void lua_hashmark (Hash *h); | 31 | void lua_hashmark (Hash *h); |
32 | Long lua_hashcollector (void); | 32 | Hash *luaI_hashcollector (long *count); |
33 | void luaI_hashcallIM (void); | 33 | void luaI_hashcallIM (Hash *l); |
34 | void luaI_hashfree (Hash *frees); | ||
34 | TObject *lua_hashget (Hash *t, TObject *ref); | 35 | TObject *lua_hashget (Hash *t, TObject *ref); |
35 | TObject *lua_hashdefine (Hash *t, TObject *ref); | 36 | TObject *lua_hashdefine (Hash *t, TObject *ref); |
36 | void lua_next (void); | 37 | void lua_next (void); |