mirror of
https://github.com/chatmail/core.git
synced 2026-04-26 01:46:34 +03:00
more cross platform
This commit is contained in:
@@ -31,14 +31,6 @@ pub type dc_saxparser_starttag_cb_t = Option<
|
||||
unsafe extern "C" fn isascii(mut _c: libc::c_int) -> libc::c_int {
|
||||
return (_c & !0x7fi32 == 0i32) as libc::c_int;
|
||||
}
|
||||
#[inline]
|
||||
unsafe extern "C" fn __istype(mut _c: __darwin_ct_rune_t, mut _f: libc::c_ulong) -> libc::c_int {
|
||||
return if 0 != isascii(_c) {
|
||||
(0 != _DefaultRuneLocale.__runetype[_c as usize] as libc::c_ulong & _f) as libc::c_int
|
||||
} else {
|
||||
(0 != __maskrune(_c, _f)) as libc::c_int
|
||||
};
|
||||
}
|
||||
|
||||
#[no_mangle]
|
||||
pub unsafe extern "C" fn dc_saxparser_init(
|
||||
|
||||
Reference in New Issue
Block a user