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

Function oid_is_window_ready

src/oidbridge/oid_bridge.cpp:438–450  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

436}
437
438int oid_is_window_ready(const AppHandler handler) {
439 const auto py_gil_raii = PyGILRAII{};
440
441 const auto app = static_cast<OidBridge*>(handler);
442
443 if (app == nullptr) [[unlikely]] {
444 RAISE_PY_EXCEPTION(PyExc_RuntimeError,
445 "oid_exec received null application handler");
446 return 0;
447 }
448
449 return app->is_window_ready();
450}
451
452PyObject* oid_get_observed_buffers(AppHandler handler) {
453 const auto py_gil_raii = PyGILRAII{};

Callers

nothing calls this directly

Calls 1

is_window_readyMethod · 0.80

Tested by

no test coverage detected