MCPcopy Create free account
hub / github.com/RomanKubiak/ctrlr / luaB_ipairs

Function luaB_ipairs

Source/Misc/lua/src/lua.c:11121–11127  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11119
11120
11121static int luaB_ipairs (lua_State *L) {
11122luaL_checktype(L, 1, LUA_TTABLE);
11123lua_pushvalue(L, lua_upvalueindex(1)); /* return generator, */
11124lua_pushvalue(L, 1); /* state, */
11125lua_pushinteger(L, 0); /* and initial value */
11126return 3;
11127}
11128
11129
11130static int load_aux (lua_State *L, int status) {

Callers

nothing calls this directly

Calls 3

luaL_checktypeFunction · 0.85
lua_pushvalueFunction · 0.85
lua_pushintegerFunction · 0.85

Tested by

no test coverage detected