PyObject_CheckBuffer

Return 1 if the getbuffer function is available, otherwise return 0

version(Python_2_6_Or_Later)
int
PyObject_CheckBuffer
()

Meta