diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1997-10-18 14:29:15 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1997-10-18 14:29:15 -0200 |
commit | 2c89651fc6ed7b5b53a3dc3bef9d13c049eb1000 (patch) | |
tree | a5c1d359832933c4d6b30f35088c0fdae46e9c3f /ltable.h | |
parent | 3a89c973ff139c7048ee9d85e347f4b054f62b89 (diff) | |
download | lua-2c89651fc6ed7b5b53a3dc3bef9d13c049eb1000.tar.gz lua-2c89651fc6ed7b5b53a3dc3bef9d13c049eb1000.tar.bz2 lua-2c89651fc6ed7b5b53a3dc3bef9d13c049eb1000.zip |
macro "val" should live together with macro "ref".
Diffstat (limited to 'ltable.h')
-rw-r--r-- | ltable.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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); |