Searched refs:LUA_TFUNCTION (Results 1 – 8 of 8) sorted by relevance
/external/lua/src/ |
D | ldblib.c | 260 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()
|
D | lobject.h | 566 #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)
|
D | lbaselib.c | 377 luaL_checktype(L, 1, LUA_TFUNCTION); in luaB_load() 468 luaL_checktype(L, 2, LUA_TFUNCTION); /* check error function */ in luaB_xpcall()
|
D | lcorolib.c | 94 luaL_checktype(L, 1, LUA_TFUNCTION); in luaB_cocreate()
|
D | lua.h | 71 #define LUA_TFUNCTION 6 macro 372 #define lua_isfunction(L,n) (lua_type(L, (n)) == LUA_TFUNCTION)
|
D | lstate.h | 370 check_exp(novariant((o)->tt) == LUA_TFUNCTION, &((cast_u(o))->cl))
|
D | ltablib.c | 402 luaL_checktype(L, 2, LUA_TFUNCTION); /* must be a function */ in sort()
|
D | lstrlib.c | 235 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()
|