diff options
Diffstat (limited to 'hash.h')
-rw-r--r-- | hash.h | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -2,12 +2,14 @@ | |||
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.6 1994/11/17 13:58:57 roberto Stab roberto $ | 5 | ** $Id: hash.h,v 2.7 1994/12/20 21:20:36 roberto Exp roberto $ |
6 | */ | 6 | */ |
7 | 7 | ||
8 | #ifndef hash_h | 8 | #ifndef hash_h |
9 | #define hash_h | 9 | #define hash_h |
10 | 10 | ||
11 | #include "types.h" | ||
12 | |||
11 | typedef struct node | 13 | typedef struct node |
12 | { | 14 | { |
13 | Object ref; | 15 | Object ref; |
@@ -27,7 +29,7 @@ typedef struct Hash | |||
27 | Bool lua_equalObj (Object *t1, Object *t2); | 29 | Bool lua_equalObj (Object *t1, Object *t2); |
28 | Hash *lua_createarray (Word nhash); | 30 | Hash *lua_createarray (Word nhash); |
29 | void lua_hashmark (Hash *h); | 31 | void lua_hashmark (Hash *h); |
30 | Word lua_hashcollector (void); | 32 | Long lua_hashcollector (void); |
31 | Object *lua_hashget (Hash *t, Object *ref); | 33 | Object *lua_hashget (Hash *t, Object *ref); |
32 | Object *lua_hashdefine (Hash *t, Object *ref); | 34 | Object *lua_hashdefine (Hash *t, Object *ref); |
33 | void lua_next (void); | 35 | void lua_next (void); |