| 13623 | |
| 13624 | #if PY_MAJOR_VERSION < 3 |
| 13625 | static int __Pyx_GetBuffer(PyObject *obj, Py_buffer *view, int flags) { |
| 13626 | if (PyObject_CheckBuffer(obj)) return PyObject_GetBuffer(obj, view, flags); |
| 13627 | PyErr_Format(PyExc_TypeError, "'%.200s' does not have the buffer interface", Py_TYPE(obj)->tp_name); |
| 13628 | return -1; |
| 13629 | } |
| 13630 | static void __Pyx_ReleaseBuffer(Py_buffer *view) { |
| 13631 | PyObject *obj = view->obj; |
| 13632 | if (!obj) return; |
no outgoing calls
no test coverage detected