1
- cdef extern from " fftw3.h" :
1
+ # cython: language_level=3str
2
+ cdef extern from " fftw3.h" nogil:
2
3
3
4
ctypedef struct fftw_complex_struct:
4
5
pass
@@ -12,15 +13,15 @@ cdef extern from "fftw3.h":
12
13
13
14
void fftw_destroy_plan(fftw_plan)
14
15
15
- void fftw_execute_dft(fftw_plan, void * _in, void * _out) nogil
16
+ void fftw_execute_dft(fftw_plan, void * _in, void * _out)
16
17
17
- void fftw_execute_dft_c2r(fftw_plan, void * _in, void * _out) nogil
18
+ void fftw_execute_dft_c2r(fftw_plan, void * _in, void * _out)
18
19
19
- void fftw_execute_dft_r2c(fftw_plan, void * _in, void * _out) nogil
20
+ void fftw_execute_dft_r2c(fftw_plan, void * _in, void * _out)
20
21
21
- void fftw_execute_r2r(fftw_plan, void * _in, void * _out) nogil
22
+ void fftw_execute_r2r(fftw_plan, void * _in, void * _out)
22
23
23
- void fftw_execute(fftw_plan) nogil
24
+ void fftw_execute(fftw_plan)
24
25
25
26
void fftw_init_threads()
26
27
@@ -43,7 +44,7 @@ cdef extern from "fftw3.h":
43
44
void fftw_print_plan(fftw_plan)
44
45
45
46
46
- cdef extern from " fftw_planxfftn.h" :
47
+ cdef extern from " fftw_planxfftn.h" nogil :
47
48
48
49
ctypedef double fftw_real
49
50
@@ -57,4 +58,4 @@ cdef extern from "fftw_planxfftn.h":
57
58
int kind[],
58
59
unsigned flags)
59
60
60
- ctypedef void (* generic_function)(void * plan, void * _in, void * _out) nogil
61
+ ctypedef void (* generic_function)(void * plan, void * _in, void * _out) noexcept nogil
0 commit comments