CFXMLTreeCreateFromDataWithError

Function CFXMLTreeCreateFromDataWithError 

Source
pub unsafe extern "C-unwind" fn CFXMLTreeCreateFromDataWithError(
    allocator: Option<&CFAllocator>,
    xml_data: Option<&CFData>,
    data_source: Option<&CFURL>,
    parse_options: CFOptionFlags,
    version_of_nodes: CFIndex,
    error_dict: *mut *const CFDictionary,
) -> Option<CFRetained<CFXMLTree>>
๐Ÿ‘ŽDeprecated: CFXMLParser is deprecated, use NSXMLParser, NSXMLDocument or libxml2 library instead
Available on crate features CFData and CFDictionary and CFTree and CFURL and CFXMLNode and CFXMLParser only.
Expand description

ยงSafety

  • allocator might not allow None.
  • xml_data might not allow None.
  • data_source might not allow None.
  • error_dict must be a valid pointer.