remove extern c and no_mangle

This commit is contained in:
dignifiedquire
2019-04-27 01:42:58 +03:00
parent 9a1fcc745e
commit 1faf248e09
54 changed files with 789 additions and 1579 deletions

View File

@@ -25,8 +25,7 @@ use crate::x::*;
// text1=text
// text1=URL
// text1=error string
#[no_mangle]
pub unsafe extern "C" fn dc_check_qr(
pub unsafe fn dc_check_qr(
mut context: *mut dc_context_t,
mut qr: *const libc::c_char,
) -> *mut dc_lot_t {