summaryrefslogtreecommitdiff
path: root/numpy
diff options
context:
space:
mode:
Diffstat (limited to 'numpy')
-rw-r--r--numpy/core/src/multiarray/convert_datatype.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/numpy/core/src/multiarray/convert_datatype.h b/numpy/core/src/multiarray/convert_datatype.h
index 22b3859d2..e5fc23972 100644
--- a/numpy/core/src/multiarray/convert_datatype.h
+++ b/numpy/core/src/multiarray/convert_datatype.h
@@ -78,9 +78,9 @@ PyArray_CheckCastSafety(NPY_CASTING casting,
NPY_NO_EXPORT NPY_CASTING
legacy_same_dtype_resolve_descriptors(
PyArrayMethodObject *self,
- PyArray_DTypeMeta **dtypes,
- PyArray_Descr **given_descrs,
- PyArray_Descr **loop_descrs);
+ PyArray_DTypeMeta *dtypes[2],
+ PyArray_Descr *given_descrs[2],
+ PyArray_Descr *loop_descrs[2]);
NPY_NO_EXPORT int
legacy_cast_get_strided_loop(
@@ -92,9 +92,9 @@ legacy_cast_get_strided_loop(
NPY_NO_EXPORT NPY_CASTING
simple_cast_resolve_descriptors(
PyArrayMethodObject *self,
- PyArray_DTypeMeta **dtypes,
- PyArray_Descr **input_descrs,
- PyArray_Descr **loop_descrs);
+ PyArray_DTypeMeta *dtypes[2],
+ PyArray_Descr *input_descrs[2],
+ PyArray_Descr *loop_descrs[2]);
NPY_NO_EXPORT int
PyArray_InitializeCasts(void);