| 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) |
nothing calls this directly
no test coverage detected