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

Method thread_state

extlibs/sol3/include/sol/sol.hpp:25129–25133  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25127 }
25128
25129 lua_State* thread_state() const {
25130 auto pp = stack::push_pop(*this);
25131 lua_State* lthread = lua_tothread(lua_state(), -1);
25132 return lthread;
25133 }
25134
25135 thread_status status() const {
25136 lua_State* lthread = thread_state();

Callers 2

stateMethod · 0.95
is_main_threadMethod · 0.95

Calls 2

push_popFunction · 0.85
lua_tothreadFunction · 0.85

Tested by

no test coverage detected