refactor: move aheader to safe rust

This commit is contained in:
dignifiedquire
2019-05-12 19:05:33 +01:00
parent 00314ffbe0
commit fdd870286e
17 changed files with 468 additions and 630 deletions

View File

@@ -129,7 +129,7 @@ unsafe fn schedule_MAYBE_SEND_LOCATIONS(context: &dc_context_t, flags: libc::c_i
};
}
pub unsafe extern "C" fn dc_is_sending_locations_to_chat(
pub unsafe fn dc_is_sending_locations_to_chat(
context: &dc_context_t,
chat_id: uint32_t,
) -> libc::c_int {