|
#define | api_check(l, e, msg) luai_apicheck(l,(e) && msg) |
|
#define | cast(t, exp) ((t)(exp)) |
|
#define | cast_byte(i) cast(lu_byte, (i)) |
|
#define | cast_char(i) cast(char, (i)) |
|
#define | cast_charp(i) cast(char *, (i)) |
|
#define | cast_int(i) cast(int, (i)) |
|
#define | cast_num(i) cast(lua_Number, (i)) |
|
#define | cast_sizet(i) cast(size_t, (i)) |
|
#define | cast_uchar(i) cast(unsigned char, (i)) |
|
#define | cast_uint(i) cast(unsigned int, (i)) |
|
#define | cast_void(i) cast(void, (i)) |
|
#define | cast_voidp(i) cast(void *, (i)) |
|
#define | check_exp(c, e) (e) |
|
#define | condchangemem(L, pre, pos) ((void)0) |
|
#define | condmovestack(L, pre, pos) ((void)0) |
|
#define | ispow2(x) (((x) & ((x) - 1)) == 0) |
|
#define | l_castS2U(i) ((lua_Unsigned)(i)) |
|
#define | l_castU2S(i) ((lua_Integer)(i)) |
|
#define | l_noret void |
|
#define | LL(x) (sizeof(x)/sizeof(char) - 1) |
|
#define | log2maxs(t) (sizeof(t) * 8 - 2) |
|
#define | lua_assert(c) ((void)0) |
|
#define | lua_lock(L) ((void) 0) |
|
#define | lua_longassert(c) ((void)0) |
|
#define | LUA_MINBUFFER 32 |
|
#define | lua_unlock(L) ((void) 0) |
|
#define | luai_apicheck(l, e) ((void)l, lua_assert(e)) |
|
#define | LUAI_MAXCCALLS 200 |
|
#define | LUAI_MAXSHORTLEN 40 |
|
#define | luai_numadd(L, a, b) ((a)+(b)) |
|
#define | luai_numdiv(L, a, b) ((a)/(b)) |
|
#define | luai_numeq(a, b) ((a)==(b)) |
|
#define | luai_numge(a, b) ((a)>=(b)) |
|
#define | luai_numgt(a, b) ((a)>(b)) |
|
#define | luai_numidiv(L, a, b) ((void)L, l_floor(luai_numdiv(L,a,b))) |
|
#define | luai_numisnan(a) (!luai_numeq((a), (a))) |
|
#define | luai_numle(a, b) ((a)<=(b)) |
|
#define | luai_numlt(a, b) ((a)<(b)) |
|
#define | luai_nummod(L, a, b, m) |
|
#define | luai_nummul(L, a, b) ((a)*(b)) |
|
#define | luai_numpow(L, a, b) ((void)L, (b == 2) ? (a)*(a) : l_mathop(pow)(a,b)) |
|
#define | luai_numsub(L, a, b) ((a)-(b)) |
|
#define | luai_numunm(L, a) (-(a)) |
|
#define | luai_threadyield(L) {lua_unlock(L); lua_lock(L);} |
|
#define | luai_userstateclose(L) ((void)L) |
|
#define | luai_userstatefree(L, L1) ((void)L) |
|
#define | luai_userstateopen(L) ((void)L) |
|
#define | luai_userstateresume(L, n) ((void)L) |
|
#define | luai_userstatethread(L, L1) ((void)L) |
|
#define | luai_userstateyield(L, n) ((void)L) |
|
#define | MAX_INT INT_MAX /* maximum value of an int */ |
|
#define | MAX_LMEM ((l_mem)(MAX_LUMEM >> 1)) |
|
#define | MAX_LUMEM ((lu_mem)(~(lu_mem)0)) |
|
#define | MAX_SIZE |
|
#define | MAX_SIZET ((size_t)(~(size_t)0)) |
|
#define | MINSTRTABSIZE 128 |
|
#define | point2uint(p) ((unsigned int)((size_t)(p) & UINT_MAX)) |
|
#define | STRCACHE_M 2 |
|
#define | STRCACHE_N 53 |
|
#define | UNUSED(x) ((void)(x)) |
|