mirror of
https://github.com/python/cpython
synced 2026-09-29 12:10:30 +03:00
Remove buffer API from stable ABI for now, see #10181.
This commit is contained in:
parent
e85da7aa4f
commit
c83bc3c1fb
5 changed files with 8 additions and 11 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue