Change return type of `dc_is_configured' to bool

This commit is contained in:
Dmitry Bogatov
2019-09-10 16:09:34 +00:00
parent 1576dc1d13
commit 1cdb9c733a
3 changed files with 5 additions and 5 deletions

View File

@@ -233,7 +233,7 @@ pub unsafe extern "C" fn dc_is_configured(context: *mut dc_context_t) -> libc::c
let context = &*context;
configure::dc_is_configured(context)
configure::dc_is_configured(context) as libc::c_int
}
#[no_mangle]