Commit 07b6ca81 authored by John Kirkham's avatar John Kirkham

Add NPY_CASTING

Include `NPY_CASTING` along with the other things `extern`ed from
`numpy/arrayobject.h`.
parent cffb63d3
...@@ -92,6 +92,13 @@ cdef extern from "numpy/arrayobject.h": ...@@ -92,6 +92,13 @@ cdef extern from "numpy/arrayobject.h":
NPY_FORTRANORDER NPY_FORTRANORDER
NPY_KEEPORDER NPY_KEEPORDER
ctypedef enum NPY_CASTING:
NPY_NO_CASTING
NPY_EQUIV_CASTING
NPY_SAFE_CASTING
NPY_SAME_KIND_CASTING
NPY_UNSAFE_CASTING
ctypedef enum NPY_CLIPMODE: ctypedef enum NPY_CLIPMODE:
NPY_CLIP NPY_CLIP
NPY_WRAP NPY_WRAP
......
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