MCPcopy Create free account
hub / github.com/TombEngine/TombEngine / move_assign

Method move_assign

Libs/sol/sol.hpp:9177–9184  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9175 }
9176
9177 lua_State* move_assign(lua_State* L, lua_State* rL, stateless_reference&& r) {
9178 if (valid(L)) {
9179 deref(L);
9180 }
9181 ref = r.ref;
9182 r.ref = LUA_NOREF;
9183 return rL;
9184 }
9185
9186 protected:
9187 int stack_index() const noexcept {

Callers

nothing calls this directly

Calls 2

validFunction · 0.85
derefFunction · 0.85

Tested by

no test coverage detected