diff options
author | Charles Harris <charlesr.harris@gmail.com> | 2021-09-01 18:22:05 -0600 |
---|---|---|
committer | Charles Harris <charlesr.harris@gmail.com> | 2021-09-03 10:35:29 -0600 |
commit | a3e2b7c46d4c4025f4945e3e3ea207a00a63c499 (patch) | |
tree | 9d4048f5be195b965b211e603a674da13c7225c6 /numpy/fft/_pocketfft.c | |
parent | c6ac4dab50dad3ee0936fb4b765cf4f441874d33 (diff) | |
download | numpy-a3e2b7c46d4c4025f4945e3e3ea207a00a63c499.tar.gz |
MAIN: Minor include rationalization.
- Replace "Python.h" by <Python.h>
- Replace "structmember.h" by <structmember.h>
- Replace <npy_config> by "npy_config"
- Define PY_SSIZE_T_CLEAN before all Python.h includes in .c files.
Diffstat (limited to 'numpy/fft/_pocketfft.c')
-rw-r--r-- | numpy/fft/_pocketfft.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/numpy/fft/_pocketfft.c b/numpy/fft/_pocketfft.c index ba9995f97..5a4931c01 100644 --- a/numpy/fft/_pocketfft.c +++ b/numpy/fft/_pocketfft.c @@ -9,17 +9,18 @@ * Copyright (C) 2004-2018 Max-Planck-Society * \author Martin Reinecke */ +#define PY_SSIZE_T_CLEAN +#include <Python.h> #define NPY_NO_DEPRECATED_API NPY_API_VERSION - -#include "Python.h" #include "numpy/arrayobject.h" +#include "npy_config.h" + #include <math.h> #include <string.h> #include <stdlib.h> -#include "npy_config.h" #define restrict NPY_RESTRICT #define RALLOC(type,num) \ |