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