From 4da7599da2b226da5cdc68c0247ad6a78da9be87 Mon Sep 17 00:00:00 2001 From: Stefan Behnel Date: Fri, 23 Apr 2010 12:50:45 +0200 Subject: [PATCH] fix signatures in numpy.pxd --- Cython/Includes/numpy.pxd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Cython/Includes/numpy.pxd b/Cython/Includes/numpy.pxd index ad6a963b..862d8ac2 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, 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) -- 2.26.2