Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
deref
Function · 0.85
reset
Function · 0.85
luaL_checkstack
Function · 0.85
Tested by
no test coverage detected