Skip to main content

CFStringCreateWithCStringNoCopy

Function CFStringCreateWithCStringNoCopy 

Source
pub unsafe extern "C-unwind" fn CFStringCreateWithCStringNoCopy(
    alloc: Option<&CFAllocator>,
    c_str: *const c_char,
    encoding: CFStringEncoding,
    contents_deallocator: Option<&CFAllocator>,
) -> Option<CFRetained<CFString>>
👎Deprecated:

renamed to CFString::with_c_string_no_copy

Available on crate feature CFString only.