diff options
Diffstat (limited to '')
| -rw-r--r-- | ltable.c | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: ltable.c,v 1.78 2001/03/26 14:31:49 roberto Exp roberto $ | 2 | ** $Id: ltable.c,v 1.79 2001/04/11 14:42:41 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 | */ |
| @@ -33,7 +33,7 @@ | |||
| 33 | 33 | ||
| 34 | 34 | ||
| 35 | #define hashnum(t,n) (&t->node[lmod((lu_hash)(ls_hash)(n), t->size)]) | 35 | #define hashnum(t,n) (&t->node[lmod((lu_hash)(ls_hash)(n), t->size)]) |
| 36 | #define hashstr(t,str) (&t->node[lmod((str)->u.s.hash, t->size)]) | 36 | #define hashstr(t,str) (&t->node[lmod((str)->hash, t->size)]) |
| 37 | #define hashpointer(t,p) (&t->node[lmod(IntPoint(p), t->size)]) | 37 | #define hashpointer(t,p) (&t->node[lmod(IntPoint(p), t->size)]) |
| 38 | 38 | ||
| 39 | 39 | ||
