| 260 | int ref = LUA_NOREF; |
| 261 | |
| 262 | int copy_ref(lua_State* L_) const noexcept { |
| 263 | if (ref == LUA_NOREF) |
| 264 | return LUA_NOREF; |
| 265 | push(L_); |
| 266 | return luaL_ref(L_, LUA_REGISTRYINDEX); |
| 267 | } |
| 268 | |
| 269 | lua_State* copy_assign_ref(lua_State* L_, lua_State* rL, const stateless_reference& r) { |
| 270 | if (valid(L_)) { |