aboutsummaryrefslogtreecommitdiff
path: root/hash.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>1997-05-14 15:38:29 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>1997-05-14 15:38:29 -0300
commitbd9e68cfcdbbae2fd49ab51a9df4a93ec56eff45 (patch)
treef11ad6c42c0bb42eaa1b45548684fbc60c27996b /hash.h
parent9747f3c87a205d9aa914a650686d6dc4accde1d9 (diff)
downloadlua-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.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/hash.h b/hash.h
index a91e1e15..4fbde55c 100644
--- a/hash.h
+++ b/hash.h
@@ -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);
29int luaI_redimension (int nhash); 29int luaI_redimension (int nhash);
30Hash *lua_createarray (int nhash); 30Hash *lua_createarray (int nhash);
31void lua_hashmark (Hash *h); 31void lua_hashmark (Hash *h);
32Long lua_hashcollector (void); 32Hash *luaI_hashcollector (long *count);
33void luaI_hashcallIM (void); 33void luaI_hashcallIM (Hash *l);
34void luaI_hashfree (Hash *frees);
34TObject *lua_hashget (Hash *t, TObject *ref); 35TObject *lua_hashget (Hash *t, TObject *ref);
35TObject *lua_hashdefine (Hash *t, TObject *ref); 36TObject *lua_hashdefine (Hash *t, TObject *ref);
36void lua_next (void); 37void lua_next (void);