Make dc_msg_is_starred() return bool

This commit is contained in:
Dmitry Bogatov
2019-07-30 14:08:15 +00:00
parent 73298c0273
commit a41c0614cc
3 changed files with 5 additions and 10 deletions

View File

@@ -1361,7 +1361,7 @@ pub unsafe extern "C" fn dc_msg_is_sent(msg: *mut dc_msg::dc_msg_t) -> libc::c_i
#[no_mangle]
pub unsafe extern "C" fn dc_msg_is_starred(msg: *mut dc_msg::dc_msg_t) -> libc::c_int {
dc_msg::dc_msg_is_starred(msg)
dc_msg::dc_msg_is_starred(msg).into()
}
#[no_mangle]