Github User Fetcher 1.0.0
C Application with Server and GUI
|
Go to the source code of this file.
Macros | |
#define | cvt2str(o) ttisnumber(o) |
#define | cvt2num(o) ttisstring(o) |
#define | LUA_FLOORN2I 0 |
#define | tonumber(o, n) (ttisfloat(o) ? (*(n) = fltvalue(o), 1) : luaV_tonumber_(o,n)) |
#define | tointeger(o, i) (ttisinteger(o) ? (*(i) = ivalue(o), 1) : luaV_tointeger(o,i,LUA_FLOORN2I)) |
#define | intop(op, v1, v2) l_castU2S(l_castS2U(v1) op l_castS2U(v2)) |
#define | luaV_rawequalobj(t1, t2) luaV_equalobj(NULL,t1,t2) |
#define | luaV_fastget(L, t, k, slot, f) |
#define | luaV_gettable(L, t, k, v) |
#define | luaV_fastset(L, t, k, slot, f, v) |
#define | luaV_settable(L, t, k, v) |
#define cvt2num | ( | o | ) | ttisstring(o) |
Definition at line 24 of file lua-5.3.6/src/lvm.h.
Referenced by l_strton(), luaV_tointeger(), and luaV_tonumber_().
#define cvt2str | ( | o | ) | ttisnumber(o) |
Definition at line 17 of file lua-5.3.6/src/lvm.h.
Referenced by lua_isstring(), lua_tolstring(), luaG_concaterror(), and luaV_concat().
Definition at line 46 of file lua-5.3.6/src/lvm.h.
Referenced by intarith(), intarith(), luaV_div(), luaV_execute(), luaV_execute(), luaV_idiv(), and luaV_shiftl().
#define LUA_FLOORN2I 0 |
Definition at line 36 of file lua-5.3.6/src/lvm.h.
Referenced by luaG_tointerror(), and validop().
#define luaV_fastget | ( | L, | |
t, | |||
k, | |||
slot, | |||
f ) |
Definition at line 58 of file lua-5.3.6/src/lvm.h.
Referenced by auxgetstr(), auxgetstr(), auxsetstr(), lua_geti(), lua_gettable(), lua_settable(), luaV_execute(), luaV_execute(), luaV_finishget(), and luaV_finishset().
#define luaV_fastset | ( | L, | |
t, | |||
k, | |||
slot, | |||
f, | |||
v ) |
Definition at line 80 of file lua-5.3.6/src/lvm.h.
Referenced by auxsetstr(), lua_seti(), and luaV_finishset().
#define luaV_gettable | ( | L, | |
t, | |||
k, | |||
v ) |
Definition at line 67 of file lua-5.3.6/src/lvm.h.
Referenced by lua_getfield(), lua_getglobal(), lua_gettable(), luaV_execute(), and luaV_execute().
#define luaV_rawequalobj | ( | t1, | |
t2 ) luaV_equalobj(NULL,t1,t2) |
Definition at line 48 of file lua-5.3.6/src/lvm.h.
#define luaV_settable | ( | L, | |
t, | |||
k, | |||
v ) |
Definition at line 90 of file lua-5.3.6/src/lvm.h.
Referenced by lua_setfield(), lua_setglobal(), lua_settable(), luaV_execute(), and luaV_execute().
#define tointeger | ( | o, | |
i ) (ttisinteger(o) ? (*(i) = ivalue(o), 1) : luaV_tointeger(o,i,LUA_FLOORN2I)) |
Definition at line 43 of file lua-5.3.6/src/lvm.h.
Referenced by lua_tointegerx(), luaG_tointerror(), luaO_arith(), luaV_equalobj(), luaV_execute(), and validop().
#define tonumber | ( | o, | |
n ) (ttisfloat(o) ? (*(n) = fltvalue(o), 1) : luaV_tonumber_(o,n)) |
Definition at line 40 of file lua-5.3.6/src/lvm.h.
Definition at line 293 of file lua-5.2.4/src/lvm.c.
LUAI_FUNC lua_Integer luaV_div | ( | lua_State * | L, |
lua_Integer | x, | ||
lua_Integer | y ) |
Definition at line 552 of file lua-5.3.6/src/lvm.c.
References intop, l_castS2U, and luaG_runerror().
Referenced by intarith(), and luaV_execute().
Definition at line 407 of file lua-5.3.6/src/lvm.c.
Definition at line 534 of file lua-5.2.4/src/lvm.c.
References arith_op, CallInfo::base, CallInfo::callstatus, cast_int, checkGC, chgfltvalue, chgivalue, lua_State::ci, CIST_FRESH, CIST_REENTRY, CIST_TAIL, clLvalue, dojump, donextjump, equalobj, fltvalue, forlimit(), CallInfo::func, GET_OPCODE, GETARG_A, GETARG_Ax, GETARG_B, GETARG_Bx, GETARG_C, GETARG_sBx, getcached(), getcached(), getproto, gettableProtected, lua_State::hookcount, lua_State::hookmask, hvalue, intop, isLua, ivalue, Proto::k, CallInfo::l, l_castS2U, l_isfalse, LFIELDS_PER_FLUSH, lua_assert, LUA_MASKCOUNT, LUA_MASKLINE, LUA_MULTRET, LUA_QL, luaC_barrier, luaC_barrierback, luaC_upvalbarrier, luaD_call(), luaD_checkstack, luaD_poscall(), luaD_precall(), luaF_close(), luaG_runerror(), luaH_getstr(), luaH_new(), luaH_resize(), luaH_resizearray(), luaH_setint(), luai_numadd, luai_numdiv, luai_numidiv, luai_numle, luai_numlt, luai_nummod, luai_nummul, luai_numpow, luai_numsub, luai_numunm, luai_runtimecheck, luaO_fb2int(), luaT_trybinTM(), luaV_arith(), luaV_concat(), luaV_div(), luaV_equalobj(), luaV_fastget, luaV_finishget(), luaV_gettable, luaV_lessequal(), luaV_lessthan(), luaV_mod(), luaV_objlen(), luaV_settable, luaV_shiftl(), NULL, Proto::numparams, nvalue, obj2gco, OP_ADD, OP_BAND, OP_BNOT, OP_BOR, OP_BXOR, OP_CALL, OP_CLOSURE, OP_CONCAT, OP_DIV, OP_EQ, OP_EXTRAARG, OP_FORLOOP, OP_FORPREP, OP_GETTABLE, OP_GETTABUP, OP_GETUPVAL, OP_IDIV, OP_JMP, OP_LE, OP_LEN, OP_LOADBOOL, OP_LOADK, OP_LOADKX, OP_LOADNIL, OP_LT, OP_MOD, OP_MOVE, OP_MUL, OP_NEWTABLE, OP_NOT, OP_POW, OP_RETURN, OP_SELF, OP_SETLIST, OP_SETTABLE, OP_SETTABUP, OP_SETUPVAL, OP_SHL, OP_SHR, OP_SUB, OP_TAILCALL, OP_TEST, OP_TESTSET, OP_TFORCALL, OP_TFORLOOP, OP_UNM, OP_VARARG, Proto::p, LClosure::p, CallInfo::previous, Protect, pushclosure(), pushclosure(), RA, RB, RKB, RKC, CallInfo::savedpc, setbvalue, setclLvalue, setfltvalue, sethvalue, setivalue, setnilvalue, setnvalue, setobj, setobj2s, setobjs2s, settableProtected, Table::sizearray, Proto::sizep, lua_State::stack, lua_State::stacksize, TM_ADD, TM_BAND, TM_BNOT, TM_BOR, TM_BXOR, TM_DIV, TM_IDIV, TM_MOD, TM_MUL, TM_POW, TM_SHL, TM_SHR, TM_SUB, TM_UNM, tointeger, tonumber, CallInfo::top, lua_State::top, traceexec(), tsvalue, ttisinteger, ttisnil, ttisnumber, ttistable, CallInfo::u, LClosure::upvals, UpVal::v, vmbreak, vmcase, vmcasenb, vmdispatch, and vmfetch.
LUAI_FUNC void luaV_finishget | ( | lua_State * | L, |
const TValue * | t, | ||
TValue * | key, | ||
StkId | val, | ||
const TValue * | slot ) |
Definition at line 160 of file lua-5.3.6/src/lvm.c.
Definition at line 423 of file lua-5.2.4/src/lvm.c.
LUAI_FUNC void luaV_finishset | ( | lua_State * | L, |
const TValue * | t, | ||
TValue * | key, | ||
StkId | val, | ||
const TValue * | slot ) |
Definition at line 203 of file lua-5.3.6/src/lvm.c.
References cast, fasttm, hvalue, invalidateTMcache, lua_assert, luaC_barrierback, luaG_runerror(), luaG_typeerror(), luaH_get(), luaH_newkey(), luaO_nilobject, luaT_callTM(), luaT_gettmbyobj(), luaV_fastset, MAXTAGLOOP, Table::metatable, NULL, setobj2t, TM_NEWINDEX, ttisfunction, and ttisnil.
Referenced by auxsetstr(), auxsetstr(), lua_seti(), and lua_settable().
Definition at line 243 of file lua-5.2.4/src/lvm.c.
Definition at line 225 of file lua-5.1.5/src/lvm.c.
LUAI_FUNC lua_Integer luaV_mod | ( | lua_State * | L, |
lua_Integer | x, | ||
lua_Integer | y ) |
Definition at line 572 of file lua-5.3.6/src/lvm.c.
Definition at line 335 of file lua-5.2.4/src/lvm.c.
LUAI_FUNC lua_Integer luaV_shiftl | ( | lua_Integer | x, |
lua_Integer | y ) |
Definition at line 593 of file lua-5.3.6/src/lvm.c.
LUAI_FUNC int luaV_tointeger | ( | const TValue * | obj, |
lua_Integer * | p, | ||
int | mode ) |
Definition at line 94 of file lua-5.3.6/src/lvm.c.
References cvt2num, fltvalue, ivalue, l_floor, lua_numbertointeger, luaO_str2num(), svalue, ttisfloat, ttisinteger, and vslen.
Referenced by forlimit(), luaH_get(), and luaH_newkey().
LUAI_FUNC int luaV_tonumber_ | ( | const TValue * | obj, |
lua_Number * | n ) |
Definition at line 72 of file lua-5.3.6/src/lvm.c.