diff options
Diffstat (limited to 'hash.h')
-rw-r--r-- | hash.h | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -2,7 +2,7 @@ | |||
2 | ** hash.h | 2 | ** hash.h |
3 | ** hash manager for lua | 3 | ** hash manager for lua |
4 | ** Luiz Henrique de Figueiredo - 17 Aug 90 | 4 | ** Luiz Henrique de Figueiredo - 17 Aug 90 |
5 | ** $Id: hash.h,v 2.5 1994/11/14 18:41:15 roberto Exp roberto $ | 5 | ** $Id: hash.h,v 2.6 1994/11/17 13:58:57 roberto Stab roberto $ |
6 | */ | 6 | */ |
7 | 7 | ||
8 | #ifndef hash_h | 8 | #ifndef hash_h |
@@ -18,16 +18,16 @@ typedef struct Hash | |||
18 | { | 18 | { |
19 | struct Hash *next; | 19 | struct Hash *next; |
20 | char mark; | 20 | char mark; |
21 | unsigned int nhash; | 21 | Word nhash; |
22 | unsigned int nuse; | 22 | Word nuse; |
23 | Node *node; | 23 | Node *node; |
24 | } Hash; | 24 | } Hash; |
25 | 25 | ||
26 | 26 | ||
27 | int lua_equalObj (Object *t1, Object *t2); | 27 | Bool lua_equalObj (Object *t1, Object *t2); |
28 | Hash *lua_createarray (int nhash); | 28 | Hash *lua_createarray (Word nhash); |
29 | void lua_hashmark (Hash *h); | 29 | void lua_hashmark (Hash *h); |
30 | int lua_hashcollector (void); | 30 | Word lua_hashcollector (void); |
31 | Object *lua_hashget (Hash *t, Object *ref); | 31 | Object *lua_hashget (Hash *t, Object *ref); |
32 | Object *lua_hashdefine (Hash *t, Object *ref); | 32 | Object *lua_hashdefine (Hash *t, Object *ref); |
33 | void lua_next (void); | 33 | void lua_next (void); |