mirror of
https://github.com/chatmail/core.git
synced 2026-04-29 03:16:29 +03:00
Merge pull request #155 from deltachat/flub-priv-sqlite-cobj
Make the SQLite struct opaque
This commit is contained in:
@@ -12,9 +12,8 @@ use crate::x::*;
|
||||
const DC_OPEN_READONLY: usize = 0x01;
|
||||
|
||||
/// A wrapper around the underlying Sqlite3 object.
|
||||
#[repr(C)]
|
||||
pub struct SQLite {
|
||||
pub cobj: std::sync::RwLock<*mut sqlite3>,
|
||||
cobj: std::sync::RwLock<*mut sqlite3>,
|
||||
}
|
||||
|
||||
impl SQLite {
|
||||
|
||||
Reference in New Issue
Block a user