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