diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2001-01-26 13:58:50 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2001-01-26 13:58:50 -0200 |
commit | b82242d4c493191d543fe5784b4d884e0cba9809 (patch) | |
tree | 0f006771a6b86fd5501f21085dc60a643ca1ea08 /lobject.h | |
parent | ac390020e91e14f00200ad3df97682b715d3e59b (diff) | |
download | lua-b82242d4c493191d543fe5784b4d884e0cba9809.tar.gz lua-b82242d4c493191d543fe5784b4d884e0cba9809.tar.bz2 lua-b82242d4c493191d543fe5784b4d884e0cba9809.zip |
detail
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 { |