Skip to main content

CFXMLTreeCreateFromData

Function CFXMLTreeCreateFromData 

Source
pub unsafe extern "C-unwind" fn CFXMLTreeCreateFromData(
    allocator: Option<&CFAllocator>,
    xml_data: Option<&CFData>,
    data_source: Option<&CFURL>,
    parse_options: CFOptionFlags,
    version_of_nodes: CFIndex,
) -> Option<CFRetained<CFXMLTree>>
๐Ÿ‘ŽDeprecated:

CFXMLParser is deprecated, use NSXMLParser, NSXMLDocument or libxml2 library instead

Available on crate features CFData 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.