aboutsummaryrefslogtreecommitdiff
path: root/ltable.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2003-03-18 09:50:04 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2003-03-18 09:50:04 -0300
commitab9e062928f7b9201fd5366a34a4fc855d13bc46 (patch)
tree37224175e0dd89badfccc6d745bdb5c850fd34c4 /ltable.h
parent81cdbabf095e23bf9fb5cef842967acb499b7bcc (diff)
downloadlua-ab9e062928f7b9201fd5366a34a4fc855d13bc46.tar.gz
lua-ab9e062928f7b9201fd5366a34a4fc855d13bc46.tar.bz2
lua-ab9e062928f7b9201fd5366a34a4fc855d13bc46.zip
name changes to avoid name collision between macros and variables
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 2f865453..3218b69b 100644
--- a/ltable.h
+++ b/ltable.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: ltable.h,v 1.42 2002/05/27 20:35:40 roberto Exp roberto $ 2** $Id: ltable.h,v 1.43 2002/11/07 16:03:33 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*/
@@ -10,9 +10,9 @@
10#include "lobject.h" 10#include "lobject.h"
11 11
12 12
13#define node(t,i) (&(t)->node[i]) 13#define gnode(t,i) (&(t)->node[i])
14#define key(n) (&(n)->i_key) 14#define gkey(n) (&(n)->i_key)
15#define val(n) (&(n)->i_val) 15#define gval(n) (&(n)->i_val)
16 16
17 17
18const TObject *luaH_getnum (Table *t, int key); 18const TObject *luaH_getnum (Table *t, int key);