MCPcopy Create free account
hub / github.com/DFHack/dfhack / dfhack_event_pairs

Function dfhack_event_pairs

library/LuaTools.cpp:1594–1601  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1592}
1593
1594static int dfhack_event_pairs(lua_State *L)
1595{
1596 luaL_checktype(L, 1, LUA_TUSERDATA);
1597 lua_pushcfunction(L, dfhack_event_next);
1598 lua_pushvalue(L, 1);
1599 lua_pushnil(L);
1600 return 3;
1601}
1602
1603static int dfhack_event_newindex(lua_State *L)
1604{

Callers

nothing calls this directly

Calls 3

luaL_checktypeFunction · 0.85
lua_pushvalueFunction · 0.85
lua_pushnilFunction · 0.85

Tested by

no test coverage detected