fix signatures in numpy.pxd
authorStefan Behnel <scoder@users.berlios.de>
Fri, 23 Apr 2010 10:50:45 +0000 (12:50 +0200)
committerStefan Behnel <scoder@users.berlios.de>
Fri, 23 Apr 2010 10:50:45 +0000 (12:50 +0200)
Cython/Includes/numpy.pxd

index ad6a963bff103f44f4e7e02a580cc689c8424c35..862d8ac2ae6609cb547fbf64d05e23fd6d142d37 100644 (file)
@@ -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, npy_intp* dims, int type, int fortran)
-    object PyArray_EMPTY(object m, npy_intp* dims, int type, int fortran)
+    object PyArray_ZEROS(int nd, npy_intp* dims, int type, int fortran)
+    object PyArray_EMPTY(int nd, 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)