Function yrs::yarray_get[][src]

#[no_mangle]
pub unsafe extern "C" fn yarray_get(
    array: *const Array,
    txn: *mut Transaction,
    index: c_int
) -> *mut YOutput
Expand description

Returns a pointer to a YOutput value stored at a given index of a current YArray. If index is outside of the bounds of an array, a null pointer will be returned.

A value returned should be eventually released using youtput_destroy function.