aboutsummaryrefslogtreecommitdiff
path: root/hash.h
diff options
context:
space:
mode:
Diffstat (limited to 'hash.h')
-rw-r--r--hash.h39
1 files changed, 0 insertions, 39 deletions
diff --git a/hash.h b/hash.h
deleted file mode 100644
index 4fbde55c..00000000
--- a/hash.h
+++ /dev/null
@@ -1,39 +0,0 @@
1/*
2** hash.h
3** hash manager for lua
4** $Id: hash.h,v 2.15 1997/03/31 14:02:58 roberto Exp roberto $
5*/
6
7#ifndef hash_h
8#define hash_h
9
10#include "types.h"
11#include "opcode.h"
12
13typedef struct node {
14 TObject ref;
15 TObject val;
16} Node;
17
18typedef struct Hash {
19 struct Hash *next;
20 Node *node;
21 int nhash;
22 int nuse;
23 int htag;
24 char mark;
25} Hash;
26
27
28int lua_equalObj (TObject *t1, TObject *t2);
29int luaI_redimension (int nhash);
30Hash *lua_createarray (int nhash);
31void lua_hashmark (Hash *h);
32Hash *luaI_hashcollector (long *count);
33void luaI_hashcallIM (Hash *l);
34void luaI_hashfree (Hash *frees);
35TObject *lua_hashget (Hash *t, TObject *ref);
36TObject *lua_hashdefine (Hash *t, TObject *ref);
37void lua_next (void);
38
39#endif