| 255 | |
| 256 | |
| 257 | static int luaB_ipairs (lua_State *L) { |
| 258 | luaL_checktype(L, 1, LUA_TTABLE); |
| 259 | lua_pushvalue(L, lua_upvalueindex(1)); /* return generator, */ |
| 260 | lua_pushvalue(L, 1); /* state, */ |
| 261 | lua_pushinteger(L, 0); /* and initial value */ |
| 262 | return 3; |
| 263 | } |
| 264 | |
| 265 | |
| 266 | static int load_aux (lua_State *L, int status) { |
nothing calls this directly
no test coverage detected