Commit 379c37ee authored by Stefan Behnel's avatar Stefan Behnel

Remove some non-public functions from the NumPy declarations.

See https://github.com/numpy/numpy/pull/16170
parent 7c11a631
...@@ -540,8 +540,8 @@ cdef extern from "numpy/arrayobject.h": ...@@ -540,8 +540,8 @@ cdef extern from "numpy/arrayobject.h":
# more than is probably needed until it can be checked further. # more than is probably needed until it can be checked further.
int PyArray_SetNumericOps (object) int PyArray_SetNumericOps (object)
object PyArray_GetNumericOps () object PyArray_GetNumericOps ()
int PyArray_INCREF (ndarray) # int PyArray_INCREF (ndarray)
int PyArray_XDECREF (ndarray) # int PyArray_XDECREF (ndarray)
void PyArray_SetStringFunction (object, int) void PyArray_SetStringFunction (object, int)
dtype PyArray_DescrFromType (int) dtype PyArray_DescrFromType (int)
object PyArray_TypeObjectFromType (int) object PyArray_TypeObjectFromType (int)
...@@ -619,8 +619,8 @@ cdef extern from "numpy/arrayobject.h": ...@@ -619,8 +619,8 @@ cdef extern from "numpy/arrayobject.h":
#int PyArray_CompareUCS4 (npy_ucs4 *, npy_ucs4 *, register size_t) #int PyArray_CompareUCS4 (npy_ucs4 *, npy_ucs4 *, register size_t)
int PyArray_RemoveSmallest (broadcast) int PyArray_RemoveSmallest (broadcast)
int PyArray_ElementStrides (object) int PyArray_ElementStrides (object)
void PyArray_Item_INCREF (char *, dtype) # void PyArray_Item_INCREF (char *, dtype)
void PyArray_Item_XDECREF (char *, dtype) # void PyArray_Item_XDECREF (char *, dtype)
object PyArray_FieldNames (object) object PyArray_FieldNames (object)
object PyArray_Transpose (ndarray, PyArray_Dims *) object PyArray_Transpose (ndarray, PyArray_Dims *)
object PyArray_TakeFrom (ndarray, object, int, ndarray, NPY_CLIPMODE) object PyArray_TakeFrom (ndarray, object, int, ndarray, NPY_CLIPMODE)
......
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