Home
last modified time | relevance | path

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

/external/lua/src/
Dldblib.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()
Dlobject.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)
Dlbaselib.c346 luaL_checktype(L, 1, LUA_TFUNCTION); in luaB_load()
437 luaL_checktype(L, 2, LUA_TFUNCTION); /* check error function */ in luaB_xpcall()
Dlcorolib.c91 luaL_checktype(L, 1, LUA_TFUNCTION); in luaB_cocreate()
Dlua.h70 #define LUA_TFUNCTION 6 macro
352 #define lua_isfunction(L,n) (lua_type(L, (n)) == LUA_TFUNCTION)
Dlstate.h231 check_exp(novariant((o)->tt) == LUA_TFUNCTION, &((cast_u(o))->cl))
Dltablib.c416 luaL_checktype(L, 2, LUA_TFUNCTION); /* must be a function */ in sort()
Dlstrlib.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()