diff options
-rw-r--r-- | ltable.c | 3 | ||||
-rw-r--r-- | ltable.h | 3 |
2 files changed, 3 insertions, 3 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: ltable.c,v 1.1 1997/09/16 19:25:59 roberto Exp roberto $ | 2 | ** $Id: ltable.c,v 1.2 1997/09/26 16:46:20 roberto Exp roberto $ |
3 | ** Lua tables (hash) | 3 | ** Lua tables (hash) |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -15,7 +15,6 @@ | |||
15 | 15 | ||
16 | #define nuse(t) ((t)->nuse) | 16 | #define nuse(t) ((t)->nuse) |
17 | #define nodevector(t) ((t)->node) | 17 | #define nodevector(t) ((t)->node) |
18 | #define val(n) (&(n)->val) | ||
19 | 18 | ||
20 | 19 | ||
21 | #define REHASH_LIMIT 0.70 /* avoid more than this % full */ | 20 | #define REHASH_LIMIT 0.70 /* avoid more than this % full */ |
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: ltable.h,v 1.1 1997/09/16 19:25:59 roberto Exp roberto $ | 2 | ** $Id: ltable.h,v 1.2 1997/09/26 16:46:20 roberto Exp roberto $ |
3 | ** Lua tables (hash) | 3 | ** Lua tables (hash) |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -15,6 +15,7 @@ extern GCnode luaH_root; | |||
15 | 15 | ||
16 | #define node(t,i) (&(t)->node[i]) | 16 | #define node(t,i) (&(t)->node[i]) |
17 | #define ref(n) (&(n)->ref) | 17 | #define ref(n) (&(n)->ref) |
18 | #define val(n) (&(n)->val) | ||
18 | #define nhash(t) ((t)->nhash) | 19 | #define nhash(t) ((t)->nhash) |
19 | 20 | ||
20 | Hash *luaH_new (int nhash); | 21 | Hash *luaH_new (int nhash); |