Function yrs::yarray_get
source ยท #[no_mangle]
pub unsafe extern "C" fn yarray_get(
array: *const Branch,
txn: *const Transaction,
index: u32
) -> *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.