| 25175 | |
| 25176 | public: |
| 25177 | state(lua_CFunction panic = default_at_panic) |
| 25178 | : unique_base(luaL_newstate()), state_view(unique_base::get()) { |
| 25179 | set_default_state(unique_base::get(), panic); |
| 25180 | } |
| 25181 | |
| 25182 | state(lua_CFunction panic, lua_Alloc alfunc, void* alpointer = nullptr) |
| 25183 | : unique_base(lua_newstate(alfunc, alpointer)), state_view(unique_base::get()) { |
nothing calls this directly
no test coverage detected