Searched refs:LUA_TFUNCTION (Results 1 – 8 of 8) sorted by relevance
/l4re-core-master/lua/lib/contrib/src/ |
A D | ldblib.c | 261 luaL_checktype(L, 1, LUA_TFUNCTION); /* closure */ in auxupvalue() 288 luaL_checktype(L, argf, LUA_TFUNCTION); /* closure */ in checkupval() 328 if (lua_rawget(L, -2) == LUA_TFUNCTION) { /* is there a hook function? */ in hookf() 375 luaL_checktype(L, arg+1, LUA_TFUNCTION); in db_sethook()
|
A D | lobject.h | 577 #define LUA_VLCL makevariant(LUA_TFUNCTION, 0) /* Lua closure */ 578 #define LUA_VLCF makevariant(LUA_TFUNCTION, 1) /* light C function */ 579 #define LUA_VCCL makevariant(LUA_TFUNCTION, 2) /* C closure */ 581 #define ttisfunction(o) checktype(o, LUA_TFUNCTION)
|
A D | lbaselib.c | 378 luaL_checktype(L, 1, LUA_TFUNCTION); in luaB_load() 469 luaL_checktype(L, 2, LUA_TFUNCTION); /* check error function */ in luaB_xpcall()
|
A D | lcorolib.c | 97 luaL_checktype(L, 1, LUA_TFUNCTION); in luaB_cocreate()
|
A D | lua.h | 71 #define LUA_TFUNCTION 6 macro 373 #define lua_isfunction(L,n) (lua_type(L, (n)) == LUA_TFUNCTION)
|
A D | lstate.h | 374 check_exp(novariant((o)->tt) == LUA_TFUNCTION, &((cast_u(o))->cl))
|
A D | ltablib.c | 403 luaL_checktype(L, 2, LUA_TFUNCTION); /* must be a function */ in sort()
|
A D | lstrlib.c | 236 luaL_checktype(L, 1, LUA_TFUNCTION); in str_dump() 910 case LUA_TFUNCTION: { /* call the function */ in add_value() 955 tr == LUA_TFUNCTION || tr == LUA_TTABLE, 3, in str_gsub()
|
Completed in 16 milliseconds