Searched refs:LUA_TFUNCTION (Results 1 – 8 of 8) sorted by relevance
/external/lua/src/ |
D | 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()
|
D | 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)
|
D | 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()
|
D | lcorolib.c | 91 luaL_checktype(L, 1, LUA_TFUNCTION); in luaB_cocreate()
|
D | lua.h | 70 #define LUA_TFUNCTION 6 macro 352 #define lua_isfunction(L,n) (lua_type(L, (n)) == LUA_TFUNCTION)
|
D | lstate.h | 231 check_exp(novariant((o)->tt) == LUA_TFUNCTION, &((cast_u(o))->cl))
|
D | ltablib.c | 416 luaL_checktype(L, 2, LUA_TFUNCTION); /* must be a function */ in sort()
|
D | 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()
|