| 1434 | } |
| 1435 | |
| 1436 | static 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 | |
| 1444 | static int complex_enum_ipairs(lua_State *L) |
| 1445 | { |
nothing calls this directly
no test coverage detected