deimos.python.bufferobject

mirror bufferobject.h

(note bufferobject.h does not exist in python 3)

Members

Functions

PyBuffer_Check
int PyBuffer_Check(PyObject* op)

Availability: 2.*

PyBuffer_FromMemory
PyObject* PyBuffer_FromMemory(void* ptr, Py_ssize_t size)

Availability: 2.*

PyBuffer_FromObject
PyObject* PyBuffer_FromObject(PyObject* base, Py_ssize_t offset, Py_ssize_t size)

Availability: 2.*

PyBuffer_FromReadWriteMemory
PyObject* PyBuffer_FromReadWriteMemory(void* ptr, Py_ssize_t size)

Availability: 2.*

PyBuffer_FromReadWriteObject
PyObject* PyBuffer_FromReadWriteObject(PyObject* base, Py_ssize_t offset, Py_ssize_t size)

Availability: 2.*

PyBuffer_New
PyObject* PyBuffer_New(Py_ssize_t size)

Availability: 2.*

Manifest constants

Py_END_OF_BUFFER
enum Py_END_OF_BUFFER;

Availability: 2.*

Meta