Function tari_wallet_ffi::emoji_set_get_at[][src]

#[no_mangle]pub unsafe extern "C" fn emoji_set_get_at(
    emoji_set: *const EmojiSet,
    position: c_uint,
    error_out: *mut c_int
) -> *mut ByteVector

Gets a ByteVector at position in a EmojiSet

Arguments

emoji_set - The pointer to a EmojiSet position - The integer position 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

ByteVector - Returns a ByteVector. Note that the ByteVector will be null if ptr is null or if the position is invalid

Safety

The byte_vector_destroy function must be called when finished with the ByteVector to prevent a memory leak.