From 2c89651fc6ed7b5b53a3dc3bef9d13c049eb1000 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Sat, 18 Oct 1997 14:29:15 -0200 Subject: macro "val" should live together with macro "ref". --- ltable.c | 3 +-- ltable.h | 3 ++- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ltable.c b/ltable.c index 4e0eb59f..a894c3fa 100644 --- a/ltable.c +++ b/ltable.c @@ -1,5 +1,5 @@ /* -** $Id: ltable.c,v 1.1 1997/09/16 19:25:59 roberto Exp roberto $ +** $Id: ltable.c,v 1.2 1997/09/26 16:46:20 roberto Exp roberto $ ** Lua tables (hash) ** See Copyright Notice in lua.h */ @@ -15,7 +15,6 @@ #define nuse(t) ((t)->nuse) #define nodevector(t) ((t)->node) -#define val(n) (&(n)->val) #define REHASH_LIMIT 0.70 /* avoid more than this % full */ diff --git a/ltable.h b/ltable.h index ff57591e..58d09720 100644 --- a/ltable.h +++ b/ltable.h @@ -1,5 +1,5 @@ /* -** $Id: ltable.h,v 1.1 1997/09/16 19:25:59 roberto Exp roberto $ +** $Id: ltable.h,v 1.2 1997/09/26 16:46:20 roberto Exp roberto $ ** Lua tables (hash) ** See Copyright Notice in lua.h */ @@ -15,6 +15,7 @@ extern GCnode luaH_root; #define node(t,i) (&(t)->node[i]) #define ref(n) (&(n)->ref) +#define val(n) (&(n)->val) #define nhash(t) ((t)->nhash) Hash *luaH_new (int nhash); -- cgit v1.2.3-55-g6feb