Function yrs::yxmlelem_event_path

source ยท
#[no_mangle]
pub unsafe extern "C" fn yxmlelem_event_path(
    e: *const YXmlEvent,
    len: *mut u32
) -> *mut YPathSegment
Expand description

Returns a path from a root type down to a current shared collection (which can be obtained using yxmlelem_event_path function). It can consist of either integer indexes (used by sequence components) of *char keys (used by map components). len output parameter is used to provide information about length of the path.

Path returned this way should be eventually released using ypath_destroy.