aboutsummaryrefslogtreecommitdiff
path: root/hash.h
diff options
context:
space:
mode:
Diffstat (limited to 'hash.h')
-rw-r--r--hash.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/hash.h b/hash.h
index f51edd00..e594a9cd 100644
--- a/hash.h
+++ b/hash.h
@@ -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
11typedef struct node 13typedef struct node
12{ 14{
13 Object ref; 15 Object ref;
@@ -27,7 +29,7 @@ typedef struct Hash
27Bool lua_equalObj (Object *t1, Object *t2); 29Bool lua_equalObj (Object *t1, Object *t2);
28Hash *lua_createarray (Word nhash); 30Hash *lua_createarray (Word nhash);
29void lua_hashmark (Hash *h); 31void lua_hashmark (Hash *h);
30Word lua_hashcollector (void); 32Long lua_hashcollector (void);
31Object *lua_hashget (Hash *t, Object *ref); 33Object *lua_hashget (Hash *t, Object *ref);
32Object *lua_hashdefine (Hash *t, Object *ref); 34Object *lua_hashdefine (Hash *t, Object *ref);
33void lua_next (void); 35void lua_next (void);