From: Dag Sverre Seljebotn Date: Thu, 15 Oct 2009 06:08:59 +0000 (+0200) Subject: numpy.pxd: Iterator macros X-Git-Tag: 0.13.beta0~2^2~121^2~52^2~7 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=2fdf96f178195c1aee6ad416a3727ac909370b9b;p=cython.git numpy.pxd: Iterator macros --- diff --git a/Cython/Includes/numpy.pxd b/Cython/Includes/numpy.pxd index 50e9f16a..f5776152 100644 --- a/Cython/Includes/numpy.pxd +++ b/Cython/Includes/numpy.pxd @@ -469,6 +469,13 @@ cdef extern from "numpy/arrayobject.h": object PyArray_Take(ndarray ap, object items, int axis) object PyArray_Put(ndarray ap, object items, object values) + void PyArray_ITER_RESET(flatiter it) nogil + void PyArray_ITER_NEXT(flatiter it) nogil + void PyArray_ITER_GOTO(flatiter it, npy_intp* destination) nogil + void PyArray_ITER_GOTO1D(flatiter it, npy_intp ind) nogil + void* PyArray_ITER_DATA(flatiter it) nogil + bint PyArray_ITER_NOTDONE(flatiter it) nogil + void PyArray_MultiIter_RESET(broadcast multi) nogil void PyArray_MultiIter_NEXT(broadcast multi) nogil void PyArray_MultiIter_GOTO(broadcast multi, npy_intp dest) nogil