use core::ptr::NonNull;
use objc2_core_foundation::*;
use crate::*;
extern "C" {
pub static kCGEXRToneMappingGammaDefog: &'static CFString;
}
extern "C" {
pub static kCGEXRToneMappingGammaExposure: &'static CFString;
}
extern "C" {
pub static kCGEXRToneMappingGammaKneeLow: &'static CFString;
}
extern "C" {
pub static kCGEXRToneMappingGammaKneeHigh: &'static CFString;
}
#[inline]
pub extern "C-unwind" fn CGEXRToneMappingGammaGetDefaultOptions() -> CFRetained<CFDictionary> {
extern "C-unwind" {
fn CGEXRToneMappingGammaGetDefaultOptions() -> Option<NonNull<CFDictionary>>;
}
let ret = unsafe { CGEXRToneMappingGammaGetDefaultOptions() };
let ret = ret.expect("function was marked as returning non-null, but actually returned NULL");
unsafe { CFRetained::retain(ret) }
}