ipp_headers_sys/
lib.rs

1/*! # What is this crate?
2
3This crate provides wrappers of the Intel Integrated Performance Primitives
4(Intel IPP) library made with rust-bindgen.
5
6See the ipp-sys crate for more information about usage and is normally the
7crate you should use directly.
8
9*/
10
11#![allow(non_upper_case_globals,non_snake_case,non_camel_case_types)]
12
13#[cfg(feature="2017")]
14mod ipp_2017;
15#[cfg(feature="2017")]
16pub use ipp_2017::*;
17#[cfg(feature="2017")]
18const _FORCE_UNIQUE_FEATURE: ::std::os::raw::c_int = 2017;
19
20#[cfg(feature="2018")]
21mod ipp_2018;
22#[cfg(feature="2018")]
23pub use ipp_2018::*;
24#[cfg(feature="2018")]
25const _FORCE_UNIQUE_FEATURE: ::std::os::raw::c_int = 2018;
26
27#[cfg(feature="2019")]
28mod ipp_2019;
29#[cfg(feature="2019")]
30pub use ipp_2019::*;
31#[cfg(feature="2019")]
32const _FORCE_UNIQUE_FEATURE: ::std::os::raw::c_int = 2019;
33
34// Intentionally trigger a compile time error to force a feature flag specifying
35// version to be used.
36#[cfg(not(any(feature = "2017", feature = "2018", feature = "2019")))]
37compile_error!("You are attempting to compile without a required feature flag \
38    being used. You must use one of either `2017`, `2018`, `2019`");