From 2a4086d37e688757adf2f2111192e9291a074629 Mon Sep 17 00:00:00 2001 From: Lisandro Dalcin Date: Thu, 23 Oct 2008 12:00:42 -0300 Subject: [PATCH] fix return types for some numpy API macro calls --- Cython/Includes/numpy.pxd | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Cython/Includes/numpy.pxd b/Cython/Includes/numpy.pxd index 5a64bb9d..fb4aa8d1 100644 --- a/Cython/Includes/numpy.pxd +++ b/Cython/Includes/numpy.pxd @@ -176,9 +176,9 @@ cdef extern from "numpy/arrayobject.h": cdef int PyArray_TYPE(ndarray arr) cdef int PyArray_NDIM(ndarray arr) cdef int PyArray_ISWRITEABLE(ndarray arr) - cdef npy_intp PyArray_STRIDES(ndarray arr) - cdef npy_intp PyArray_DIMS(ndarray arr) - cdef Py_ssize_t PyArray_ITEMSIZE(ndarray arr) + cdef npy_intp* PyArray_STRIDES(ndarray arr) + cdef npy_intp* PyArray_DIMS(ndarray arr) + cdef int PyArray_ITEMSIZE(ndarray arr) cdef int PyArray_CHKFLAGS(ndarray arr, int flags) cdef int PyArray_HASFIELDS(ndarray arr, int flags) -- 2.26.2