Searched refs:PyBufferObject (Results 1 – 2 of 2) sorted by relevance
15 } PyBufferObject; typedef26 get_buf(PyBufferObject *self, void **ptr, Py_ssize_t *size, in get_buf()102 PyBufferObject * b; in buffer_from_memory()115 b = PyObject_NEW(PyBufferObject, &PyBuffer_Type); in buffer_from_memory()138 if ( PyBuffer_Check(base) && (((PyBufferObject *)base)->b_base) ) { in buffer_from_object()140 PyBufferObject *b = (PyBufferObject *)base; in buffer_from_object()203 PyBufferObject * b; in PyBuffer_New()218 b = (PyBufferObject *) PyObject_INIT(o, &PyBuffer_Type); in PyBuffer_New()260 buffer_dealloc(PyBufferObject *self) in buffer_dealloc()267 buffer_compare(PyBufferObject *self, PyBufferObject *other) in buffer_compare()[all …]
364 .. c:type:: PyBufferObject382 indicates that the new :c:type:`PyBufferObject` should refer to *base*