diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2010-09-01 13:02:50 (GMT) |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2010-09-01 13:02:50 (GMT) |
commit | 1fcdba84be218fa2952315bd95e21339422df922 (patch) | |
tree | 93f394a43af300b607b81f1dd936ce7a91a63402 /Include | |
parent | 66c981b48b7337a385a0a23b2e36cc95d9339445 (diff) | |
download | cpython-1fcdba84be218fa2952315bd95e21339422df922.zip cpython-1fcdba84be218fa2952315bd95e21339422df922.tar.gz cpython-1fcdba84be218fa2952315bd95e21339422df922.tar.bz2 |
Merged revisions 84391 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r84391 | antoine.pitrou | 2010-09-01 14:58:21 +0200 (mer., 01 sept. 2010) | 5 lines
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.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Include/abstract.h b/Include/abstract.h index 6ca4988..e4ce5ad 100644 --- a/Include/abstract.h +++ b/Include/abstract.h @@ -1383,6 +1383,13 @@ PyAPI_FUNC(int) _PyObject_RealIsInstance(PyObject *inst, PyObject *cls); PyAPI_FUNC(int) _PyObject_RealIsSubclass(PyObject *derived, PyObject *cls); +/* 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 |