Lines Matching refs:o
79 #define ttisnil(o) (ttype(o) == LUA_TNIL) argument
80 #define ttisnumber(o) (ttype(o) == LUA_TNUMBER) argument
81 #define ttisstring(o) (ttype(o) == LUA_TSTRING) argument
82 #define ttistable(o) (ttype(o) == LUA_TTABLE) argument
83 #define ttisfunction(o) (ttype(o) == LUA_TFUNCTION) argument
84 #define ttisboolean(o) (ttype(o) == LUA_TBOOLEAN) argument
85 #define ttisuserdata(o) (ttype(o) == LUA_TUSERDATA) argument
86 #define ttisthread(o) (ttype(o) == LUA_TTHREAD) argument
87 #define ttislightuserdata(o) (ttype(o) == LUA_TLIGHTUSERDATA) argument
90 #define ttype(o) ((o)->tt) argument
91 #define gcvalue(o) check_exp(iscollectable(o), (o)->value.gc) argument
92 #define pvalue(o) check_exp(ttislightuserdata(o), (o)->value.p) argument
93 #define nvalue(o) check_exp(ttisnumber(o), (o)->value.n) argument
94 #define rawtsvalue(o) check_exp(ttisstring(o), &(o)->value.gc->ts) argument
95 #define tsvalue(o) (&rawtsvalue(o)->tsv) argument
96 #define rawuvalue(o) check_exp(ttisuserdata(o), &(o)->value.gc->u) argument
97 #define uvalue(o) (&rawuvalue(o)->uv) argument
98 #define clvalue(o) check_exp(ttisfunction(o), &(o)->value.gc->cl) argument
99 #define hvalue(o) check_exp(ttistable(o), &(o)->value.gc->h) argument
100 #define bvalue(o) check_exp(ttisboolean(o), (o)->value.b) argument
101 #define thvalue(o) check_exp(ttisthread(o), &(o)->value.gc->th) argument
103 #define l_isfalse(o) (ttisnil(o) || (ttisboolean(o) && bvalue(o) == 0)) argument
189 #define iscollectable(o) (ttype(o) >= LUA_TSTRING) argument
211 #define svalue(o) getstr(rawtsvalue(o)) argument
315 #define iscfunction(o) (ttype(o) == LUA_TFUNCTION && clvalue(o)->c.isC) argument
316 #define isLfunction(o) (ttype(o) == LUA_TFUNCTION && !clvalue(o)->c.isC) argument