diff options
Diffstat (limited to 'lobject.h')
-rw-r--r-- | lobject.h | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lobject.h,v 1.87 2001/01/19 13:20:30 roberto Exp roberto $ | 2 | ** $Id: lobject.h,v 1.88 2001/01/25 16:45:36 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 | */ |
@@ -200,6 +200,11 @@ typedef struct Hash { | |||
200 | 200 | ||
201 | 201 | ||
202 | /* | 202 | /* |
203 | ** "module" operation (size is always a power of 2) */ | ||
204 | #define lmod(s,size) ((int)((s) & ((size)-1))) | ||
205 | |||
206 | |||
207 | /* | ||
203 | ** informations about a call (for debugging) | 208 | ** informations about a call (for debugging) |
204 | */ | 209 | */ |
205 | typedef struct CallInfo { | 210 | typedef struct CallInfo { |