Home
last modified time | relevance | path

Searched refs:settt_ (Results 1 – 1 of 1) sorted by relevance

/external/lua/src/
Dlobject.h196 #define settt_(o,t) ((o)->tt_=(t)) macro
199 { TValue *io=(obj); val_(io).n=(x); settt_(io, LUA_TNUMFLT); }
205 { TValue *io=(obj); val_(io).i=(x); settt_(io, LUA_TNUMINT); }
210 #define setnilvalue(obj) settt_(obj, LUA_TNIL)
213 { TValue *io=(obj); val_(io).f=(x); settt_(io, LUA_TLCF); }
216 { TValue *io=(obj); val_(io).p=(x); settt_(io, LUA_TLIGHTUSERDATA); }
219 { TValue *io=(obj); val_(io).b=(x); settt_(io, LUA_TBOOLEAN); }
223 val_(io).gc = i_g; settt_(io, ctb(i_g->tt)); }
227 val_(io).gc = obj2gco(x_); settt_(io, ctb(x_->tt)); \
232 val_(io).gc = obj2gco(x_); settt_(io, ctb(LUA_TUSERDATA)); \
[all …]