| 1334 | */ |
| 1335 | |
| 1336 | static int wtype_pnext(lua_State *L) |
| 1337 | { |
| 1338 | lua_settop(L, 2); /* create a 2nd argument if there isn't one */ |
| 1339 | if (lua_next(L, lua_upvalueindex(1))) |
| 1340 | return 2; |
| 1341 | lua_pushnil(L); |
| 1342 | return 1; |
| 1343 | } |
| 1344 | |
| 1345 | static int wtype_pairs(lua_State *state) |
| 1346 | { |
nothing calls this directly
no test coverage detected