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

Function pick_main_thread

extlibs/sol3/include/sol/sol.hpp:8577–8584  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8575
8576 template <bool b>
8577 inline lua_State* pick_main_thread(lua_State* L, lua_State* backup_if_unsupported = nullptr) {
8578 (void)L;
8579 (void)backup_if_unsupported;
8580 if (b) {
8581 return main_thread(L, backup_if_unsupported);
8582 }
8583 return L;
8584 }
8585 } // namespace detail
8586
8587 class stateless_reference {

Callers

nothing calls this directly

Calls 1

main_threadFunction · 0.85

Tested by

no test coverage detected