mirror of
https://github.com/chatmail/core.git
synced 2026-05-05 22:36:30 +03:00
fix: add missing extern "C" to dc_array_is_independent
It was the only `unsafe fn` (not `unsafe extern "C" fn`) in lib.rs
This commit is contained in:
@@ -2826,7 +2826,7 @@ pub unsafe extern "C" fn dc_array_search_id(
|
|||||||
// Returns 1 if location belongs to the track of the user,
|
// Returns 1 if location belongs to the track of the user,
|
||||||
// 0 if location was reported independently.
|
// 0 if location was reported independently.
|
||||||
#[no_mangle]
|
#[no_mangle]
|
||||||
pub unsafe fn dc_array_is_independent(
|
pub unsafe extern "C" fn dc_array_is_independent(
|
||||||
array: *const dc_array_t,
|
array: *const dc_array_t,
|
||||||
index: libc::size_t,
|
index: libc::size_t,
|
||||||
) -> libc::c_int {
|
) -> libc::c_int {
|
||||||
|
|||||||
Reference in New Issue
Block a user