mirror of
https://github.com/signalapp/libsignal.git
synced 2026-04-25 17:25:18 +02:00
FFI: Rename ResultTypeInfo::write_to to ffi::write_result_to
It's not intended to be overridden, and this is actually /more/ in line with the other write_*_to helpers that exist.
This commit is contained in:
@@ -138,7 +138,7 @@ pub unsafe extern "C" fn signal_sealed_session_cipher_decrypt(
|
||||
|
||||
write_optional_cstr_to(sender_e164, Ok(decrypted.sender_e164))?;
|
||||
write_cstr_to(sender_uuid, Ok(decrypted.sender_uuid))?;
|
||||
write_uint32_to(sender_device_id, Ok(decrypted.device_id))?;
|
||||
write_result_to(sender_device_id, decrypted.device_id)?;
|
||||
write_bytearray_to(out, out_len, decrypted.message)
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user