| 97 | bool IsPyUuid(PyObject* obj); |
| 98 | |
| 99 | inline bool IsPyBinary(PyObject* obj) { |
| 100 | return PyBytes_Check(obj) || PyByteArray_Check(obj) || PyMemoryView_Check(obj); |
| 101 | } |
| 102 | |
| 103 | // \brief Convert a Python integer into a C integer |
| 104 | // \param[in] obj A Python integer |