Issue #12834: Fix PyBuffer_ToContiguous() for non-contiguous arrays.
diff --git a/Include/abstract.h b/Include/abstract.h
index e879fa1b..44b5af7 100644
--- a/Include/abstract.h
+++ b/Include/abstract.h
@@ -535,11 +535,12 @@
+ /* Implementation in memoryobject.c */
PyAPI_FUNC(int) PyBuffer_ToContiguous(void *buf, Py_buffer *view,
- Py_ssize_t len, char fort);
+ Py_ssize_t len, char order);
PyAPI_FUNC(int) PyBuffer_FromContiguous(Py_buffer *view, void *buf,
- Py_ssize_t len, char fort);
+ Py_ssize_t len, char order);
/* Copy len bytes of data from the contiguous chunk of memory