1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
/*! # What is this crate?

This crate provides wrappers of the Intel Integrated Performance Primitives
(Intel IPP) library made with rust-bindgen.

See the ipp-sys crate for more information about usage and is normally the
crate you should use directly.

*/

#![allow(non_upper_case_globals,non_snake_case,non_camel_case_types)]

#[cfg(feature="2017")]
mod ipp_2017;
#[cfg(feature="2017")]
pub use ipp_2017::*;
#[cfg(feature="2017")]
const _FORCE_UNIQUE_FEATURE: ::std::os::raw::c_int = 2017;

#[cfg(feature="2018")]
mod ipp_2018;
#[cfg(feature="2018")]
pub use ipp_2018::*;
#[cfg(feature="2018")]
const _FORCE_UNIQUE_FEATURE: ::std::os::raw::c_int = 2018;

#[cfg(feature="2019")]
mod ipp_2019;
#[cfg(feature="2019")]
pub use ipp_2019::*;
#[cfg(feature="2019")]
const _FORCE_UNIQUE_FEATURE: ::std::os::raw::c_int = 2019;

// Intentionally trigger a compile time error to force a feature flag specifying
// version to be used.
#[cfg(not(any(feature = "2017", feature = "2018", feature = "2019")))]
compile_error!("You are attempting to compile without a required feature flag \
    being used. You must use one of either `2017`, `2018`, `2019`");