Commit e050eb08 authored by Stefan Behnel's avatar Stefan Behnel

Add two missing C macros to the numpy declarations.

Closes #2567.
parent d422df80
......@@ -422,6 +422,8 @@ cdef extern from "numpy/arrayobject.h":
# Macros from ndarrayobject.h
#
bint PyArray_CHKFLAGS(ndarray m, int flags)
bint PyArray_IS_C_CONTIGUOUS(ndarray arr)
bint PyArray_IS_F_CONTIGUOUS(ndarray arr)
bint PyArray_ISCONTIGUOUS(ndarray m)
bint PyArray_ISWRITEABLE(ndarray m)
bint PyArray_ISALIGNED(ndarray m)
......
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