Skip to main content

splinter_shard_release

Function splinter_shard_release 

Source
pub unsafe extern "C" fn splinter_shard_release(
    shard_id: u32,
) -> c_int
Expand description

@brief Voluntarily release (yield) the caller’s bid slot. Zeroes shard_id (marking the slot empty) last, after clearing the other fields. @return 0 on success, -1 if shard_id holds no slot, -2 on bad args/no store.