Lines Matching refs:gc
60 GCObject *gc; member
91 #define gcvalue(o) check_exp(iscollectable(o), (o)->value.gc)
94 #define rawtsvalue(o) check_exp(ttisstring(o), &(o)->value.gc->ts)
96 #define rawuvalue(o) check_exp(ttisuserdata(o), &(o)->value.gc->u)
98 #define clvalue(o) check_exp(ttisfunction(o), &(o)->value.gc->cl)
99 #define hvalue(o) check_exp(ttistable(o), &(o)->value.gc->h)
101 #define thvalue(o) check_exp(ttisthread(o), &(o)->value.gc->th)
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)))
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; \