Home
last modified time | relevance | path

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

/freebsd/contrib/lua/src/
H A Dlstate.h370 #define cast_u(o) cast(union GCUnion *, (o)) macro
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))
[all …]