diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2011-01-06 19:15:47 +0000 |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2011-01-06 19:15:47 +0000 |
commit | a5147fd770aacd6166a38731f0afe03e15994cd4 (patch) | |
tree | 772d4d024de3b477f95fdf8679ee542d6d5c6e98 /Include/abstract.h | |
parent | f614b5e6bf81c2abc7c71caa720804ae3accbee2 (diff) | |
download | cpython-a5147fd770aacd6166a38731f0afe03e15994cd4.tar.gz |
Remove buffer API from stable ABI for now, see #10181.
Diffstat (limited to 'Include/abstract.h')
-rw-r--r-- | Include/abstract.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Include/abstract.h b/Include/abstract.h index 53c9dc7216..5f2d541e28 100644 --- a/Include/abstract.h +++ b/Include/abstract.h @@ -488,6 +488,7 @@ xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx*/ /* new buffer API */ +#ifndef Py_LIMITED_API #define PyObject_CheckBuffer(obj) \ (((obj)->ob_type->tp_as_buffer != NULL) && \ ((obj)->ob_type->tp_as_buffer->bf_getbuffer != NULL)) @@ -575,6 +576,7 @@ xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx*/ /* Releases a Py_buffer obtained from getbuffer ParseTuple's s*. */ +#endif /* Py_LIMITED_API */ PyAPI_FUNC(PyObject *) PyObject_Format(PyObject* obj, PyObject *format_spec); |