File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -155,6 +155,10 @@ cdef extern from "numpy/arrayobject.h":
155
155
156
156
NPY_UPDATE_ALL
157
157
158
+ cdef enum :
159
+ NPY_MAXDIMS # 64 on NumPy 2.x and 32 on NumPy 1.x
160
+ NPY_RAVEL_AXIS # Used for functions like PyArray_Mean
161
+
158
162
enum :
159
163
# Added in NumPy 1.7 to replace the deprecated enums above.
160
164
NPY_ARRAY_C_CONTIGUOUS
Original file line number Diff line number Diff line change @@ -150,6 +150,10 @@ cdef extern from "numpy/arrayobject.h":
150
150
151
151
NPY_UPDATE_ALL
152
152
153
+ cdef enum :
154
+ NPY_MAXDIMS # 64 on NumPy 2.x and 32 on NumPy 1.x
155
+ NPY_RAVEL_AXIS # Used for functions like PyArray_Mean
156
+
153
157
enum :
154
158
# Added in NumPy 1.7 to replace the deprecated enums above.
155
159
NPY_ARRAY_C_CONTIGUOUS
You can’t perform that action at this time.
0 commit comments