diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2005-10-24 15:37:33 -0200 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2005-10-24 15:37:33 -0200 |
| commit | c2bd68d2c368d748e262af18fe4dedfd6c2dd8a2 (patch) | |
| tree | 6f51b8128e982e16c0d7027d8f6fb1d7fe23832b | |
| parent | 201288b4dfb6abb5a161e4358d878635f2ddb982 (diff) | |
| download | lua-c2bd68d2c368d748e262af18fe4dedfd6c2dd8a2.tar.gz lua-c2bd68d2c368d748e262af18fe4dedfd6c2dd8a2.tar.bz2 lua-c2bd68d2c368d748e262af18fe4dedfd6c2dd8a2.zip | |
detail
| -rw-r--r-- | lobject.h | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: lobject.h,v 2.16 2005/06/13 14:15:54 roberto Exp roberto $ | 2 | ** $Id: lobject.h,v 2.17 2005/06/13 14:19:00 roberto Exp roberto $ |
| 3 | ** Type definitions for Lua objects | 3 | ** Type definitions for Lua objects |
| 4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
| 5 | */ | 5 | */ |
| @@ -353,7 +353,7 @@ typedef struct Table { | |||
| 353 | ** `module' operation for hashing (size is always a power of 2) | 353 | ** `module' operation for hashing (size is always a power of 2) |
| 354 | */ | 354 | */ |
| 355 | #define lmod(s,size) \ | 355 | #define lmod(s,size) \ |
| 356 | check_exp((size&(size-1))==0, (cast(int, (s) & ((size)-1)))) | 356 | (check_exp((size&(size-1))==0, (cast(int, (s) & ((size)-1))))) |
| 357 | 357 | ||
| 358 | 358 | ||
| 359 | #define twoto(x) (1<<(x)) | 359 | #define twoto(x) (1<<(x)) |
