mirror of
https://github.com/chatmail/core.git
synced 2026-05-08 17:36: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;
|
const DC_OPEN_READONLY: usize = 0x01;
|
||||||
|
|
||||||
/// A wrapper around the underlying Sqlite3 object.
|
/// A wrapper around the underlying Sqlite3 object.
|
||||||
#[repr(C)]
|
|
||||||
pub struct SQLite {
|
pub struct SQLite {
|
||||||
pub cobj: std::sync::RwLock<*mut sqlite3>,
|
cobj: std::sync::RwLock<*mut sqlite3>,
|
||||||
}
|
}
|
||||||
|
|
||||||
impl SQLite {
|
impl SQLite {
|
||||||
|
|||||||
Reference in New Issue
Block a user