summaryrefslogtreecommitdiff
path: root/numpy/core/src/multiarray
diff options
context:
space:
mode:
authorSebastian Berg <sebastian@sipsolutions.net>2022-06-28 17:31:28 -0700
committerSebastian Berg <sebastianb@nvidia.com>2022-10-12 10:41:40 +0200
commitd894650a624234bd1bc7fb20d74a58b44715622c (patch)
tree82d28b7684ec81f5bdd3e59d50ff5b7c85cd1aec /numpy/core/src/multiarray
parent409cccf70341a9ef9c80138dd9569f6ca3720cef (diff)
downloadnumpy-d894650a624234bd1bc7fb20d74a58b44715622c.tar.gz
ENH: Get correct integer conversion into ufuncs
Diffstat (limited to 'numpy/core/src/multiarray')
-rw-r--r--numpy/core/src/multiarray/dtypemeta.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/core/src/multiarray/dtypemeta.h b/numpy/core/src/multiarray/dtypemeta.h
index 618491c98..15318f040 100644
--- a/numpy/core/src/multiarray/dtypemeta.h
+++ b/numpy/core/src/multiarray/dtypemeta.h
@@ -51,7 +51,6 @@ typedef struct {
ensure_canonical_function *ensure_canonical;
/*
* Currently only used for experimental user DTypes.
- * Typing as `void *` until NumPy itself uses these (directly).
*/
setitemfunction *setitem;
getitemfunction *getitem;
@@ -105,6 +104,7 @@ typedef struct {
#define NPY_DT_CALL_setitem(descr, value, data_ptr) \
NPY_DT_SLOTS(NPY_DTYPE(descr))->setitem(descr, value, data_ptr)
+
/*
* This function will hopefully be phased out or replaced, but was convenient
* for incremental implementation of new DTypes based on DTypeMeta.