//! This file has been automatically generated by `objc2`'s `header-translator`.
//! DO NOT EDIT
#[cfg(feature = "objc2")]
use objc2::__framework_prelude::*;

use crate::*;

/// [Apple's documentation](https://developer.apple.com/documentation/corefoundation/cfbyteorder?language=objc)
pub type CFByteOrder = CFIndex;

/// [Apple's documentation](https://developer.apple.com/documentation/corefoundation/cfswappedfloat32?language=objc)
#[repr(C)]
#[derive(Clone, Copy, Debug, PartialEq)]
pub struct CFSwappedFloat32 {
    pub v: u32,
}

#[cfg(feature = "objc2")]
unsafe impl Encode for CFSwappedFloat32 {
    const ENCODING: Encoding = Encoding::Struct("?", &[<u32>::ENCODING]);
}

#[cfg(feature = "objc2")]
unsafe impl RefEncode for CFSwappedFloat32 {
    const ENCODING_REF: Encoding = Encoding::Pointer(&Self::ENCODING);
}

/// [Apple's documentation](https://developer.apple.com/documentation/corefoundation/cfswappedfloat64?language=objc)
#[repr(C)]
#[derive(Clone, Copy, Debug, PartialEq)]
pub struct CFSwappedFloat64 {
    pub v: u64,
}

#[cfg(feature = "objc2")]
unsafe impl Encode for CFSwappedFloat64 {
    const ENCODING: Encoding = Encoding::Struct("?", &[<u64>::ENCODING]);
}

#[cfg(feature = "objc2")]
unsafe impl RefEncode for CFSwappedFloat64 {
    const ENCODING_REF: Encoding = Encoding::Pointer(&Self::ENCODING);
}
