Lines Matching refs:settt_
185 #define settt_(o,t) ((o)->tt_=(t)) macro
188 { TValue *io=(obj); num_(io)=(x); settt_(io, LUA_TNUMBER); }
190 #define setnilvalue(obj) settt_(obj, LUA_TNIL)
193 { TValue *io=(obj); val_(io).f=(x); settt_(io, LUA_TLCF); }
196 { TValue *io=(obj); val_(io).p=(x); settt_(io, LUA_TLIGHTUSERDATA); }
199 { TValue *io=(obj); val_(io).b=(x); settt_(io, LUA_TBOOLEAN); }
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)); \
236 #define setdeadvalue(obj) settt_(obj, LUA_TDEADKEY)
345 #undef settt_
346 #define settt_(o,t) (tt_(o) = tag2tt(t)) macro