1use crate::libc::c_long;
2use crate::core_foundation_sys::base::{OSStatus, Boolean, CFAllocatorRef, CFTypeID, CFTypeRef};
3use crate::core_foundation_sys::dictionary::CFDictionaryRef;
4use crate::core_foundation_sys::string::CFStringRef;
5
6use crate::sync::CMClockRef;
7
8
9cfg_if! {
10 if #[cfg(target_arch = "x86_64")] {
11 pub type CMItemCount = i64;
12 pub type CMItemIndex = i64;
13 } else {
14 pub type CMItemCount = c_long;
15 pub type CMItemIndex = c_long;
16 }
17}
18
19cfg_if! {
20 if #[cfg(target_pointer_width = "32")] {
21 pub type CMBaseClassVersion = u32;
22 pub type CMStructVersion = u32;
23 } else if #[cfg(target_pointer_width = "64")] {
24 pub type CMBaseClassVersion = u64;
25 pub type CMStructVersion = u64;
26 } else {
27 pub type CMBaseClassVersion = u32;
28 pub type CMStructVersion = u32;
29 }
30}
31
32
33pub type CMPersistentTrackID = i32;
34pub const kCMPersistentTrackID_Invalid: CMPersistentTrackID = 0;
35