mirror of
https://github.com/chatmail/core.git
synced 2026-04-24 17:06:28 +03:00
Override non_camel_case_types warning on per-declaration basis
This commit is contained in:
committed by
Floris Bruynooghe
parent
c6ccfd824e
commit
669ed0e0df
@@ -12,10 +12,13 @@ pub struct dc_saxparser_t {
|
||||
}
|
||||
|
||||
/* len is only informational, text is already null-terminated */
|
||||
#[allow(non_camel_case_types)]
|
||||
pub type dc_saxparser_text_cb_t =
|
||||
Option<unsafe fn(_: *mut libc::c_void, _: *const libc::c_char, _: libc::c_int) -> ()>;
|
||||
#[allow(non_camel_case_types)]
|
||||
pub type dc_saxparser_endtag_cb_t =
|
||||
Option<unsafe fn(_: *mut libc::c_void, _: *const libc::c_char) -> ()>;
|
||||
#[allow(non_camel_case_types)]
|
||||
pub type dc_saxparser_starttag_cb_t = Option<
|
||||
unsafe fn(_: *mut libc::c_void, _: *const libc::c_char, _: *mut *mut libc::c_char) -> (),
|
||||
>;
|
||||
|
||||
Reference in New Issue
Block a user