Source code
Revision control
Copy as Markdown
Other Tools
//! This file has been automatically generated by `objc2`'s `header-translator`.
//! DO NOT EDIT
use core::ptr::NonNull;
use crate::*;
#[cfg(feature = "CFURL")]
#[inline]
pub extern "C-unwind" fn CFCopyHomeDirectoryURL() -> Option<CFRetained<CFURL>> {
extern "C-unwind" {
fn CFCopyHomeDirectoryURL() -> Option<NonNull<CFURL>>;
}
let ret = unsafe { CFCopyHomeDirectoryURL() };
ret.map(|ret| unsafe { CFRetained::from_raw(ret) })
}