** 'ipairs' function. Returns 'ipairsaux', given "table", 0. ** (The given "table" may not be a table.) */
| 290 | ** (The given "table" may not be a table.) |
| 291 | */ |
| 292 | static int luaB_ipairs (lua_State *L) { |
| 293 | luaL_checkany(L, 1); |
| 294 | lua_pushcfunction(L, ipairsaux); /* iteration function */ |
| 295 | lua_pushvalue(L, 1); /* state */ |
| 296 | lua_pushinteger(L, 0); /* initial value */ |
| 297 | return 3; |
| 298 | } |
| 299 | |
| 300 | |
| 301 | static int load_aux (lua_State *L, int status, int envidx) { |
nothing calls this directly
no test coverage detected