summaryrefslogtreecommitdiff
path: root/numpy
diff options
context:
space:
mode:
authorSebastian Berg <sebastianb@nvidia.com>2023-01-25 21:38:50 +0100
committerGitHub <noreply@github.com>2023-01-25 21:38:50 +0100
commitb97ca898a461889a5ed3397c4063da1395e029f0 (patch)
tree3556b7014959b49543702939250350c04a8cb338 /numpy
parent930addb6dace3988268112ab56fe638d2941a7c3 (diff)
parent48bbe789f50b8246e9086638be6a6a62ce573b16 (diff)
downloadnumpy-b97ca898a461889a5ed3397c4063da1395e029f0.tar.gz
Merge pull request #23094 from ngoldbaum/exp-dtype-header-fix
BUG: fix type in resolve_descriptors_function typedef
Diffstat (limited to 'numpy')
-rw-r--r--numpy/core/include/numpy/experimental_dtype_api.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/core/include/numpy/experimental_dtype_api.h b/numpy/core/include/numpy/experimental_dtype_api.h
index 86ad15f37..e33df3156 100644
--- a/numpy/core/include/numpy/experimental_dtype_api.h
+++ b/numpy/core/include/numpy/experimental_dtype_api.h
@@ -289,7 +289,7 @@ typedef NPY_CASTING (resolve_descriptors_function)(
/* "method" is currently opaque (necessary e.g. to wrap Python) */
PyObject *method,
/* DTypes the method was created for */
- PyObject **dtypes,
+ PyArray_DTypeMeta **dtypes,
/* Input descriptors (instances). Outputs may be NULL. */
PyArray_Descr **given_descrs,
/* Exact loop descriptors to use, must not hold references on error */