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

Method copy_assign

include/sol/stack_reference.hpp:119–121  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

117 }
118
119 void copy_assign(lua_State*, const stateless_stack_reference& right) noexcept {
120 m_index = right.m_index;
121 }
122
123 bool equals(lua_State* L_, const stateless_stack_reference& r) const noexcept {
124 return lua_compare(L_, this->stack_index(), r.stack_index(), LUA_OPEQ) == 1;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected