aboutsummaryrefslogtreecommitdiff
path: root/hash.h
diff options
context:
space:
mode:
Diffstat (limited to 'hash.h')
-rw-r--r--hash.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/hash.h b/hash.h
index e2bd2233..d0e26f90 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.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
19typedef struct Hash 19typedef 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
29int lua_equalObj (Object *t1, Object *t2); 29int lua_equalObj (Object *t1, Object *t2);
30Word luaI_redimension (Word nhash); 30int luaI_redimension (int nhash);
31Hash *lua_createarray (Word nhash); 31Hash *lua_createarray (int nhash);
32void lua_hashmark (Hash *h); 32void lua_hashmark (Hash *h);
33Long lua_hashcollector (void); 33Long lua_hashcollector (void);
34Object *lua_hashget (Hash *t, Object *ref); 34Object *lua_hashget (Hash *t, Object *ref);