Skip to main content

list_clear

Function list_clear 

Source
pub unsafe fn list_clear(l: *mut List)
Expand description

Clear the list (remove all elements).

§UPSTREAM-PARITY

void xmlListClear(xmlListPtr l);

§SAFETY

  • l must be a valid pointer to a List, or NULL.