Function yrs::yxmlelem_get
source ยท #[no_mangle]
pub unsafe extern "C" fn yxmlelem_get(
xml: *const Branch,
txn: *const Transaction,
index: u32,
) -> *const YOutput
Expand description
Returns an XML child node (either a YXmlElement
or YXmlText
) stored at a given index
of
a current YXmlElement
. Returns null pointer if index
was outside of the bound of current XML
node children.
Returned value should be eventually released using youtput_destroy.