Searched refs:ttisfunction (Results 1 – 9 of 9) sorted by relevance
288 api_check(L, ttisfunction(func), "function expected"); in lua_getinfo()295 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()
362 if (!ttisfunction(tm)) in tryfuncTM()
814 if (tm != NULL && ttisfunction(tm)) { /* is there a finalizer? */ in GCTM()
392 api_check(L, ttisfunction(func), "function expected"); in lua_getinfo()399 lua_assert(ttisfunction(func)); in lua_getinfo()812 lua_assert(ttisfunction(s2v(errfunc))); in luaG_errormsg()
594 #define ttisfunction(o) checktype(o, LUA_TFUNCTION) macro
312 if (ttisfunction(tm)) { /* is metamethod a function? */ in luaV_finishget()357 if (ttisfunction(tm)) { in luaV_finishset()
1058 api_check(L, ttisfunction(s2v(o)), "error handler must be a function"); in lua_pcallk()