MCPcopy Create free account
hub / github.com/MrNeRF/LichtFeld-Studio / was_python_used

Function was_python_used

src/python/runner.cpp:850–852  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

848 }
849
850 bool was_python_used() {
851 return get_main_thread_state() != nullptr || Py_IsInitialized();
852 }
853
854 void install_output_redirect() {
855 call_once_redirect([] {

Callers

nothing calls this directly

Calls 1

get_main_thread_stateFunction · 0.85

Tested by

no test coverage detected