pythonBufferFlags

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.

enum int pythonBufferFlags(SliceKind kind, T);

Return Value

flags for Py_buffer request.

Meta