Lines Matching refs:gc
154 #define gcvalue(o) check_exp(iscollectable(o), val_(o).gc)
156 #define rawtsvalue(o) check_exp(ttisstring(o), &val_(o).gc->ts)
158 #define rawuvalue(o) check_exp(ttisuserdata(o), &val_(o).gc->u)
160 #define clvalue(o) check_exp(ttisclosure(o), &val_(o).gc->cl)
161 #define clLvalue(o) check_exp(ttisLclosure(o), &val_(o).gc->cl.l)
162 #define clCvalue(o) check_exp(ttisCclosure(o), &val_(o).gc->cl.c)
164 #define hvalue(o) check_exp(ttistable(o), &val_(o).gc->h)
166 #define thvalue(o) check_exp(ttisthread(o), &val_(o).gc->th)
167 /* a dead value may get the 'gc' field, but cannot access its contents */
168 #define deadvalue(o) check_exp(ttisdeadkey(o), cast(void *, val_(o).gc))
203 val_(io).gc=i_g; settt_(io, ctb(gch(i_g)->tt)); }
208 val_(io).gc=cast(GCObject *, x_); settt_(io, ctb(x_->tsv.tt)); \
213 val_(io).gc=cast(GCObject *, (x)); settt_(io, ctb(LUA_TUSERDATA)); \
218 val_(io).gc=cast(GCObject *, (x)); settt_(io, ctb(LUA_TTHREAD)); \
223 val_(io).gc=cast(GCObject *, (x)); settt_(io, ctb(LUA_TLCL)); \
228 val_(io).gc=cast(GCObject *, (x)); settt_(io, ctb(LUA_TCCL)); \
233 val_(io).gc=cast(GCObject *, (x)); settt_(io, ctb(LUA_TTABLE)); \
389 GCObject *gc; /* collectable objects */