MCPcopy Create free account
hub / github.com/ObEngine/ObEngine / state

Method state

extlibs/sol3/include/sol/sol.hpp:25177–25180  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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()) {

Callers

nothing calls this directly

Calls 4

luaL_newstateFunction · 0.85
set_default_stateFunction · 0.85
lua_newstateFunction · 0.85
getFunction · 0.70

Tested by

no test coverage detected