summaryrefslogtreecommitdiff
path: root/ltable.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2001-11-29 18:21:46 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2001-11-29 18:21:46 -0200
commitfca0a12e23f964006ce43d35ab86b27c6bbb0a48 (patch)
tree7c57492d6ae7d2b2178906e1968295b3ec83eb9f /ltable.h
parent72659a06050632da1a9b4c492302be46ac283f6b (diff)
downloadlua-github-fca0a12e23f964006ce43d35ab86b27c6bbb0a48.tar.gz
avoid clashing names between macros and fields
Diffstat (limited to 'ltable.h')
-rw-r--r--ltable.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/ltable.h b/ltable.h
index aa41586e..4d0faf55 100644
--- a/ltable.h
+++ b/ltable.h
@@ -1,5 +1,5 @@
/*
-** $Id: ltable.h,v 1.36 2001/08/31 19:46:07 roberto Exp $
+** $Id: ltable.h,v 1.37 2001/10/25 19:14:14 roberto Exp $
** Lua tables (hash)
** See Copyright Notice in lua.h
*/
@@ -10,9 +10,9 @@
#include "lobject.h"
-#define node(_t,_i) (&(_t)->node[_i])
-#define key(_n) (&(_n)->key)
-#define val(_n) (&(_n)->val)
+#define node(t,i) (&(t)->node[i])
+#define key(n) (&(n)->_key)
+#define val(n) (&(n)->_val)
#define settableval(p,v) setobj(cast(TObject *, p), v)