Home
last modified time | relevance | path

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

/freebsd/contrib/lua/src/
H A Dldblib.c261 luaL_checktype(L, 1, LUA_TFUNCTION); /* closure */ in auxupvalue()
288 luaL_checktype(L, argf, LUA_TFUNCTION); /* closure */ in checkupval()
328 if (lua_rawget(L, -2) == LUA_TFUNCTION) { /* is there a hook function? */ in hookf()
375 luaL_checktype(L, arg+1, LUA_TFUNCTION); in db_sethook()
H A Dlobject.h590 #define LUA_VLCL makevariant(LUA_TFUNCTION, 0) /* Lua closure */
591 #define LUA_VLCF makevariant(LUA_TFUNCTION, 1) /* light C function */
592 #define LUA_VCCL makevariant(LUA_TFUNCTION, 2) /* C closure */
594 #define ttisfunction(o) checktype(o, LUA_TFUNCTION)
H A Dlcorolib.c97 luaL_checktype(L, 1, LUA_TFUNCTION); in luaB_cocreate()
H A Dlbaselib.c399 luaL_checktype(L, 1, LUA_TFUNCTION); in luaB_load()
490 luaL_checktype(L, 2, LUA_TFUNCTION); /* check error function */ in luaB_xpcall()
H A Dlua.h71 #define LUA_TFUNCTION 6 macro
384 #define lua_isfunction(L,n) (lua_type(L, (n)) == LUA_TFUNCTION)
H A Dlstate.h379 check_exp(novariant((o)->tt) == LUA_TFUNCTION, &((cast_u(o))->cl))
H A Dltablib.c404 luaL_checktype(L, 2, LUA_TFUNCTION); /* must be a function */ in sort()
H A Dlstrlib.c236 luaL_checktype(L, 1, LUA_TFUNCTION); in str_dump()
910 case LUA_TFUNCTION: { /* call the function */ in add_value()
955 tr == LUA_TFUNCTION || tr == LUA_TTABLE, 3, in str_gsub()
H A Dltests.c1082 luaL_checktype(L, 1, LUA_TFUNCTION); in upvalue()
/freebsd/sys/contrib/openzfs/module/lua/
H A Dlobject.h48 #define LUA_TLCL (LUA_TFUNCTION | (0 << 4)) /* Lua closure */
49 #define LUA_TLCF (LUA_TFUNCTION | (1 << 4)) /* light C function */
50 #define LUA_TCCL (LUA_TFUNCTION | (2 << 4)) /* C closure */
139 #define ttisfunction(o) checktype(o, LUA_TFUNCTION)
140 #define ttisclosure(o) ((rttype(o) & 0x1F) == LUA_TFUNCTION)
H A Dlcorolib.c82 luaL_checktype(L, 1, LUA_TFUNCTION); in luaB_cocreate()
H A Dlstate.h210 check_exp(novariant((o)->gch.tt) == LUA_TFUNCTION, &((o)->cl))
H A Dlstrlib.c187 luaL_checktype(L, 1, LUA_TFUNCTION); in str_dump()
719 case LUA_TFUNCTION: { in add_value()
757 tr == LUA_TFUNCTION || tr == LUA_TTABLE, 3, in str_gsub()
H A Dltablib.c251 luaL_checktype(L, 2, LUA_TFUNCTION); in tsort()
/freebsd/sys/contrib/openzfs/include/sys/lua/
H A Dlua.h83 #define LUA_TFUNCTION 6 macro
331 #define lua_isfunction(L,n) (lua_type(L, (n)) == LUA_TFUNCTION)
/freebsd/contrib/libucl/lua/
H A Dlua_ucl.c506 case LUA_TFUNCTION: in ucl_object_lua_fromelt()
522 else if (type == LUA_TFUNCTION) { in ucl_object_lua_fromelt()
/freebsd/contrib/llvm-project/lldb/bindings/lua/
H A Dlua-typemaps.swig162 luaL_checktype(L, 2, LUA_TFUNCTION);
/freebsd/lib/clang/liblldb/
H A DLLDBWrapLua.cpp834 #define LFUNCVAL(x) {LUA_TFUNCTION, {.function = x} }
1217 case LUA_TFUNCTION: in SWIG_Lua_elua_emulate_register()
20262 luaL_checktype(L, 2, LUA_TFUNCTION); in _wrap_SBDebugger_Create__SWIG_2()
22727 luaL_checktype(L, 2, LUA_TFUNCTION); in _wrap_SBDebugger_SetLoggingCallback()