diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2011-01-06 19:15:47 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2011-01-06 19:15:47 (GMT) |
commit | c83bc3c1fbed14d27a5de3032e24d2cf006a7c4b (patch) | |
tree | 527ca0642bcb61ed5ad38b5ed420ae23180a372b /Include/object.h | |
parent | e85da7aa4f575e9925afafdb332b17e085c4aea1 (diff) | |
download | cpython-c83bc3c1fbed14d27a5de3032e24d2cf006a7c4b.zip cpython-c83bc3c1fbed14d27a5de3032e24d2cf006a7c4b.tar.gz cpython-c83bc3c1fbed14d27a5de3032e24d2cf006a7c4b.tar.bz2 |
Remove buffer API from stable ABI for now, see #10181.
Diffstat (limited to 'Include/object.h')
-rw-r--r-- | Include/object.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Include/object.h b/Include/object.h index 78bb13b..690f87b 100644 --- a/Include/object.h +++ b/Include/object.h @@ -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 *); |