Github User Fetcher 1.0.0
C Application with Server and GUI
|
Go to the source code of this file.
Macros | |
#define | tostring(L, o) (ttisstring(o) || (luaV_tostring(L, o))) |
#define | tonumber(o, n) (ttisnumber(o) || (((o) = luaV_tonumber(o,n)) != NULL)) |
#define | equalobj(L, o1, o2) (ttisequal(o1, o2) && luaV_equalobj_(L, o1, o2)) |
#define | luaV_rawequalobj(o1, o2) equalobj(NULL,o1,o2) |
Functions | |
LUAI_FUNC int | luaV_equalobj_ (lua_State *L, const TValue *t1, const TValue *t2) |
LUAI_FUNC int | luaV_lessthan (lua_State *L, const TValue *l, const TValue *r) |
LUAI_FUNC int | luaV_lessequal (lua_State *L, const TValue *l, const TValue *r) |
LUAI_FUNC const TValue * | luaV_tonumber (const TValue *obj, TValue *n) |
LUAI_FUNC int | luaV_tostring (lua_State *L, StkId obj) |
LUAI_FUNC void | luaV_gettable (lua_State *L, const TValue *t, TValue *key, StkId val) |
LUAI_FUNC void | luaV_settable (lua_State *L, const TValue *t, TValue *key, StkId val) |
LUAI_FUNC void | luaV_finishOp (lua_State *L) |
LUAI_FUNC void | luaV_execute (lua_State *L) |
LUAI_FUNC void | luaV_concat (lua_State *L, int total) |
LUAI_FUNC void | luaV_arith (lua_State *L, StkId ra, const TValue *rb, const TValue *rc, TMS op) |
LUAI_FUNC void | luaV_objlen (lua_State *L, StkId ra, const TValue *rb) |
#define equalobj | ( | L, | |
o1, | |||
o2 ) (ttisequal(o1, o2) && luaV_equalobj_(L, o1, o2)) |
Definition at line 20 of file lua-5.2.4/src/lvm.h.
Definition at line 22 of file lua-5.2.4/src/lvm.h.
Referenced by addk(), addk(), addk(), findindex(), findindex(), get_equalTM(), getgeneric(), lua_rawequal(), luaH_get(), and luaV_execute().
#define tonumber | ( | o, | |
n ) (ttisnumber(o) || (((o) = luaV_tonumber(o,n)) != NULL)) |
Definition at line 18 of file lua-5.2.4/src/lvm.h.
#define tostring | ( | L, | |
o ) (ttisstring(o) || (luaV_tostring(L, o))) |
Definition at line 16 of file lua-5.2.4/src/lvm.h.
Definition at line 360 of file lua-5.2.4/src/lvm.c.
References call_binTM(), LUA_OPADD, luaG_aritherror(), luaO_arith(), luaV_tonumber(), NULL, nvalue, setnvalue, and TM_ADD.
Referenced by lua_arith(), and luaV_execute().
Definition at line 293 of file lua-5.2.4/src/lvm.c.
Definition at line 260 of file lua-5.2.4/src/lvm.c.
References bvalue, callTM(), eqshrstr, fvalue, gcvalue, get_equalTM(), hvalue, iscollectable, l_isfalse, lua_assert, LUA_TBOOLEAN, LUA_TLCF, LUA_TLIGHTUSERDATA, LUA_TLNGSTR, LUA_TNIL, LUA_TNUMBER, LUA_TSHRSTR, LUA_TTABLE, LUA_TUSERDATA, luai_numeq, luaS_eqlngstr(), NULL, nvalue, pvalue, rawtsvalue, TM_EQ, lua_State::top, ttisequal, ttype, and uvalue.
Definition at line 534 of file lua-5.2.4/src/lvm.c.
Definition at line 423 of file lua-5.2.4/src/lvm.c.
Definition at line 108 of file lua-5.1.5/src/lvm.c.
References callTM(), callTMres(), fasttm, hvalue, luaG_runerror(), luaG_typeerror(), luaH_get(), luaT_gettmbyobj(), MAXTAGLOOP, Table::metatable, NULL, setobj2s, TM_INDEX, ttisfunction, ttisnil, and ttistable.
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.
Definition at line 335 of file lua-5.2.4/src/lvm.c.
Definition at line 134 of file lua-5.1.5/src/lvm.c.
References callTM(), callTM(), cast, fasttm, Table::flags, hvalue, invalidateTMcache, luaC_barrierback, luaC_barriert, luaG_runerror(), luaG_typeerror(), luaH_get(), luaH_newkey(), luaH_set(), luaO_nilobject, luaT_gettmbyobj(), MAXTAGLOOP, Table::metatable, NULL, obj2gco, setobj, setobj2t, TM_NEWINDEX, ttisfunction, ttisnil, and ttistable.
Definition at line 35 of file lua-5.1.5/src/lvm.c.
References luaO_str2d(), NULL, setnvalue, svalue, tsvalue, ttisnumber, and ttisstring.
Referenced by Arith(), luaG_aritherror(), and luaV_arith().
Definition at line 47 of file lua-5.1.5/src/lvm.c.
References lua_number2str, LUAI_MAXNUMBER2STR, luaS_new, luaS_newlstr(), nvalue, s, setsvalue2s, and ttisnumber.
Referenced by lua_objlen(), and lua_tolstring().