diff options
Diffstat (limited to 'hash.h')
-rw-r--r-- | hash.h | 12 |
1 files changed, 6 insertions, 6 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.10 1996/02/12 18:32:40 roberto Exp roberto $ | 4 | ** $Id: hash.h,v 2.11 1996/03/08 12:04:04 roberto Exp roberto $ |
5 | */ | 5 | */ |
6 | 6 | ||
7 | #ifndef hash_h | 7 | #ifndef hash_h |
@@ -19,16 +19,16 @@ typedef struct node | |||
19 | typedef struct Hash | 19 | typedef struct Hash |
20 | { | 20 | { |
21 | struct Hash *next; | 21 | struct Hash *next; |
22 | char mark; | ||
23 | Word nhash; | ||
24 | Word nuse; | ||
25 | Node *node; | 22 | Node *node; |
23 | int nhash; | ||
24 | int nuse; | ||
25 | char mark; | ||
26 | } Hash; | 26 | } Hash; |
27 | 27 | ||
28 | 28 | ||
29 | int lua_equalObj (Object *t1, Object *t2); | 29 | int lua_equalObj (Object *t1, Object *t2); |
30 | Word luaI_redimension (Word nhash); | 30 | int luaI_redimension (int nhash); |
31 | Hash *lua_createarray (Word nhash); | 31 | Hash *lua_createarray (int nhash); |
32 | void lua_hashmark (Hash *h); | 32 | void lua_hashmark (Hash *h); |
33 | Long lua_hashcollector (void); | 33 | Long lua_hashcollector (void); |
34 | Object *lua_hashget (Hash *t, Object *ref); | 34 | Object *lua_hashget (Hash *t, Object *ref); |