mirror of
https://github.com/chatmail/core.git
synced 2026-04-19 14:36:29 +03:00
reduce code duplication
This commit is contained in:
@@ -669,7 +669,7 @@ pub struct _dc_context {
|
||||
pub ongoing_running: libc::c_int,
|
||||
pub shall_stop_ongoing: libc::c_int,
|
||||
}
|
||||
pub type dc_lot_t = _dc_lot;
|
||||
use crate::dc_lot::dc_lot_t;
|
||||
/* * Structure behind dc_lot_t */
|
||||
#[derive(Copy, Clone)]
|
||||
#[repr(C)]
|
||||
@@ -879,7 +879,7 @@ pub type dc_callback_t = Option<
|
||||
* SQLite database for offline functionality and for account-related
|
||||
* settings.
|
||||
*/
|
||||
pub type dc_context_t = _dc_context;
|
||||
use crate::dc_context::dc_context_t;
|
||||
/* ** library-private **********************************************************/
|
||||
pub type dc_smtp_t = _dc_smtp;
|
||||
#[derive(Copy, Clone)]
|
||||
|
||||
Reference in New Issue
Block a user