mirror of
https://github.com/signalapp/libsignal.git
synced 2026-04-25 17:25:18 +02:00
Bridge unauthenticated connection to Swift
- Remove From<http::header::ToStrError> for ChatServiceError - bridge: Response -> ChatResponse, DebugInfo -> ChatServiceDebugInfo
This commit is contained in:
@@ -42,6 +42,15 @@ pub unsafe extern "C" fn signal_free_buffer(buf: *const c_uchar, buf_len: usize)
|
||||
)));
|
||||
}
|
||||
|
||||
#[no_mangle]
|
||||
pub unsafe extern "C" fn signal_free_list_of_strings(buffer: OwnedBufferOf<CStringPtr>) {
|
||||
let strings = buffer.into_box();
|
||||
for &s in &*strings {
|
||||
signal_free_string(s);
|
||||
}
|
||||
drop(strings);
|
||||
}
|
||||
|
||||
#[no_mangle]
|
||||
pub unsafe extern "C" fn signal_free_lookup_response_entry_list(
|
||||
buffer: OwnedBufferOf<crate::FfiCdsiLookupResponseEntry>,
|
||||
|
||||
Reference in New Issue
Block a user