Function xmlAddChild
Source #[unsafe(no_mangle)]
pub unsafe extern "C" fn xmlAddChild(
parent: *mut _xmlNode,
cur: *mut _xmlNode,
) -> *mut _xmlNode
Expand description
Add a child node.
§UPSTREAM-PARITY
xmlNodePtr xmlAddChild(xmlNodePtr parent, xmlNodePtr cur);
§SAFETY
parent must be a valid node.
cur must be a valid node (ownership transfers to parent).
- Returns pointer to the added child (borrowed).