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

Function luaB_pairs

Source/Misc/lua/src/lua.c:11102–11108  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11100
11101
11102static int luaB_pairs (lua_State *L) {
11103luaL_checktype(L, 1, LUA_TTABLE);
11104lua_pushvalue(L, lua_upvalueindex(1)); /* return generator, */
11105lua_pushvalue(L, 1); /* state, */
11106lua_pushnil(L); /* and initial value */
11107return 3;
11108}
11109
11110
11111static int ipairsaux (lua_State *L) {

Callers

nothing calls this directly

Calls 3

luaL_checktypeFunction · 0.85
lua_pushvalueFunction · 0.85
lua_pushnilFunction · 0.85

Tested by

no test coverage detected