mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00: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
|
@ -143,7 +143,7 @@ typedef int(*ssizeobjargproc)(PyObject *, Py_ssize_t, PyObject *);
|
|||
typedef int(*ssizessizeobjargproc)(PyObject *, Py_ssize_t, Py_ssize_t, PyObject *);
|
||||
typedef int(*objobjargproc)(PyObject *, PyObject *, PyObject *);
|
||||
|
||||
|
||||
#ifndef Py_LIMITED_API
|
||||
/* buffer interface */
|
||||
typedef struct bufferinfo {
|
||||
void *buf;
|
||||
|
@ -195,6 +195,7 @@ typedef void (*releasebufferproc)(PyObject *, Py_buffer *);
|
|||
#define PyBUF_WRITE 0x200
|
||||
|
||||
/* End buffer interface */
|
||||
#endif /* Py_LIMITED_API */
|
||||
|
||||
typedef int (*objobjproc)(PyObject *, PyObject *);
|
||||
typedef int (*visitproc)(PyObject *, void *);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue