Store IDs in dc_array as u32

This changes dc_array_get_raw API
This commit is contained in:
Alexander Krotov
2019-08-14 14:00:10 +03:00
committed by holger krekel
parent 5b47409fb0
commit 29d4f6888d
3 changed files with 8 additions and 8 deletions

View File

@@ -1171,7 +1171,7 @@ pub unsafe extern "C" fn dc_array_search_id(
}
#[no_mangle]
pub unsafe extern "C" fn dc_array_get_raw(array: *const dc_array_t) -> *const libc::size_t {
pub unsafe extern "C" fn dc_array_get_raw(array: *const dc_array_t) -> *const u32 {
assert!(!array.is_null());
dc_array::dc_array_get_raw(array)