Home
last modified time | relevance | path

Searched refs:ttisfunction (Results 1 – 9 of 9) sorted by relevance

/freebsd/sys/contrib/openzfs/module/lua/
H A Dldebug.c288 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()
H A Dlobject.h139 #define ttisfunction(o) checktype(o, LUA_TFUNCTION) macro
H A Dlvm.c127 if (ttisfunction(tm)) { in luaV_gettable()
166 if (ttisfunction(tm)) { in luaV_settable()
H A Dldo.c362 if (!ttisfunction(tm)) in tryfuncTM()
H A Dlgc.c814 if (tm != NULL && ttisfunction(tm)) { /* is there a finalizer? */ in GCTM()
/freebsd/contrib/lua/src/
H A Dldebug.c397 api_check(L, ttisfunction(func), "function expected"); in lua_getinfo()
404 lua_assert(ttisfunction(func)); in lua_getinfo()
838 lua_assert(ttisfunction(s2v(errfunc))); in luaG_errormsg()
H A Dlobject.h592 #define ttisfunction(o) checktype(o, LUA_TFUNCTION) macro
H A Dlvm.c314 if (ttisfunction(tm)) { /* is metamethod a function? */ in luaV_finishget()
362 if (ttisfunction(tm)) { in luaV_finishset()
H A Dlapi.c1058 api_check(L, ttisfunction(s2v(o)), "error handler must be a function"); in lua_pcallk()