summaryrefslogtreecommitdiff
path: root/numpy
diff options
context:
space:
mode:
authorDavid Cournapeau <cournape@gmail.com>2009-07-21 06:04:44 +0000
committerDavid Cournapeau <cournape@gmail.com>2009-07-21 06:04:44 +0000
commit56d6091935400947391bbb096ea8ab08bff67d4f (patch)
tree8165ce1a9c77752d6c8ef196c5e153a6e1193085 /numpy
parent759e989edf36a77648c2fdb970ba469e37ebc53a (diff)
downloadnumpy-56d6091935400947391bbb096ea8ab08bff67d4f.tar.gz
BUG: fix python 2.4 build.
Move NUMPY_API tag just above neighborhood iterator ctor, as comments in between cause parse errors on 2.4.
Diffstat (limited to 'numpy')
-rw-r--r--numpy/core/src/multiarray/iterators.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/core/src/multiarray/iterators.c b/numpy/core/src/multiarray/iterators.c
index e351fd4cc..9d3921012 100644
--- a/numpy/core/src/multiarray/iterators.c
+++ b/numpy/core/src/multiarray/iterators.c
@@ -1773,10 +1773,10 @@ static char* _set_constant(PyArrayNeighborhoodIterObject* iter,
return ret;
}
-/*NUMPY_API*/
/*
* fill and x->ao should have equivalent types
*/
+/*NUMPY_API*/
NPY_NO_EXPORT PyObject*
PyArray_NeighborhoodIterNew(PyArrayIterObject *x, intp *bounds,
int mode, PyArrayObject* fill)