Merge pull request #155 from deltachat/flub-priv-sqlite-cobj

Make the SQLite struct opaque
This commit is contained in:
Floris Bruynooghe
2019-06-18 23:54:17 +02:00
committed by GitHub

View File

@@ -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 {