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

Method move_assign

extlibs/sol3/include/sol/sol.hpp:8609–8616  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8607 }
8608
8609 lua_State* move_assign(lua_State* L, lua_State* rL, stateless_reference&& r) {
8610 if (valid(L)) {
8611 deref(L);
8612 }
8613 ref = r.ref;
8614 r.ref = LUA_NOREF;
8615 return rL;
8616 }
8617
8618 protected:
8619 int stack_index () const noexcept {

Callers

nothing calls this directly

Calls 1

derefFunction · 0.85

Tested by

no test coverage detected