Home
last modified time | relevance | path

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

/freebsd/sys/contrib/openzfs/module/lua/
H A Dlobject.h128 #define checktag(o,t) (rttype(o) == (t)) macro
130 #define ttisnumber(o) checktag((o), LUA_TNUMBER)
131 #define ttisnil(o) checktag((o), LUA_TNIL)
132 #define ttisboolean(o) checktag((o), LUA_TBOOLEAN)
133 #define ttislightuserdata(o) checktag((o), LUA_TLIGHTUSERDATA)
135 #define ttisshrstring(o) checktag((o), ctb(LUA_TSHRSTR))
136 #define ttislngstring(o) checktag((o), ctb(LUA_TLNGSTR))
137 #define ttistable(o) checktag((o), ctb(LUA_TTABLE))
140 #define ttisCclosure(o) checktag((o), ctb(LUA_TCCL))
141 #define ttisLclosure(o) checktag((o), ctb(LUA_TLCL))
[all …]
/freebsd/contrib/lua/src/
H A Dlobject.h91 #define checktag(o,t) (rawtt(o) == (t)) macro
197 #define ttisstrictnil(o) checktag((o), LUA_VNIL)
203 #define isabstkey(v) checktag((v), LUA_VABSTKEY)
243 #define ttisfalse(o) checktag((o), LUA_VFALSE)
244 #define ttistrue(o) checktag((o), LUA_VTRUE)
264 #define ttisthread(o) checktag((o), ctb(LUA_VTHREAD))
327 #define ttisfloat(o) checktag((o), LUA_VNUMFLT)
328 #define ttisinteger(o) checktag((o), LUA_VNUMINT)
364 #define ttisshrstring(o) checktag((o), ctb(LUA_VSHRSTR))
365 #define ttislngstring(o) checktag((o), ctb(LUA_VLNGSTR))
[all …]