Home
last modified time | relevance | path

Searched refs:LUA_TFUNCTION (Results 1 – 15 of 15) sorted by relevance

/freebsd-11-stable/contrib/lua/src/
HDldblib.c251 luaL_checktype(L, 1, LUA_TFUNCTION); /* closure */ in auxupvalue()
277 luaL_checktype(L, argf, LUA_TFUNCTION); /* closure */ in checkupval()
310 if (lua_rawget(L, -2) == LUA_TFUNCTION) { /* is there a hook function? */ in hookf()
357 luaL_checktype(L, arg+1, LUA_TFUNCTION); in db_sethook()
HDlobject.h47 #define LUA_TLCL (LUA_TFUNCTION | (0 << 4)) /* Lua closure */
48 #define LUA_TLCF (LUA_TFUNCTION | (1 << 4)) /* light C function */
49 #define LUA_TCCL (LUA_TFUNCTION | (2 << 4)) /* C closure */
152 #define ttisfunction(o) checktype(o, LUA_TFUNCTION)
153 #define ttisclosure(o) ((rttype(o) & 0x1F) == LUA_TFUNCTION)
HDlbaselib.c346 luaL_checktype(L, 1, LUA_TFUNCTION); in luaB_load()
437 luaL_checktype(L, 2, LUA_TFUNCTION); /* check error function */ in luaB_xpcall()
HDlcorolib.c91 luaL_checktype(L, 1, LUA_TFUNCTION); in luaB_cocreate()
HDlua.h70 #define LUA_TFUNCTION 6 macro
352 #define lua_isfunction(L,n) (lua_type(L, (n)) == LUA_TFUNCTION)
HDlstate.h231 check_exp(novariant((o)->tt) == LUA_TFUNCTION, &((cast_u(o))->cl))
HDltablib.c416 luaL_checktype(L, 2, LUA_TFUNCTION); /* must be a function */ in sort()
HDlstrlib.c192 luaL_checktype(L, 1, LUA_TFUNCTION); in str_dump()
735 case LUA_TFUNCTION: { in add_value()
774 tr == LUA_TFUNCTION || tr == LUA_TTABLE, 3, in str_gsub()
/freebsd-11-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/lua/
HDlobject.h49 #define LUA_TLCL (LUA_TFUNCTION | (0 << 4)) /* Lua closure */
50 #define LUA_TLCF (LUA_TFUNCTION | (1 << 4)) /* light C function */
51 #define LUA_TCCL (LUA_TFUNCTION | (2 << 4)) /* C closure */
140 #define ttisfunction(o) checktype(o, LUA_TFUNCTION)
141 #define ttisclosure(o) ((rttype(o) & 0x1F) == LUA_TFUNCTION)
HDlcorolib.c83 luaL_checktype(L, 1, LUA_TFUNCTION); in luaB_cocreate()
HDlua.h82 #define LUA_TFUNCTION 6 macro
330 #define lua_isfunction(L,n) (lua_type(L, (n)) == LUA_TFUNCTION)
HDlstate.h208 check_exp(novariant((o)->gch.tt) == LUA_TFUNCTION, &((o)->cl))
HDlstrlib.c205 luaL_checktype(L, 1, LUA_TFUNCTION); in str_dump()
737 case LUA_TFUNCTION: { in add_value()
775 tr == LUA_TFUNCTION || tr == LUA_TTABLE, 3, in str_gsub()
HDltablib.c252 luaL_checktype(L, 2, LUA_TFUNCTION); in sort()
/freebsd-11-stable/contrib/libucl/lua/
HDlua_ucl.c401 case LUA_TFUNCTION: in ucl_object_lua_fromelt()
417 else if (type == LUA_TFUNCTION) { in ucl_object_lua_fromelt()