Commit 2a4086d3 authored by Lisandro Dalcin's avatar Lisandro Dalcin

fix return types for some numpy API macro calls

parent 03e46715
...@@ -176,9 +176,9 @@ cdef extern from "numpy/arrayobject.h": ...@@ -176,9 +176,9 @@ cdef extern from "numpy/arrayobject.h":
cdef int PyArray_TYPE(ndarray arr) cdef int PyArray_TYPE(ndarray arr)
cdef int PyArray_NDIM(ndarray arr) cdef int PyArray_NDIM(ndarray arr)
cdef int PyArray_ISWRITEABLE(ndarray arr) cdef int PyArray_ISWRITEABLE(ndarray arr)
cdef npy_intp PyArray_STRIDES(ndarray arr) cdef npy_intp* PyArray_STRIDES(ndarray arr)
cdef npy_intp PyArray_DIMS(ndarray arr) cdef npy_intp* PyArray_DIMS(ndarray arr)
cdef Py_ssize_t PyArray_ITEMSIZE(ndarray arr) cdef int PyArray_ITEMSIZE(ndarray arr)
cdef int PyArray_CHKFLAGS(ndarray arr, int flags) cdef int PyArray_CHKFLAGS(ndarray arr, int flags)
cdef int PyArray_HASFIELDS(ndarray arr, int flags) cdef int PyArray_HASFIELDS(ndarray arr, int flags)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment