summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2010-09-01 12:58:21 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2010-09-01 12:58:21 (GMT)
commitf68c2a701bbca88da1299efe4aba84699827e791 (patch)
tree786ffc853d9465924c48cd3f6b7c7c9ce9881e9e /Include
parent53c58f8bcc6513321a5614e31eeb468eda4f4a40 (diff)
downloadcpython-f68c2a701bbca88da1299efe4aba84699827e791.zip
cpython-f68c2a701bbca88da1299efe4aba84699827e791.tar.gz
cpython-f68c2a701bbca88da1299efe4aba84699827e791.tar.bz2
Issue #3101: Helper functions _add_one_to_C() and _add_one_to_F() become
_Py_add_one_to_C() and _Py_add_one_to_F(), respectively.
Diffstat (limited to 'Include')
-rw-r--r--Include/abstract.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/Include/abstract.h b/Include/abstract.h
index dd58e3f..2399079 100644
--- a/Include/abstract.h
+++ b/Include/abstract.h
@@ -1236,6 +1236,13 @@ PyAPI_FUNC(char *const *) _PySequence_BytesToCharpArray(PyObject* self);
PyAPI_FUNC(void) _Py_FreeCharPArray(char *const array[]);
+/* For internal use by buffer API functions */
+PyAPI_FUNC(void) _Py_add_one_to_index_F(int nd, Py_ssize_t *index,
+ const Py_ssize_t *shape);
+PyAPI_FUNC(void) _Py_add_one_to_index_C(int nd, Py_ssize_t *index,
+ const Py_ssize_t *shape);
+
+
#ifdef __cplusplus
}
#endif