fftw_sys/
lib.rs

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