Go to the source code of this file.
Classes | |
union | luai_Cast |
Macros | |
#define | MAX_SIZET ((size_t)(~(size_t)0)-2) |
#define | MAX_LUMEM ((lu_mem)(~(lu_mem)0)-2) |
#define | MAX_LMEM ((l_mem) ((MAX_LUMEM >> 1) - 2)) |
#define | MAX_INT (INT_MAX-2) /* maximum value of an int (-2 for safety) */ |
#define | IntPoint(p) ((unsigned int)(lu_mem)(p)) |
#define | LUAI_USER_ALIGNMENT_T union { double u; void *s; long l; } |
#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)) /* to avoid warnings */ |
#define | cast(t, exp) ((t)(exp)) |
#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_noret void |
#define | LUAI_MAXCCALLS 200 |
#define | MAXUPVAL UCHAR_MAX |
#define | MAXSTACK 250 |
#define | MINSTRTABSIZE 32 |
#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_EXTRAIEEE static const union luai_Cast ieeeendian = {-(33.0 + 6755399441055744.0)}; |
#define | LUA_IEEEENDIANLOC (ieeeendian.l_p[1] == 33) |
#define | lua_number2int32(i, n, t) |
#define | luai_hashnum(i, n) |
#define | lua_number2int(i, n) lua_number2int32(i, n, int) |
#define | lua_number2unsigned(i, n) lua_number2int32(i, n, lua_Unsigned) |
#define | lua_number2integer(i, n) lua_number2int32(i, n, lua_Integer) |
#define | lua_unsigned2number(u) (((u) <= (lua_Unsigned)INT_MAX) ? (lua_Number)(int)(u) : (lua_Number)(u)) |
#define | condmovestack(L) ((void)0) |
#define | condchangemem(L) condmovestack(L) |
Typedefs | |
typedef unsigned LUA_INT32 | lu_int32 |
typedef LUAI_UMEM | lu_mem |
typedef LUAI_MEM | l_mem |
typedef unsigned char | lu_byte |
typedef LUAI_USER_ALIGNMENT_T | L_Umaxalign |
typedef LUAI_UACNUMBER | l_uacNumber |
typedef lu_int32 | Instruction |
#define api_check | ( | l, | |
e, | |||
msg | |||
) | luai_apicheck(l,(e) && msg) |
Definition at line 84 of file llimits.h.
Referenced by getupvalref(), index2addr(), lua_callk(), lua_compare(), lua_getinfo(), lua_getuservalue(), lua_next(), lua_pcallk(), lua_pushcclosure(), lua_rawget(), lua_rawgeti(), lua_rawgetp(), lua_rawset(), lua_rawseti(), lua_rawsetp(), lua_setmetatable(), lua_settop(), lua_setuservalue(), lua_upvalueid(), lua_xmove(), lua_yieldk(), and luaM_realloc_().
Definition at line 92 of file llimits.h.
Referenced by atomic(), checkSizes(), f_call(), f_parser(), hashnum(), lua_arith(), lua_gc(), lua_newstate(), lua_rawgetp(), lua_rawsetp(), lua_strx2number(), lua_topointer(), luaC_newobj(), luaH_free(), luaH_getint(), luaH_resize(), luaH_set(), luaH_setint(), luaK_posfix(), luaO_pushvfstring(), luaS_hash(), luaV_settable(), luaX_token2str(), new_localvar(), newshrstr(), resume(), save(), setnodevector(), setpause(), traversetable(), and unbound_search().
Definition at line 94 of file llimits.h.
Referenced by adjustlocalvars(), atomic(), lua_resume(), lua_sethook(), luaD_throw(), luaF_newCclosure(), luaF_newLclosure(), luaH_new(), luaK_checkstack(), luaS_hash(), luaT_gettm(), luaU_header(), luaX_init(), newupvalue(), parlist(), setnodevector(), and sweeplist().
Definition at line 96 of file llimits.h.
Referenced by findindex(), lua_absindex(), lua_checkstack(), lua_gc(), lua_gettop(), luaD_growstack(), luaD_precall(), luaG_typeerror(), luaO_int2fb(), luaV_execute(), luaV_finishOp(), searchvar(), and stackinuse().
#define cast_num | ( | i | ) | cast(lua_Number, (i)) |
Definition at line 95 of file llimits.h.
Referenced by addk(), arrayindex(), lua_pushinteger(), luaH_get(), luaH_getint(), luaH_next(), luaH_setint(), luaO_pushvfstring(), luaV_objlen(), and readhexa().
Definition at line 97 of file llimits.h.
Referenced by lua_strx2number(), luaO_str2d(), luaZ_fill(), and readhexa().
Definition at line 66 of file llimits.h.
Referenced by luaK_indexed(), and upvalname().
#define condchangemem | ( | L | ) | condmovestack(L) |
#define condmovestack | ( | L | ) | ((void)0) |
Definition at line 295 of file llimits.h.
Referenced by luaD_shrinkstack().
Definition at line 65 of file llimits.h.
Referenced by adjust_varargs(), anchor_token(), atomic(), close_func(), close_state(), closegoto(), codeextraarg(), codenot(), computesizes(), constructor(), currentpc(), discharge2reg(), DumpConstants(), enterblock(), entersweep(), exp1(), f_parser(), finishCcall(), fixjump(), freeobj(), freereg(), funcargs(), generationalcollection(), getlocvar(), gmatch_aux(), hookf(), inclinenumber(), invertjump(), io_readline(), leaveblock(), LoadConstants(), lua_getinfo(), lua_resume(), lua_yieldk(), luaC_barrier_(), luaC_barrierback_(), luaC_barrierproto_(), luaC_checkfinalizer(), luaC_checkupvalcolor(), luaC_freeallobjects(), luaC_fullgc(), luaD_hook(), luaD_precall(), luaD_reallocstack(), luaE_extendCI(), luaE_freethread(), luaF_close(), luaF_findupval(), luaG_concaterror(), luaH_getstr(), luaH_newkey(), luaK_codeABC(), luaK_codeABx(), luaK_indexed(), luaK_patchclose(), luaK_patchlist(), luaK_posfix(), luaK_prefix(), luaK_setlist(), luaK_storevar(), luaM_realloc_(), luaO_arith(), luaS_eqlngstr(), luaS_resize(), luaT_gettm(), luaV_concat(), luaV_equalobj_(), luaV_execute(), luaV_finishOp(), luaX_lookahead(), luaX_token2str(), luaY_parser(), makeseed(), propagatelist(), propagatemark(), read_numeral(), reallymarkobject(), removeentry(), resume(), retstat(), runargs(), separatetobefnz(), singlestep(), singlevar(), skip_sep(), stackinuse(), statement(), str_find_aux(), str_gsub(), tofile(), traversestrongtable(), traverseweakvalue(), udata2finalize(), and unlinkupval().
#define LUA_IEEEENDIANLOC (ieeeendian.l_p[1] == 33) |
Definition at line 220 of file llimits.h.
Referenced by lua_round3().
#define lua_lock | ( | L | ) | ((void) 0) |
Definition at line 154 of file llimits.h.
Referenced by DumpBlock(), finishCcall(), lua_arith(), lua_atpanic(), lua_callk(), lua_checkstack(), lua_close(), lua_compare(), lua_concat(), lua_copy(), lua_createtable(), lua_dump(), lua_error(), lua_gc(), lua_getallocf(), lua_getfield(), lua_getglobal(), lua_getinfo(), lua_getlocal(), lua_getmetatable(), lua_getstack(), lua_gettable(), lua_getupvalue(), lua_getuservalue(), lua_insert(), lua_len(), lua_load(), lua_newthread(), lua_newuserdata(), lua_next(), lua_pcallk(), lua_pushboolean(), lua_pushcclosure(), lua_pushfstring(), lua_pushinteger(), lua_pushlightuserdata(), lua_pushlstring(), lua_pushnil(), lua_pushnumber(), lua_pushstring(), lua_pushthread(), lua_pushunsigned(), lua_pushvalue(), lua_pushvfstring(), lua_rawget(), lua_rawgeti(), lua_rawgetp(), lua_rawset(), lua_rawseti(), lua_rawsetp(), lua_remove(), lua_replace(), lua_resume(), lua_setallocf(), lua_setfield(), lua_setglobal(), lua_setlocal(), lua_setmetatable(), lua_settable(), lua_settop(), lua_setupvalue(), lua_setuservalue(), lua_tolstring(), lua_xmove(), lua_yieldk(), luaD_hook(), luaD_precall(), luaZ_fill(), pmain(), and resume().
#define LUA_MINBUFFER 32 |
Definition at line 149 of file llimits.h.
Referenced by luaX_setinput(), and luaZ_openspace().
Definition at line 235 of file llimits.h.
Referenced by addk(), arrayindex(), lua_round2(), and luaH_get().
#define lua_number2integer | ( | i, | |
n | |||
) | lua_number2int32(i, n, lua_Integer) |
Definition at line 240 of file llimits.h.
Referenced by lua_tointegerx().
#define lua_number2unsigned | ( | i, | |
n | |||
) | lua_number2int32(i, n, lua_Unsigned) |
Definition at line 236 of file llimits.h.
Referenced by lua_tounsignedx().
#define lua_unlock | ( | L | ) | ((void) 0) |
Definition at line 155 of file llimits.h.
Referenced by DumpBlock(), finishCcall(), lua_arith(), lua_atpanic(), lua_callk(), lua_checkstack(), lua_compare(), lua_concat(), lua_copy(), lua_createtable(), lua_dump(), lua_gc(), lua_getallocf(), lua_getfield(), lua_getglobal(), lua_getinfo(), lua_getlocal(), lua_getmetatable(), lua_getstack(), lua_gettable(), lua_getupvalue(), lua_getuservalue(), lua_insert(), lua_len(), lua_load(), lua_newthread(), lua_newuserdata(), lua_next(), lua_pcallk(), lua_pushboolean(), lua_pushcclosure(), lua_pushfstring(), lua_pushinteger(), lua_pushlightuserdata(), lua_pushlstring(), lua_pushnil(), lua_pushnumber(), lua_pushstring(), lua_pushthread(), lua_pushunsigned(), lua_pushvalue(), lua_pushvfstring(), lua_rawget(), lua_rawgeti(), lua_rawgetp(), lua_rawset(), lua_rawseti(), lua_rawsetp(), lua_remove(), lua_replace(), lua_resume(), lua_setallocf(), lua_setfield(), lua_setglobal(), lua_setlocal(), lua_setmetatable(), lua_settable(), lua_settop(), lua_setupvalue(), lua_setuservalue(), lua_tolstring(), lua_xmove(), lua_yieldk(), luaD_hook(), luaD_precall(), luaD_throw(), luaZ_fill(), pmain(), and resume().
#define lua_unsigned2number | ( | u | ) | (((u) <= (lua_Unsigned)INT_MAX) ? (lua_Number)(int)(u) : (lua_Number)(u)) |
Definition at line 272 of file llimits.h.
Referenced by lua_pushunsigned().
#define luai_apicheck | ( | L, | |
e | |||
) | lua_assert(e) |
#define LUAI_EXTRAIEEE static const union luai_Cast ieeeendian = {-(33.0 + 6755399441055744.0)}; |
Definition at line 218 of file llimits.h.
Referenced by lua_round3().
#define LUAI_MAXCCALLS 200 |
Definition at line 118 of file llimits.h.
Referenced by assignment(), enterlevel(), luaD_call(), and resume().
#define luai_threadyield | ( | L | ) | {lua_unlock(L); lua_lock(L);} |
#define luai_userstateclose | ( | L | ) | ((void)L) |
Definition at line 173 of file llimits.h.
Referenced by close_state().
#define luai_userstatefree | ( | L, | |
L1 | |||
) | ((void)L) |
Definition at line 181 of file llimits.h.
Referenced by luaE_freethread().
#define luai_userstateopen | ( | L | ) | ((void)L) |
Definition at line 169 of file llimits.h.
Referenced by f_luaopen().
Definition at line 185 of file llimits.h.
Referenced by lua_resume().
#define luai_userstatethread | ( | L, | |
L1 | |||
) | ((void)L) |
Definition at line 177 of file llimits.h.
Referenced by lua_newthread().
Definition at line 189 of file llimits.h.
Referenced by lua_yieldk().
Definition at line 36 of file llimits.h.
Referenced by inclinenumber(), listfield(), luaK_code(), new_localvar(), newshrstr(), recfield(), and unbound_search().
Definition at line 33 of file llimits.h.
Referenced by incstep(), and setpause().
#define MAX_SIZET ((size_t)(~(size_t)0)-2) |
Definition at line 29 of file llimits.h.
Referenced by luaS_newlstr(), luaS_newudata(), luaV_concat(), and save().
#define MAXSTACK 250 |
Definition at line 137 of file llimits.h.
Referenced by luaK_checkstack().
#define MAXUPVAL UCHAR_MAX |
Definition at line 125 of file llimits.h.
Referenced by index2addr(), lua_pushcclosure(), and newupvalue().
#define MINSTRTABSIZE 32 |
Definition at line 143 of file llimits.h.
Referenced by f_luaopen().
typedef lu_int32 Instruction |
typedef LUAI_UACNUMBER l_uacNumber |
typedef LUAI_USER_ALIGNMENT_T L_Umaxalign |