| 436 | } |
| 437 | |
| 438 | int 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 | |
| 452 | PyObject* oid_get_observed_buffers(AppHandler handler) { |
| 453 | const auto py_gil_raii = PyGILRAII{}; |
nothing calls this directly
no test coverage detected