Skip to content

Commit a2bb896

Browse files
committed
fix: add missing extern "C" to dc_array_is_independent
It was the only `unsafe fn` (not `unsafe extern "C" fn`) in lib.rs
1 parent 795fe9a commit a2bb896

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

deltachat-ffi/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2826,7 +2826,7 @@ pub unsafe extern "C" fn dc_array_search_id(
28262826
// Returns 1 if location belongs to the track of the user,
28272827
// 0 if location was reported independently.
28282828
#[no_mangle]
2829-
pub unsafe fn dc_array_is_independent(
2829+
pub unsafe extern "C" fn dc_array_is_independent(
28302830
array: *const dc_array_t,
28312831
index: libc::size_t,
28322832
) -> libc::c_int {

0 commit comments

Comments
 (0)