From 0c0c49ce89f447b423c52aee795b1bf1fec4e9fe Mon Sep 17 00:00:00 2001 From: Mark Wiebe Date: Thu, 10 Mar 2011 00:52:59 -0800 Subject: API: Rename the iterator function pointer types to be more consistent with NumPy convention 'NpyIter_IterNext_Fn' -> 'NpyIter_IterNextFunc *' 'NpyIter_GetCoords_Fn' -> 'NpyIter_GetCoordsFunc *' --- numpy/lib/src/_compiled_base.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'numpy/lib') 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; -- cgit v1.2.1