aboutsummaryrefslogtreecommitdiff
path: root/hash.h
diff options
context:
space:
mode:
Diffstat (limited to 'hash.h')
-rw-r--r--hash.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/hash.h b/hash.h
index 0a66a492..cea34df1 100644
--- a/hash.h
+++ b/hash.h
@@ -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: $ 5** $Id: hash.h,v 1.1 1993/12/17 18:41:19 celes Exp celes $
6*/ 6*/
7 7
8#ifndef hash_h 8#ifndef hash_h
@@ -22,13 +22,11 @@ typedef struct Hash
22 Node **list; 22 Node **list;
23} Hash; 23} Hash;
24 24
25#define markarray(t) ((t)->mark)
26 25
27Hash *lua_hashcreate (unsigned int nhash); 26Hash *lua_createarray (int nhash);
28void lua_hashdelete (Hash *h); 27void lua_hashmark (Hash *h);
28void lua_hashcollector (void);
29Object *lua_hashdefine (Hash *t, Object *ref); 29Object *lua_hashdefine (Hash *t, Object *ref);
30void lua_hashmark (Hash *h);
31
32void lua_next (void); 30void lua_next (void);
33 31
34#endif 32#endif