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

Function complex_enum_next_item

library/LuaWrapper.cpp:1436–1442  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1434}
1435
1436static int complex_enum_next_item(lua_State *L)
1437{
1438 int64_t cur = luaL_checkint(L, lua_gettop(L) > 1 ? 2 : 1); // 'self' optional
1439 complex_enum_next_item_helper(L, cur, true);
1440 lua_pushinteger(L, cur);
1441 return 1;
1442}
1443
1444static int complex_enum_ipairs(lua_State *L)
1445{

Callers

nothing calls this directly

Calls 3

lua_gettopFunction · 0.85
lua_pushintegerFunction · 0.85

Tested by

no test coverage detected