Searched refs:cast_u (Results 1 – 1 of 1) sorted by relevance
/external/lua/src/ |
D | lstate.h | 222 #define cast_u(o) cast(union GCUnion *, (o)) macro 226 check_exp(novariant((o)->tt) == LUA_TSTRING, &((cast_u(o))->ts)) 227 #define gco2u(o) check_exp((o)->tt == LUA_TUSERDATA, &((cast_u(o))->u)) 228 #define gco2lcl(o) check_exp((o)->tt == LUA_TLCL, &((cast_u(o))->cl.l)) 229 #define gco2ccl(o) check_exp((o)->tt == LUA_TCCL, &((cast_u(o))->cl.c)) 231 check_exp(novariant((o)->tt) == LUA_TFUNCTION, &((cast_u(o))->cl)) 232 #define gco2t(o) check_exp((o)->tt == LUA_TTABLE, &((cast_u(o))->h)) 233 #define gco2p(o) check_exp((o)->tt == LUA_TPROTO, &((cast_u(o))->p)) 234 #define gco2th(o) check_exp((o)->tt == LUA_TTHREAD, &((cast_u(o))->th)) 239 check_exp(novariant((v)->tt) < LUA_TDEADKEY, (&(cast_u(v)->gc)))
|