Remove buffer API from stable ABI for now, see #10181.
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(*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 @@
#define PyBUF_WRITE 0x200
/* End buffer interface */
+#endif /* Py_LIMITED_API */
typedef int (*objobjproc)(PyObject *, PyObject *);
typedef int (*visitproc)(PyObject *, void *);