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

Method abandon

include/sol/stack_reference.hpp:111–113  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

109 }
110
111 void abandon(lua_State* = nullptr) noexcept {
112 m_index = 0;
113 }
114
115 stateless_stack_reference copy(lua_State* L_) const noexcept {
116 return stateless_stack_reference(L_, raw_index(m_index));

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected