This commit is contained in:
Roberto Ierusalimschy
2001-01-26 13:58:50 -02:00
parent ac390020e9
commit b82242d4c4
3 changed files with 11 additions and 8 deletions

View File

@@ -1,5 +1,5 @@
/*
** $Id: lobject.h,v 1.87 2001/01/19 13:20:30 roberto Exp roberto $
** $Id: lobject.h,v 1.88 2001/01/25 16:45:36 roberto Exp roberto $
** Type definitions for Lua objects
** See Copyright Notice in lua.h
*/
@@ -199,6 +199,11 @@ typedef struct Hash {
#define ismarked(x) ((x)->mark != (x))
/*
** "module" operation (size is always a power of 2) */
#define lmod(s,size) ((int)((s) & ((size)-1)))
/*
** informations about a call (for debugging)
*/