Searched refs:ttisfunction (Results 1 – 11 of 11) sorted by relevance
83 #define ttisfunction(o) (ttype(o) == LUA_TFUNCTION) macro98 #define clvalue(o) check_exp(ttisfunction(o), &(o)->value.gc->cl)
62 #define isLua(ci) (ttisfunction((ci)->func) && f_isLua(ci))
239 luai_apicheck(L, ttisfunction(func)); in lua_getinfo()246 lua_assert(ttisfunction(ci->func)); in lua_getinfo()621 if (!ttisfunction(errfunc)) luaD_throw(L, LUA_ERRERR); in luaG_errormsg()
248 if (!ttisfunction(tm)) in tryfuncTM()268 if (!ttisfunction(func)) /* `func' is not a function? */ in luaD_precall()
124 if (ttisfunction(tm)) { in luaV_gettable()153 if (ttisfunction(tm)) { in luaV_settable()
1041 if (!ttisfunction(fi)) return NULL; in aux_upvalue()
287 api_check(L, ttisfunction(func), "function expected"); in lua_getinfo()294 lua_assert(ttisfunction(ci->func)); in lua_getinfo()590 if (!ttisfunction(errfunc)) luaD_throw(L, LUA_ERRERR); in luaG_errormsg()
139 #define ttisfunction(o) checktype(o, LUA_TFUNCTION) macro
127 if (ttisfunction(tm)) { in luaV_gettable()166 if (ttisfunction(tm)) { in luaV_settable()
348 if (!ttisfunction(tm)) in tryfuncTM()
814 if (tm != NULL && ttisfunction(tm)) { /* is there a finalizer? */ in GCTM()