commit 24471525d7eccd14af19a54e84a3cf7a504a90de
parent 1f55dbc69933d3641a20ada064d2b3d39e58fdaf
Author: Roberto Ierusalimschy <roberto@inf.puc-rio.br>
Date: Mon, 2 Dec 2002 10:05:48 -0200
details
Diffstat:
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/ltable.c b/ltable.c
@@ -1,5 +1,5 @@
/*
-** $Id: ltable.c,v 1.123 2002/11/14 16:15:53 roberto Exp roberto $
+** $Id: ltable.c,v 1.124 2002/11/25 12:38:47 roberto Exp roberto $
** Lua tables (hash)
** See Copyright Notice in lua.h
*/
@@ -55,15 +55,15 @@
#define hashnum(t,n) \
- (node(t, lmod(cast(lu_hash, cast(ls_hash, n)), sizenode(t))))
-#define hashstr(t,str) (node(t, lmod((str)->tsv.hash, sizenode(t))))
-#define hashboolean(t,p) (node(t, lmod(p, sizenode(t))))
+ (node(t, lmod(cast(lu_hash, cast(ls_hash, n)), sizenode(t))))
+#define hashstr(t,str) (node(t, lmod((str)->tsv.hash, sizenode(t))))
+#define hashboolean(t,p) (node(t, lmod(p, sizenode(t))))
/*
** avoid modulus by power of 2 for pointers, as they tend to have many
** 2 factors.
*/
-#define hashpointer(t,p) (node(t, (IntPoint(p) % ((sizenode(t)-1)|1))))
+#define hashpointer(t,p) (node(t, (IntPoint(p) % ((sizenode(t)-1)|1))))
/*