Searched refs:LUA_TFUNCTION (Results 1 – 15 of 15) sorted by relevance
| /freebsd-11-stable/contrib/lua/src/ |
| HD | ldblib.c | 251 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()
|
| HD | lobject.h | 47 #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)
|
| HD | lbaselib.c | 346 luaL_checktype(L, 1, LUA_TFUNCTION); in luaB_load() 437 luaL_checktype(L, 2, LUA_TFUNCTION); /* check error function */ in luaB_xpcall()
|
| HD | lcorolib.c | 91 luaL_checktype(L, 1, LUA_TFUNCTION); in luaB_cocreate()
|
| HD | lua.h | 70 #define LUA_TFUNCTION 6 macro 352 #define lua_isfunction(L,n) (lua_type(L, (n)) == LUA_TFUNCTION)
|
| HD | lstate.h | 231 check_exp(novariant((o)->tt) == LUA_TFUNCTION, &((cast_u(o))->cl))
|
| HD | ltablib.c | 416 luaL_checktype(L, 2, LUA_TFUNCTION); /* must be a function */ in sort()
|
| HD | lstrlib.c | 192 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/ |
| HD | lobject.h | 49 #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)
|
| HD | lcorolib.c | 83 luaL_checktype(L, 1, LUA_TFUNCTION); in luaB_cocreate()
|
| HD | lua.h | 82 #define LUA_TFUNCTION 6 macro 330 #define lua_isfunction(L,n) (lua_type(L, (n)) == LUA_TFUNCTION)
|
| HD | lstate.h | 208 check_exp(novariant((o)->gch.tt) == LUA_TFUNCTION, &((o)->cl))
|
| HD | lstrlib.c | 205 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()
|
| HD | ltablib.c | 252 luaL_checktype(L, 2, LUA_TFUNCTION); in sort()
|
| /freebsd-11-stable/contrib/libucl/lua/ |
| HD | lua_ucl.c | 401 case LUA_TFUNCTION: in ucl_object_lua_fromelt() 417 else if (type == LUA_TFUNCTION) { in ucl_object_lua_fromelt()
|