Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dmlc/dmlc-core
/ ~LuaRef
Method
~LuaRef
include/dmlc/lua.h:593–599 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
591
}
592
593
inline LuaRef::~LuaRef() {
594
if (state_ != nullptr) {
595
state_->PRun_([this](lua_State* L) {
596
luaL_unref(L, LUA_REGISTRYINDEX, ref_);
597
});
598
}
599
}
600
601
inline bool LuaRef::is_nil() const {
602
return state_ == nullptr;
Callers
nothing calls this directly
Calls
1
PRun_
Method · 0.80
Tested by
no test coverage detected