summaryrefslogtreecommitdiff
path: root/ltable.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>1997-10-18 14:29:15 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>1997-10-18 14:29:15 -0200
commit2c89651fc6ed7b5b53a3dc3bef9d13c049eb1000 (patch)
treea5c1d359832933c4d6b30f35088c0fdae46e9c3f /ltable.h
parent3a89c973ff139c7048ee9d85e347f4b054f62b89 (diff)
downloadlua-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.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/ltable.h b/ltable.h
index ff57591e..58d09720 100644
--- a/ltable.h
+++ b/ltable.h
@@ -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
20Hash *luaH_new (int nhash); 21Hash *luaH_new (int nhash);