Lines Matching refs:check_exp
235 check_exp(((st) & 7) == (st), /* status must fit in three bits */ \
374 check_exp(novariant((o)->tt) == LUA_TSTRING, &((cast_u(o))->ts))
375 #define gco2u(o) check_exp((o)->tt == LUA_VUSERDATA, &((cast_u(o))->u))
376 #define gco2lcl(o) check_exp((o)->tt == LUA_VLCL, &((cast_u(o))->cl.l))
377 #define gco2ccl(o) check_exp((o)->tt == LUA_VCCL, &((cast_u(o))->cl.c))
379 check_exp(novariant((o)->tt) == LUA_TFUNCTION, &((cast_u(o))->cl))
380 #define gco2t(o) check_exp((o)->tt == LUA_VTABLE, &((cast_u(o))->h))
381 #define gco2p(o) check_exp((o)->tt == LUA_VPROTO, &((cast_u(o))->p))
382 #define gco2th(o) check_exp((o)->tt == LUA_VTHREAD, &((cast_u(o))->th))
383 #define gco2upv(o) check_exp((o)->tt == LUA_VUPVAL, &((cast_u(o))->upv))
390 #define obj2gco(v) check_exp((v)->tt >= LUA_TSTRING, &(cast_u(v)->gc))