| 29 | using namespace pybind11::literals; // to bring in the `_a` literal |
| 30 | |
| 31 | inline bool has_python_user_data(const py::object & obj) { |
| 32 | return obj.ptr() != nullptr && obj.ptr() != Py_None; |
| 33 | } |
| 34 | |
| 35 | |
| 36 | py::object py_log_callback; |
no outgoing calls
no test coverage detected