PyBuffer_FillInfo

Fills in a buffer-info structure correctly for an exporter that can only share a contiguous chunk of memory of "unsigned bytes" of the given length. Returns 0 on success and -1 (with raising an error) on error.

version(Python_2_6_Or_Later)
int
PyBuffer_FillInfo

Meta