summaryrefslogtreecommitdiff
path: root/numpy/lib/src
diff options
context:
space:
mode:
authorMark Wiebe <mwwiebe@gmail.com>2011-03-10 00:52:59 -0800
committerMark Wiebe <mwwiebe@gmail.com>2011-03-10 18:38:56 -0800
commit0c0c49ce89f447b423c52aee795b1bf1fec4e9fe (patch)
tree335ffd7572c479857ac62f150ceab564878bd790 /numpy/lib/src
parent72ef8a6cd4a1491212e7fc4a581825e2267903c8 (diff)
downloadnumpy-0c0c49ce89f447b423c52aee795b1bf1fec4e9fe.tar.gz
API: Rename the iterator function pointer types to be more consistent with NumPy convention
'NpyIter_IterNext_Fn' -> 'NpyIter_IterNextFunc *' 'NpyIter_GetCoords_Fn' -> 'NpyIter_GetCoordsFunc *'
Diffstat (limited to 'numpy/lib/src')
-rw-r--r--numpy/lib/src/_compiled_base.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/numpy/lib/src/_compiled_base.c b/numpy/lib/src/_compiled_base.c
index bca2426e6..b44cfb471 100644
--- a/numpy/lib/src/_compiled_base.c
+++ b/numpy/lib/src/_compiled_base.c
@@ -765,7 +765,7 @@ arr_ravel_coords(PyObject *self, PyObject *args, PyObject *kwds)
}
if (NpyIter_GetIterSize(iter) != 0) {
- NpyIter_IterNext_Fn iternext;
+ NpyIter_IterNextFunc *iternext;
char **dataptr;
npy_intp *strides;
npy_intp *countptr;
@@ -962,7 +962,7 @@ arr_unravel_index(PyObject *self, PyObject *args, PyObject *kwds)
if (order == NPY_CORDER) {
if (NpyIter_GetIterSize(iter) != 0) {
- NpyIter_IterNext_Fn iternext;
+ NpyIter_IterNextFunc *iternext;
char **dataptr;
npy_intp *strides;
npy_intp *countptr, count;
@@ -989,7 +989,7 @@ arr_unravel_index(PyObject *self, PyObject *args, PyObject *kwds)
}
else if (order == NPY_FORTRANORDER) {
if (NpyIter_GetIterSize(iter) != 0) {
- NpyIter_IterNext_Fn iternext;
+ NpyIter_IterNextFunc *iternext;
char **dataptr;
npy_intp *strides;
npy_intp *countptr, count;