refactor: rename dc_context to context

This commit is contained in:
dignifiedquire
2019-05-27 09:32:50 +02:00
parent 5237c19f4e
commit 22868abe0e
39 changed files with 500 additions and 638 deletions

View File

@@ -1,6 +1,6 @@
use crate::context::Context;
use crate::dc_chat::*;
use crate::dc_contact::*;
use crate::dc_context::dc_context_t;
use crate::dc_msg::*;
use crate::dc_stock::*;
use crate::dc_tools::*;
@@ -129,7 +129,7 @@ pub unsafe fn dc_lot_fill(
msg: *const dc_msg_t,
chat: *const dc_chat_t,
contact: *const dc_contact_t,
context: &dc_context_t,
context: &Context,
) {
if lot.is_null() || (*lot).magic != 0x107107i32 as libc::c_uint || msg.is_null() {
return;