Skip to main content

xmlTextReaderDepth

Function xmlTextReaderDepth 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn xmlTextReaderDepth( reader: *mut XmlTextReader, ) -> c_int
Expand description

Get the depth of the current node.

Returns the depth (0 for root element), or -1 on error.

§UPSTREAM-PARITY

int xmlTextReaderDepth(xmlTextReaderPtr reader);

§Safety

reader must be a valid pointer or NULL.