Remove buffer API from stable ABI for now, see #10181.
diff --git a/Include/memoryobject.h b/Include/memoryobject.h
index f763531..62ecbd6 100644
--- a/Include/memoryobject.h
+++ b/Include/memoryobject.h
@@ -55,9 +55,11 @@
 
 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