1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
#![allow(non_camel_case_types)] #[cfg(feature = "source")] extern crate fftw_src as ffi; #[cfg(feature = "intel-mkl")] extern crate intel_mkl_src as ffi; use libc::FILE; pub use num_complex::Complex32 as fftwf_complex; pub use num_complex::Complex64 as fftw_complex; #[cfg_attr(feature = "system", link(name = "fftw3"))] extern "C" {} #[cfg_attr(feature = "system", link(name = "fftw3f"))] extern "C" {} include!("fftw.rs");