Searched refs:ttisfunction (Results 1 – 4 of 4) sorted by relevance
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()
308 if (ttisfunction(tm)) { /* is metamethod a function? */ in luaV_finishget()356 if (ttisfunction(tm)) { in luaV_finishset()1634 while (!ttisfunction(s2v(ra))) { /* not a function? */ in luaV_execute()
570 #define ttisfunction(o) checktype(o, LUA_TFUNCTION) macro
1025 api_check(L, ttisfunction(s2v(o)), "error handler must be a function"); in lua_pcallk()