Home
last modified time | relevance | path

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

/external/lua/src/
Dldblib.c260 luaL_checktype(L, 1, LUA_TFUNCTION); /* closure */ in auxupvalue()
286 luaL_checktype(L, argf, LUA_TFUNCTION); /* closure */ in checkupval()
319 if (lua_rawget(L, -2) == LUA_TFUNCTION) { /* is there a hook function? */ in hookf()
366 luaL_checktype(L, arg+1, LUA_TFUNCTION); in db_sethook()
Dlobject.h566 #define LUA_VLCL makevariant(LUA_TFUNCTION, 0) /* Lua closure */
567 #define LUA_VLCF makevariant(LUA_TFUNCTION, 1) /* light C function */
568 #define LUA_VCCL makevariant(LUA_TFUNCTION, 2) /* C closure */
570 #define ttisfunction(o) checktype(o, LUA_TFUNCTION)
Dlbaselib.c377 luaL_checktype(L, 1, LUA_TFUNCTION); in luaB_load()
468 luaL_checktype(L, 2, LUA_TFUNCTION); /* check error function */ in luaB_xpcall()
Dlcorolib.c94 luaL_checktype(L, 1, LUA_TFUNCTION); in luaB_cocreate()
Dlua.h71 #define LUA_TFUNCTION 6 macro
372 #define lua_isfunction(L,n) (lua_type(L, (n)) == LUA_TFUNCTION)
Dlstate.h370 check_exp(novariant((o)->tt) == LUA_TFUNCTION, &((cast_u(o))->cl))
Dltablib.c402 luaL_checktype(L, 2, LUA_TFUNCTION); /* must be a function */ in sort()
Dlstrlib.c235 luaL_checktype(L, 1, LUA_TFUNCTION); in str_dump()
907 case LUA_TFUNCTION: { /* call the function */ in add_value()
952 tr == LUA_TFUNCTION || tr == LUA_TTABLE, 3, in str_gsub()