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

Method reset

include/sol/reference.hpp:401–406  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

399 }
400
401 void reset(lua_State* L_) noexcept {
402 if (valid(L_)) {
403 deref(L_);
404 }
405 ref = LUA_NOREF;
406 }
407
408 void reset(lua_State* L_, int index_) noexcept {
409 reset(L_);

Callers

nothing calls this directly

Calls 3

derefFunction · 0.85
resetFunction · 0.85
luaL_checkstackFunction · 0.85

Tested by

no test coverage detected