Function yrs::ysticky_index_read

source ยท
#[no_mangle]
pub unsafe extern "C" fn ysticky_index_read(
    pos: *const YStickyIndex,
    txn: *const Transaction,
    out_branch: *mut *mut Branch,
    out_index: *mut u32
)
Expand description

Given YStickyIndex and transaction reference, if computes a human-readable index in a context of the referenced shared y-type.

out_branch is getting assigned with a corresponding shared y-type reference. out_index will be used to store computed human-readable index.