Function tari_wallet_ffi::byte_vector_get_length [−][src]
#[no_mangle]pub unsafe extern "C" fn byte_vector_get_length(
vec: *const ByteVector,
error_out: *mut c_int
) -> c_uint
Gets the number of elements in a ByteVector
Arguments
ptr
- The pointer to a ByteVector
error_out
- Pointer to an int which will be modified to an error code should one occur, may not be null. Functions
as an out parameter.
Returns
c_uint
- Returns the integer number of elements in the ByteVector. Note that it will be zero
if ptr is null
Safety
None