Function yrs::yxml_prev_sibling

source ·
#[no_mangle]
pub unsafe extern "C" fn yxml_prev_sibling(
    xml: *const Branch,
    txn: *const Transaction
) -> *mut YOutput
Expand description

Returns a previous sibling of a current XML node, which can be either another YXmlElement or a YXmlText.

If current YXmlElement is the first child, this function returns a null pointer. A returned value should be eventually released using youtput_destroy function.