PyObject_GetBuffer

This is a C-API version of the getbuffer function call. It checks to make sure object has the required function pointer and issues the call. Returns -1 and raises an error on failure and returns 0 on success

version(Python_2_6_Or_Later)
extern (C)
int
PyObject_GetBuffer

Meta