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
#![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`");