Remove buffer API from stable ABI for now, see #10181.

This commit is contained in:
Martin v. Löwis 2011-01-06 19:15:47 +00:00
parent e85da7aa4f
commit c83bc3c1fb
5 changed files with 8 additions and 11 deletions

View file

@ -55,9 +55,11 @@ PyAPI_FUNC(PyObject *) PyMemoryView_GetContiguous(PyObject *base,
PyAPI_FUNC(PyObject *) PyMemoryView_FromObject(PyObject *base);
#ifndef Py_LIMITED_API
PyAPI_FUNC(PyObject *) PyMemoryView_FromBuffer(Py_buffer *info);
/* create new if bufptr is NULL
will be a new bytesobject in base */
#endif
/* The struct is declared here so that macros can work, but it shouldn't