Rename dc_mimefactory_t -> MimeFactory

CamelCase naming convention is more natural for Rust.

https://rust-lang-nursery.github.io/api-guidelines/naming.html
This commit is contained in:
Dmitry Bogatov
2019-09-14 12:44:37 +00:00
parent 5001a0e37d
commit 34a3ad82e0
2 changed files with 10 additions and 11 deletions

View File

@@ -1003,7 +1003,7 @@ fn send_mdn(context: &Context, msg_id: u32) {
}
#[allow(non_snake_case)]
fn add_smtp_job(context: &Context, action: Action, mimefactory: &dc_mimefactory_t) -> libc::c_int {
fn add_smtp_job(context: &Context, action: Action, mimefactory: &MimeFactory) -> libc::c_int {
let mut success: libc::c_int = 0i32;
let mut recipients: *mut libc::c_char = ptr::null_mut();
let mut param = Params::new();