struct Py_buffer

Defined at line 20 of file ../../prebuilt/third_party/python3/linux-x64/include/python3.11/pybuffer.h

=== New Buffer API ============================================

Limited API and stable ABI since Python 3.11

Py_buffer struct layout and size is now part of the stable abi3. The

struct layout and size must not be changed in any way, as it would

break the ABI.

Public Members

void * buf
PyObject * obj
Py_ssize_t len
Py_ssize_t itemsize
int readonly
int ndim
char * format
Py_ssize_t * shape
Py_ssize_t * strides
Py_ssize_t * suboffsets
void * internal