Lines Matching refs:tt
43 #define CommonHeader GCObject *next; lu_byte tt; lu_byte marked
71 #define TValuefields Value value; int tt
90 #define ttype(o) ((o)->tt)
109 lua_assert(!iscollectable(obj) || (ttype(obj) == (obj)->value.gc->gch.tt))
113 ((ttype(obj) == (obj)->value.gc->gch.tt) && !isdead(g, (obj)->value.gc)))
117 #define setnilvalue(obj) ((obj)->tt=LUA_TNIL)
120 { TValue *i_o=(obj); i_o->value.n=(x); i_o->tt=LUA_TNUMBER; }
123 { TValue *i_o=(obj); i_o->value.p=(x); i_o->tt=LUA_TLIGHTUSERDATA; }
126 { TValue *i_o=(obj); i_o->value.b=(x); i_o->tt=LUA_TBOOLEAN; }
130 i_o->value.gc=cast(GCObject *, (x)); i_o->tt=LUA_TSTRING; \
135 i_o->value.gc=cast(GCObject *, (x)); i_o->tt=LUA_TUSERDATA; \
140 i_o->value.gc=cast(GCObject *, (x)); i_o->tt=LUA_TTHREAD; \
145 i_o->value.gc=cast(GCObject *, (x)); i_o->tt=LUA_TFUNCTION; \
150 i_o->value.gc=cast(GCObject *, (x)); i_o->tt=LUA_TTABLE; \
155 i_o->value.gc=cast(GCObject *, (x)); i_o->tt=LUA_TPROTO; \
163 o1->value = o2->value; o1->tt=o2->tt; \
186 #define setttype(obj, tt) (ttype(obj) = (tt)) argument