MCPcopy Create free account
hub / github.com/ThePhD/sol2 / reset

Method reset

include/sol/stack_reference.hpp:103–105  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

101 }
102
103 void reset(lua_State*) noexcept {
104 m_index = 0;
105 }
106
107 void reset(lua_State* L_, int index_) noexcept {
108 m_index = absolute_index(L_, index_);

Callers

nothing calls this directly

Calls 1

absolute_indexClass · 0.85

Tested by

no test coverage detected