diff options
Diffstat (limited to 'ltable.c')
| -rw-r--r-- | ltable.c | 6 |
1 files changed, 3 insertions, 3 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: ltable.c,v 2.69 2012/01/25 21:05:40 roberto Exp roberto $ | 2 | ** $Id: ltable.c,v 2.70 2012/02/01 21:57:15 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 | */ |
| @@ -48,10 +48,10 @@ | |||
| 48 | #define MAXASIZE (1 << MAXBITS) | 48 | #define MAXASIZE (1 << MAXBITS) |
| 49 | 49 | ||
| 50 | 50 | ||
| 51 | #define hashpow2(t,n) (gnode(t, lmod((n), sizenode(t)))) | 51 | #define hashpow2(t,n) (gnode(t, lmod((n), sizenode(t)))) |
| 52 | 52 | ||
| 53 | #define hashstr(t,str) hashpow2(t, (str)->tsv.hash) | 53 | #define hashstr(t,str) hashpow2(t, (str)->tsv.hash) |
| 54 | #define hashboolean(t,p) hashpow2(t, p) | 54 | #define hashboolean(t,p) hashpow2(t, p) |
| 55 | 55 | ||
| 56 | 56 | ||
| 57 | /* | 57 | /* |
