Github User Fetcher 1.0.0
C Application with Server and GUI
|
#include "lobject.h"
Go to the source code of this file.
Macros | |
#define | maskflags (~(~0u << (TM_EQ + 1))) |
#define | notm(tm) ttisnil(tm) |
#define | gfasttm(g, et, e) |
#define | fasttm(l, et, e) gfasttm(G(l), et, e) |
#define | ttypename(x) luaT_typenames_[(x) + 1] |
Enumerations | |
enum | TMS { TM_INDEX , TM_NEWINDEX , TM_GC , TM_MODE , TM_LEN , TM_EQ , TM_ADD , TM_SUB , TM_MUL , TM_MOD , TM_POW , TM_DIV , TM_IDIV , TM_BAND , TM_BOR , TM_BXOR , TM_SHL , TM_SHR , TM_UNM , TM_BNOT , TM_LT , TM_LE , TM_CONCAT , TM_CALL , TM_CLOSE , TM_N } |
Definition at line 67 of file lua-5.4.3/src/ltm.h.
#define gfasttm | ( | g, | |
et, | |||
e ) |
Definition at line 64 of file lua-5.4.3/src/ltm.h.
#define maskflags (~(~0u << (TM_EQ + 1))) |
Definition at line 54 of file lua-5.4.3/src/ltm.h.
Referenced by luaH_new().
#define notm | ( | tm | ) | ttisnil(tm) |
Definition at line 61 of file lua-5.4.3/src/ltm.h.
Referenced by callbinTM(), GCTM(), luaT_gettm(), luaV_finishget(), luaV_finishset(), and luaV_objlen().
#define ttypename | ( | x | ) | luaT_typenames_[(x) + 1] |
Definition at line 69 of file lua-5.4.3/src/ltm.h.
enum TMS |
Definition at line 18 of file lua-5.4.3/src/ltm.h.
LUAI_FUNC void luaT_adjustvarargs | ( | lua_State * | L, |
int | nfixparams, | ||
struct CallInfo * | ci, | ||
const Proto * | p ) |
Definition at line 238 of file lua-5.4.3/src/ltm.c.
References cast_int, CallInfo::func, CallInfo::l, lua_assert, luaD_checkstack, Proto::maxstacksize, CallInfo::nextraargs, s2v, setnilvalue, setobjs2s, lua_State::stack_last, CallInfo::top, lua_State::top, and CallInfo::u.
Referenced by luaV_execute().
LUAI_FUNC int luaT_callorderiTM | ( | lua_State * | L, |
const TValue * | p1, | ||
int | v2, | ||
int | inv, | ||
int | isfloat, | ||
TMS | event ) |
Definition at line 221 of file lua-5.4.3/src/ltm.c.
References cast_num, luaT_callorderTM(), setfltvalue, and setivalue.
Definition at line 158 of file lua-5.3.6/src/ltm.c.
References callbinTM(), CallInfo::callstatus, lua_State::ci, CIST_LEQ, l_isfalse, luaG_ordererror(), luaT_callbinTM(), s2v, TM_LE, TM_LT, and lua_State::top.
Referenced by lessequalothers(), lessthanothers(), luaT_callorderiTM(), luaV_lessequal(), and luaV_lessthan().
LUAI_FUNC void luaT_callTM | ( | lua_State * | L, |
const TValue * | f, | ||
const TValue * | p1, | ||
const TValue * | p2, | ||
const TValue * | p3 ) |
Definition at line 103 of file lua-5.4.3/src/ltm.c.
References lua_State::ci, isLuacode, luaD_call(), luaD_callnoyield(), setobj2s, and lua_State::top.
LUAI_FUNC void luaT_callTMres | ( | lua_State * | L, |
const TValue * | f, | ||
const TValue * | p1, | ||
const TValue * | p2, | ||
StkId | p3 ) |
Definition at line 119 of file lua-5.4.3/src/ltm.c.
References lua_State::ci, isLuacode, luaD_call(), luaD_callnoyield(), restorestack, savestack, setobj2s, setobjs2s, and lua_State::top.
Referenced by callbinTM(), luaV_equalobj(), luaV_finishget(), and luaV_objlen().
Definition at line 50 of file lua-5.1.5/src/ltm.c.
References cast_byte, Table::flags, lua_assert, luaH_getshortstr(), luaH_getstr(), notm, NULL, TM_EQ, and ttisnil.
Definition at line 61 of file lua-5.1.5/src/ltm.c.
References G, hvalue, LUA_TTABLE, LUA_TUSERDATA, luaH_getshortstr(), luaH_getstr(), luaO_nilobject, Table::metatable, tmname, ttnov, ttype, ttypenv, and uvalue.
Referenced by call_binTM(), call_binTM(), call_orderTM(), callbinTM(), callclosemethod(), checkclosemth(), GCTM(), GCTM(), GCTM(), luaD_tryfuncTM(), luaT_callbinTM(), luaV_finishget(), luaV_finishOp(), luaV_finishset(), luaV_finishset(), luaV_gettable(), luaV_objlen(), luaV_settable(), tryfuncTM(), tryfuncTM(), and tryfuncTM().
Definition at line 258 of file lua-5.4.3/src/ltm.c.
References checkstackGCp, CallInfo::func, CallInfo::l, CallInfo::nextraargs, s2v, setnilvalue, setobjs2s, lua_State::top, and CallInfo::u.
Referenced by luaV_execute().
Definition at line 30 of file lua-5.1.5/src/ltm.c.
References G, luaC_fix(), luaS_fix, luaS_new, obj2gco, TM_N, and tmname.
Referenced by f_luaopen(), f_luaopen(), f_luaopen(), and f_luaopen().
Definition at line 90 of file lua-5.3.6/src/ltm.c.
References getstr, hvalue, luaH_getshortstr(), luaS_new, name, NULL, tsvalue, ttisfulluserdata, ttisstring, ttistable, ttnov, ttype, ttypename, and uvalue.
Referenced by luaG_callerror(), luaG_forerror(), luaG_ordererror(), and luaG_typeerror().
LUAI_FUNC void luaT_trybinassocTM | ( | lua_State * | L, |
const TValue * | p1, | ||
const TValue * | p2, | ||
int | inv, | ||
StkId | res, | ||
TMS | event ) |
Definition at line 175 of file lua-5.4.3/src/ltm.c.
References luaT_trybinTM().
Referenced by luaT_trybiniTM(), and luaV_execute().
LUAI_FUNC void luaT_trybiniTM | ( | lua_State * | L, |
const TValue * | p1, | ||
lua_Integer | i2, | ||
int | inv, | ||
StkId | res, | ||
TMS | event ) |
Definition at line 184 of file lua-5.4.3/src/ltm.c.
References luaT_trybinassocTM(), and setivalue.
Referenced by luaV_execute().
LUAI_FUNC void luaT_trybinTM | ( | lua_State * | L, |
const TValue * | p1, | ||
const TValue * | p2, | ||
StkId | res, | ||
TMS | event ) |
Definition at line 135 of file lua-5.3.6/src/ltm.c.
References callbinTM(), dummy, luaG_concaterror(), luaG_opinterror(), luaG_tointerror(), luaT_callbinTM(), TM_BAND, TM_BNOT, TM_BOR, TM_BXOR, TM_CONCAT, TM_SHL, TM_SHR, tonumber, and ttisnumber.
Referenced by luaO_arith(), luaO_arith(), luaT_trybinassocTM(), luaV_concat(), luaV_execute(), and luaV_execute().
Definition at line 167 of file lua-5.4.3/src/ltm.c.
References callbinTM(), luaG_concaterror(), s2v, TM_CONCAT, and lua_State::top.
Referenced by luaV_concat().