Sha256: 49b96296049706fbae23db48692ab178870cc5979a3bf19b859d3949b9d5f904
Contents?: true
Size: 758 Bytes
Versions: 38
Compression:
Stored size: 758 Bytes
Contents
/// Provide a convenient way to access ittapi functions that may have not been initialized. The /// `ittnotify` library has a static part (e.g., `libittnotify.a`) and a dynamic part (e.g., /// `libittnotify_collector.so`, VTune Profiler). The static part provides the ITT symbols to the /// application but these may not be resolved to actual implementations in the dynamic part--the /// data collector. macro_rules! access_sys_fn { ($fn_name: ident) => { unsafe { ittapi_sys::$fn_name.expect(concat!( "unable to access the ittapi function: ", stringify!($fn_name) )) } }; } // This allows the macro to be used internally without being published. pub(crate) use access_sys_fn;
Version data entries
38 entries across 38 versions & 1 rubygems