MCPcopy Create free account
hub / github.com/MonaSolutions/MonaServer / Next

Method Next

MonaServer/sources/Script.cpp:366–372  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

364
365
366int Script::Next(lua_State* pState) {
367 // 1 table
368 // [2 key] (optional)
369 if (lua_gettop(pState) < 2)
370 lua_pushnil(pState);
371 return Script::Next(pState, 1);
372}
373
374int Script::Next(lua_State* pState,int index) {
375 // -1 is key

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected