Function yrs::yxmlelem_insert_text

source ยท
#[no_mangle]
pub unsafe extern "C" fn yxmlelem_insert_text(
    xml: *const Branch,
    txn: *mut Transaction,
    index: u32
) -> *mut Branch
Expand description

Inserts an YXmlText as a child of a current node at the given index and returns its pointer.

An index value must be between 0 and (inclusive) length of a current XML element (use yxmlelem_child_len function to determine its length).