Searched refs:settt_ (Results 1 – 2 of 2) sorted by relevance
| /freebsd-12.1/contrib/lua/src/ |
| H A D | lobject.h | 196 #define settt_(o,t) ((o)->tt_=(t)) macro 210 #define setnilvalue(obj) settt_(obj, LUA_TNIL) 213 { TValue *io=(obj); val_(io).f=(x); settt_(io, LUA_TLCF); } 223 val_(io).gc = i_g; settt_(io, ctb(i_g->tt)); } 227 val_(io).gc = obj2gco(x_); settt_(io, ctb(x_->tt)); \ 237 val_(io).gc = obj2gco(x_); settt_(io, ctb(LUA_TTHREAD)); \ 242 val_(io).gc = obj2gco(x_); settt_(io, ctb(LUA_TLCL)); \ 247 val_(io).gc = obj2gco(x_); settt_(io, ctb(LUA_TCCL)); \ 252 val_(io).gc = obj2gco(x_); settt_(io, ctb(LUA_TTABLE)); \ 255 #define setdeadvalue(obj) settt_(obj, LUA_TDEADKEY) [all …]
|
| /freebsd-12.1/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/lua/ |
| H A D | lobject.h | 184 #define settt_(o,t) ((o)->tt_=(t)) macro 187 { TValue *io=(obj); num_(io)=(x); settt_(io, LUA_TNUMBER); } 189 #define setnilvalue(obj) settt_(obj, LUA_TNIL) 192 { TValue *io=(obj); val_(io).f=(x); settt_(io, LUA_TLCF); } 198 { TValue *io=(obj); val_(io).b=(x); settt_(io, LUA_TBOOLEAN); } 202 val_(io).gc=i_g; settt_(io, ctb(gch(i_g)->tt)); } 222 val_(io).gc=cast(GCObject *, (x)); settt_(io, ctb(LUA_TLCL)); \ 227 val_(io).gc=cast(GCObject *, (x)); settt_(io, ctb(LUA_TCCL)); \ 235 #define setdeadvalue(obj) settt_(obj, LUA_TDEADKEY) 344 #undef settt_ [all …]
|