diff options
author | Stefan Behnel <stefan_ml@behnel.de> | 2020-05-06 20:40:35 +0200 |
---|---|---|
committer | Stefan Behnel <stefan_ml@behnel.de> | 2020-05-06 20:40:43 +0200 |
commit | 379c37eeb26c3c9b4504b83922bbb09185c7bde9 (patch) | |
tree | 4a84fc3748644288c4190e75b728f4daaec36f0f | |
parent | 7c11a6319df2190f2c03bfb160c1fd32382ec33f (diff) | |
download | cython-379c37eeb26c3c9b4504b83922bbb09185c7bde9.tar.gz |
Remove some non-public functions from the NumPy declarations.
See https://github.com/numpy/numpy/pull/16170
-rw-r--r-- | Cython/Includes/numpy/__init__.pxd | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Cython/Includes/numpy/__init__.pxd b/Cython/Includes/numpy/__init__.pxd index 94a76401f..5f6b10c39 100644 --- a/Cython/Includes/numpy/__init__.pxd +++ b/Cython/Includes/numpy/__init__.pxd @@ -540,8 +540,8 @@ cdef extern from "numpy/arrayobject.h": # more than is probably needed until it can be checked further. int PyArray_SetNumericOps (object) object PyArray_GetNumericOps () - int PyArray_INCREF (ndarray) - int PyArray_XDECREF (ndarray) + # int PyArray_INCREF (ndarray) + # int PyArray_XDECREF (ndarray) void PyArray_SetStringFunction (object, int) dtype PyArray_DescrFromType (int) object PyArray_TypeObjectFromType (int) @@ -619,8 +619,8 @@ cdef extern from "numpy/arrayobject.h": #int PyArray_CompareUCS4 (npy_ucs4 *, npy_ucs4 *, register size_t) int PyArray_RemoveSmallest (broadcast) int PyArray_ElementStrides (object) - void PyArray_Item_INCREF (char *, dtype) - void PyArray_Item_XDECREF (char *, dtype) + # void PyArray_Item_INCREF (char *, dtype) + # void PyArray_Item_XDECREF (char *, dtype) object PyArray_FieldNames (object) object PyArray_Transpose (ndarray, PyArray_Dims *) object PyArray_TakeFrom (ndarray, object, int, ndarray, NPY_CLIPMODE) |