Skip to main content

CFPropertyListCreateData

Function CFPropertyListCreateData 

Source
pub unsafe extern "C-unwind" fn CFPropertyListCreateData(
    allocator: Option<&CFAllocator>,
    property_list: Option<&CFPropertyList>,
    format: CFPropertyListFormat,
    options: CFOptionFlags,
    error: *mut *mut CFError,
) -> Option<CFRetained<CFData>>
Available on crate features CFData and CFError and CFPropertyList only.
Expand description

ยงSafety

  • allocator might not allow None.
  • property_list should be of the correct type.
  • property_list might not allow None.
  • error must be a valid pointer.