diff options
| author | Sebastian Berg <sebastianb@nvidia.com> | 2023-01-03 23:24:38 +0100 |
|---|---|---|
| committer | Sebastian Berg <sebastianb@nvidia.com> | 2023-02-19 19:52:05 +0100 |
| commit | 4d7c29d9cc81a528717692bd796da3e55f7c7866 (patch) | |
| tree | 1b1f0df6c0326db10ced037f2d7b8228ba4fb91a /numpy/core/src/multiarray | |
| parent | a5c2edd12d9466bd4b7a9d1ed4f3b8d957c09fc5 (diff) | |
| download | numpy-4d7c29d9cc81a528717692bd796da3e55f7c7866.tar.gz | |
BUG: Readd accidentally remove function return type
Also remove accidentally auto-inserted include...
Diffstat (limited to 'numpy/core/src/multiarray')
| -rw-r--r-- | numpy/core/src/multiarray/dtype_transfer.c | 1 | ||||
| -rw-r--r-- | numpy/core/src/multiarray/usertypes.c | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/numpy/core/src/multiarray/dtype_transfer.c b/numpy/core/src/multiarray/dtype_transfer.c index 2e1cfa84d..9e77d456d 100644 --- a/numpy/core/src/multiarray/dtype_transfer.c +++ b/numpy/core/src/multiarray/dtype_transfer.c @@ -3084,6 +3084,7 @@ define_cast_for_descrs( } +NPY_NO_EXPORT int PyArray_GetDTypeTransferFunction(int aligned, npy_intp src_stride, npy_intp dst_stride, PyArray_Descr *src_dtype, PyArray_Descr *dst_dtype, diff --git a/numpy/core/src/multiarray/usertypes.c b/numpy/core/src/multiarray/usertypes.c index 7245c9f6d..a172343f1 100644 --- a/numpy/core/src/multiarray/usertypes.c +++ b/numpy/core/src/multiarray/usertypes.c @@ -20,7 +20,6 @@ maintainer email: oliphant.travis@ieee.org Space Science Telescope Institute (J. Todd Miller, Perry Greenfield, Rick White) */ -#include "numpy/ndarraytypes.h" #define NPY_NO_DEPRECATED_API NPY_API_VERSION #define _MULTIARRAYMODULE |
