Skip to main content

remove_ref

Function remove_ref 

Source
pub unsafe fn remove_ref(doc: *mut _xmlDoc, attr: *mut _xmlAttr) -> c_int
Expand description

Upstream xmlRemoveRef(doc, attr) — removes the attribute’s IDREF entry. Returns 0 on success, -1 otherwise.

§SAFETY

  • doc/attr must be valid pointers or NULL.