Two declarations in numpy.pxd are missing type specifiers; a patch is attached.

Eric
diff --git a/Cython/Includes/numpy.pxd b/Cython/Includes/numpy.pxd
--- a/Cython/Includes/numpy.pxd
+++ b/Cython/Includes/numpy.pxd
@@ -481,8 +481,8 @@
     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)
_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to