| 821 | } |
| 822 | |
| 823 | static int pen_pnext(lua_State *L) |
| 824 | { |
| 825 | lua_settop(L, 2); /* create a 2nd argument if there isn't one */ |
| 826 | if (lua_next(L, lua_upvalueindex(1))) |
| 827 | return 2; |
| 828 | lua_pushnil(L); |
| 829 | return 1; |
| 830 | } |
| 831 | |
| 832 | static int dfhack_pen_pairs(lua_State *L) |
| 833 | { |
nothing calls this directly
no test coverage detected