MCPcopy Create free account
hub / github.com/Achain-Dev/Achain / GluaStateScope

Method GluaStateScope

src/Chain/libraries/glua/glua_state_scope.cpp:40–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

38 namespace lib
39 {
40 GluaStateScope::GluaStateScope(bool use_contract)
41 :_use_contract(use_contract) {
42 this->_L = create_lua_state(use_contract);
43 }
44 GluaStateScope::GluaStateScope(const GluaStateScope &other) : _L(other._L) {}
45 GluaStateScope::~GluaStateScope() {
46 if (nullptr != _L)

Callers

nothing calls this directly

Calls 1

create_lua_stateFunction · 0.85

Tested by

no test coverage detected