summaryrefslogtreecommitdiff
path: root/numpy
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2021-04-21 07:31:37 -0600
committerGitHub <noreply@github.com>2021-04-21 07:31:37 -0600
commit9281027bfa90fd82b896dbe7745acfc532865a68 (patch)
treeed773cda4015236babcee32bf22c40c0c3ba9fd9 /numpy
parentab245639bb6ca83c0c093c9102f0fc62c65876aa (diff)
parent809734a9b7685b0127345f62b3ca6940a851acab (diff)
downloadnumpy-9281027bfa90fd82b896dbe7745acfc532865a68.tar.gz
Merge pull request #18820 from bashtage/remove-inline
MAINT: Remove incorrect inline
Diffstat (limited to 'numpy')
-rw-r--r--numpy/core/src/multiarray/array_coercion.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/core/src/multiarray/array_coercion.c b/numpy/core/src/multiarray/array_coercion.c
index 5be4ea2b2..ef99ae479 100644
--- a/numpy/core/src/multiarray/array_coercion.c
+++ b/numpy/core/src/multiarray/array_coercion.c
@@ -573,7 +573,7 @@ npy_new_coercion_cache(
* @param current
* @return next coercion cache object (or NULL)
*/
-NPY_NO_EXPORT NPY_INLINE coercion_cache_obj *
+NPY_NO_EXPORT coercion_cache_obj *
npy_unlink_coercion_cache(coercion_cache_obj *current)
{
coercion_cache_obj *next = current->next;
@@ -588,7 +588,7 @@ npy_unlink_coercion_cache(coercion_cache_obj *current)
return next;
}
-NPY_NO_EXPORT NPY_INLINE void
+NPY_NO_EXPORT void
npy_free_coercion_cache(coercion_cache_obj *next) {
/* We only need to check from the last used cache pos */
while (next != NULL) {