MCPcopy Create free account
hub / github.com/TombEngine/TombEngine / ~basic_table_iterator

Method ~basic_table_iterator

Libs/sol/sol.hpp:23415–23422  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23413 }
23414
23415 ~basic_table_iterator() {
23416 if (keyidx != -1) {
23417 stack::remove(ref.lua_state(), keyidx, 1);
23418 }
23419 if (ref.lua_state() != nullptr && ref.valid()) {
23420 stack::remove(ref.lua_state(), tableidx, 1);
23421 }
23422 }
23423 };
23424
23425} // namespace sol

Callers

nothing calls this directly

Calls 3

removeFunction · 0.85
lua_stateMethod · 0.45
validMethod · 0.45

Tested by

no test coverage detected