MCPcopy Create free account
hub / github.com/OpenImageDebugger/OpenImageDebugger / oid_exec

Function oid_exec

src/oidbridge/oid_bridge.cpp:424–436  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

422}
423
424void oid_exec(const AppHandler handler) {
425 const auto py_gil_raii = PyGILRAII{};
426
427 const auto app = static_cast<OidBridge*>(handler);
428
429 if (app == nullptr) [[unlikely]] {
430 RAISE_PY_EXCEPTION(PyExc_RuntimeError,
431 "oid_exec received null application handler");
432 return;
433 }
434
435 app->start();
436}
437
438int oid_is_window_ready(const AppHandler handler) {
439 const auto py_gil_raii = PyGILRAII{};

Callers

nothing calls this directly

Calls 1

startMethod · 0.45

Tested by

no test coverage detected