| 31 | namespace { |
| 32 | |
| 33 | inline bool PyIsInstance(PyObject* obj, PyTypeObject* t) { |
| 34 | return PyObject_IsInstance(obj, reinterpret_cast<PyObject*>(t)); |
| 35 | } |
| 36 | |
| 37 | inline PyObject* PyType(PyObject* obj) { |
| 38 | return reinterpret_cast<PyObject*>(obj->ob_type); |
no outgoing calls
no test coverage detected