Python Buffer structure.
Error codes for ndslice - Py_buffer conversion.
Fills the slice (structure) from the python view. The view should be created by $(PGB) that was called with pythonBufferFlags.
Fills the python view (structure) from the slice.
Python Buffer structure.
Returns python format (type) string. For example, "O" for PyObject and "B" for ubyte.
Construct flags for $(PGB). If T is not const or immutable then the flags require writable buffer. If slice kind is Contiguous then the flags require c_contiguous buffer.
Utilities for Python Buffer Protocol.