Searched refs:ttisfunction (Results 1 – 9 of 9) sorted by relevance
287 api_check(L, ttisfunction(func), "function expected"); in lua_getinfo()294 lua_assert(ttisfunction(ci->func)); in lua_getinfo()589 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()
347 if (!ttisfunction(tm)) in tryfuncTM()
814 if (tm != NULL && ttisfunction(tm)) { /* is there a finalizer? */ in GCTM()
395 api_check(L, ttisfunction(func), "function expected"); in lua_getinfo()402 lua_assert(ttisfunction(func)); in lua_getinfo()757 lua_assert(ttisfunction(s2v(errfunc))); in luaG_errormsg()
315 if (ttisfunction(tm)) { /* is metamethod a function? */ in luaV_finishget()363 if (ttisfunction(tm)) { in luaV_finishset()1648 while (!ttisfunction(s2v(ra))) { /* not a function? */ in luaV_execute()
572 #define ttisfunction(o) checktype(o, LUA_TFUNCTION) macro
1025 api_check(L, ttisfunction(s2v(o)), "error handler must be a function"); in lua_pcallk()