diff options
Diffstat (limited to 'hash.h')
-rw-r--r-- | hash.h | 6 |
1 files changed, 3 insertions, 3 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.1 1994/04/20 22:07:57 celes Exp celes $ | 5 | ** $Id: hash.h,v 2.2 1994/08/05 19:25:09 celes Exp celes $ |
6 | */ | 6 | */ |
7 | 7 | ||
8 | #ifndef hash_h | 8 | #ifndef hash_h |
@@ -12,14 +12,14 @@ typedef struct node | |||
12 | { | 12 | { |
13 | Object ref; | 13 | Object ref; |
14 | Object val; | 14 | Object val; |
15 | struct node *next; | ||
16 | } Node; | 15 | } Node; |
17 | 16 | ||
18 | typedef struct Hash | 17 | typedef struct Hash |
19 | { | 18 | { |
20 | char mark; | 19 | char mark; |
21 | unsigned int nhash; | 20 | unsigned int nhash; |
22 | Node **list; | 21 | unsigned int nuse; |
22 | Node *node; | ||
23 | } Hash; | 23 | } Hash; |
24 | 24 | ||
25 | 25 | ||