Lines Matching defs:gc
151 #define gcvalue(o) check_exp(iscollectable(o), val_(o).gc)
153 #define rawtsvalue(o) check_exp(ttisstring(o), &val_(o).gc->ts)
155 #define rawuvalue(o) check_exp(ttisuserdata(o), &val_(o).gc->u)
157 #define clvalue(o) check_exp(ttisclosure(o), &val_(o).gc->cl)
158 #define clLvalue(o) check_exp(ttisLclosure(o), &val_(o).gc->cl.l)
159 #define clCvalue(o) check_exp(ttisCclosure(o), &val_(o).gc->cl.c)
161 #define hvalue(o) check_exp(ttistable(o), &val_(o).gc->h)
163 #define thvalue(o) check_exp(ttisthread(o), &val_(o).gc->th)
164 /* a dead value may get the 'gc' field, but cannot access its contents */
165 #define deadvalue(o) check_exp(ttisdeadkey(o), cast(void *, val_(o).gc))
200 val_(io).gc=i_g; settt_(io, ctb(gch(i_g)->tt)); }
205 val_(io).gc=cast(GCObject *, x_); settt_(io, ctb(x_->tsv.tt)); \
210 val_(io).gc=cast(GCObject *, (x)); settt_(io, ctb(LUA_TUSERDATA)); \
215 val_(io).gc=cast(GCObject *, (x)); settt_(io, ctb(LUA_TTHREAD)); \
220 val_(io).gc=cast(GCObject *, (x)); settt_(io, ctb(LUA_TLCL)); \
225 val_(io).gc=cast(GCObject *, (x)); settt_(io, ctb(LUA_TCCL)); \
230 val_(io).gc=cast(GCObject *, (x)); settt_(io, ctb(LUA_TTABLE)); \
386 GCObject *gc; /* collectable objects */