From: Eric Firing Date: Tue, 20 Apr 2010 08:16:13 +0000 (+0200) Subject: Bugfix in numpy.pxd X-Git-Tag: 0.13.beta0~175 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=36b2a2af51100983139623fa68cec5c6fef73fcc;p=cython.git Bugfix in numpy.pxd --- diff --git a/Cython/Includes/numpy.pxd b/Cython/Includes/numpy.pxd index 26af3b06..ad6a963b 100644 --- a/Cython/Includes/numpy.pxd +++ b/Cython/Includes/numpy.pxd @@ -481,8 +481,8 @@ cdef extern from "numpy/arrayobject.h": bint PyArray_FROM_OT(object m, int type) bint PyArray_FROM_OTF(object m, int type, int flags) object PyArray_FROMANY(object m, int type, int min, int max, int flags) - bint PyArray_ZEROS(ndarray m, dims, int type, int fortran) - object PyArray_EMPTY(object m, dims, int type, int fortran) + bint PyArray_ZEROS(ndarray m, npy_intp* dims, int type, int fortran) + object PyArray_EMPTY(object m, npy_intp* dims, int type, int fortran) void PyArray_FILLWBYTE(object, int val) npy_intp PyArray_REFCOUNT(object) object PyArray_ContiguousFromAny(op, int, int min_depth, int max_depth)