MCPcopy Create free account
hub / github.com/dmlc/dmlc-core / ~LuaState

Method ~LuaState

include/dmlc/lua.h:464–469  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

462}
463
464inline LuaState::~LuaState() {
465 if (option_ != kThreadLocal && L_ != nullptr) {
466 // never close threadlocal, for save destruction.
467 lua_close(L_);
468 }
469}
470
471inline LuaState* LuaState::Create_(Option opt) {
472 LuaState* s = new LuaState();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected