Skip to content

Commit cc32cf7

Browse files
committed
Remove obsolete patch for PyArray_FillFunc
1 parent 40deb71 commit cc32cf7

File tree

1 file changed

+0
-13
lines changed
  • graalpython/lib-graalpython/patches/numpy/sdist

1 file changed

+0
-13
lines changed

graalpython/lib-graalpython/patches/numpy/sdist/numpy.patch

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -127,19 +127,6 @@ index 544b8b35f..799f669e6 100644
127127

128128
def _get_machar(ftype):
129129
""" Get MachAr instance or MachAr-like instance
130-
diff --git a/numpy/core/include/numpy/ndarraytypes.h b/numpy/core/include/numpy/ndarraytypes.h
131-
index b0b749c80..2d8e8c05f 100644
132-
--- a/numpy/core/include/numpy/ndarraytypes.h
133-
+++ b/numpy/core/include/numpy/ndarraytypes.h
134-
@@ -412,7 +412,7 @@ typedef int (PyArray_ScanFunc)(FILE *fp, void *dptr,
135-
typedef int (PyArray_FromStrFunc)(char *s, void *dptr, char **endptr,
136-
struct _PyArray_Descr *);
137-
138-
-typedef int (PyArray_FillFunc)(void *, npy_intp, void *);
139-
+typedef void (PyArray_FillFunc)(void *, npy_intp, void *);
140-
141-
typedef int (PyArray_SortFunc)(void *, npy_intp, void *);
142-
typedef int (PyArray_ArgSortFunc)(void *, npy_intp *, npy_intp, void *);
143130
diff --git a/numpy/core/setup_common.py b/numpy/core/setup_common.py
144131
index f837df112..d3ce70ddd 100644
145132
--- a/numpy/core/setup_common.py

0 commit comments

Comments
 (0)