aboutsummaryrefslogtreecommitdiff
path: root/ltable.c
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.c
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.c')
-rw-r--r--ltable.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/ltable.c b/ltable.c
index 4e0eb59f..a894c3fa 100644
--- a/ltable.c
+++ b/ltable.c
@@ -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 */