diff options
author | Sebastian Berg <sebastian@sipsolutions.net> | 2019-09-11 09:09:41 -0700 |
---|---|---|
committer | Sebastian Berg <sebastian@sipsolutions.net> | 2019-09-11 09:09:41 -0700 |
commit | 0dadf1cca8474a8e3d4e912513508b8dea8d62ea (patch) | |
tree | 6a8aeae68d572d46a483a2580d73a2ce6a376f54 /numpy/core/include | |
parent | ddffa68eeea2d84734f15f2c10696c2c81cc8e2a (diff) | |
download | numpy-0dadf1cca8474a8e3d4e912513508b8dea8d62ea.tar.gz |
MAINT: Add NPY_UNUSED in many places where it was missing
Diffstat (limited to 'numpy/core/include')
-rw-r--r-- | numpy/core/include/numpy/ndarraytypes.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/numpy/core/include/numpy/ndarraytypes.h b/numpy/core/include/numpy/ndarraytypes.h index bda000da9..ad98d562b 100644 --- a/numpy/core/include/numpy/ndarraytypes.h +++ b/numpy/core/include/numpy/ndarraytypes.h @@ -1095,7 +1095,8 @@ typedef struct PyArrayIterObject_tag PyArrayIterObject; * type of the function which translates a set of coordinates to a * pointer to the data */ -typedef char* (*npy_iter_get_dataptr_t)(PyArrayIterObject* iter, npy_intp*); +typedef char* (*npy_iter_get_dataptr_t)( + PyArrayIterObject* iter, const npy_intp*); struct PyArrayIterObject_tag { PyObject_HEAD |