Searched refs:ttype (Results 1 – 11 of 11) sorted by relevance
79 #define ttisnil(o) (ttype(o) == LUA_TNIL)80 #define ttisnumber(o) (ttype(o) == LUA_TNUMBER)81 #define ttisstring(o) (ttype(o) == LUA_TSTRING)82 #define ttistable(o) (ttype(o) == LUA_TTABLE)83 #define ttisfunction(o) (ttype(o) == LUA_TFUNCTION)84 #define ttisboolean(o) (ttype(o) == LUA_TBOOLEAN)85 #define ttisuserdata(o) (ttype(o) == LUA_TUSERDATA)86 #define ttisthread(o) (ttype(o) == LUA_TTHREAD)90 #define ttype(o) ((o)->tt) macro186 #define setttype(obj, tt) (ttype(obj) = (tt))[all …]
16 #define tostring(L,o) ((ttype(o) == LUA_TSTRING) || (luaV_tostring(L, o)))18 #define tonumber(o,n) (ttype(o) == LUA_TNUMBER || \22 (ttype(o1) == ttype(o2) && luaV_equalval(L, o1, o2))
63 switch (ttype(o)) { in luaT_gettmbyobj()71 mt = G(L)->mt[ttype(o)]; in luaT_gettmbyobj()
73 if (ttype(t1) != ttype(t2)) return 0; in luaO_rawequalObj()74 else switch (ttype(t1)) { in luaO_rawequalObj()
244 return (o == luaO_nilobject) ? LUA_TNONE : ttype(o); in lua_type()363 switch (ttype(o)) { in lua_objlen()387 switch (ttype(o)) { in lua_touserdata()403 switch (ttype(o)) { in lua_topointer()593 switch (ttype(obj)) { in lua_getmetatable()601 mt = G(L)->mt[ttype(obj)]; in lua_getmetatable()621 switch (ttype(o)) { in lua_getfenv()710 switch (ttype(obj)) { in lua_setmetatable()724 G(L)->mt[ttype(obj)] = mt; in lua_setmetatable()742 switch (ttype(o)) { in lua_setfenv()
227 if (ttype(l) != ttype(r)) in luaV_lessthan()241 if (ttype(l) != ttype(r)) in lessequal()257 lua_assert(ttype(t1) == ttype(t2)); in luaV_equalval()258 switch (ttype(t1)) { in luaV_equalval()516 switch (ttype(rb)) { in luaV_execute()
87 DumpChar(ttype(o),D); in DumpConstants()88 switch (ttype(o)) in DumpConstants()
54 switch (ttype(o)) in PrintConstant()69 printf("? type=%d",ttype(o)); in PrintConstant()
101 switch (ttype(key)) { in mainposition()148 (ttype(gkey(n)) == LUA_TDEADKEY && iscollectable(key) && in findindex()470 switch (ttype(key)) { in luaH_get()
569 const char *t = luaT_typenames[ttype(o)]; in luaG_typeerror()597 const char *t1 = luaT_typenames[ttype(p1)]; in luaG_ordererror()598 const char *t2 = luaT_typenames[ttype(p2)]; in luaG_ordererror()
186 lua_assert(ttype(gkey(n)) != LUA_TDEADKEY || ttisnil(gval(n))); in traversetable()665 lua_assert(ttype(&o->gch) != LUA_TTABLE); in luaC_barrierf()