Update for new bindgen output.

This commit is contained in:
John Gallagher
2017-02-07 21:09:20 -05:00
parent 161ac2bf0a
commit 4216671fe6
3 changed files with 5 additions and 5 deletions

View File

@@ -195,7 +195,7 @@ pub fn error_from_sqlite_code(code: c_int, message: Option<String>) -> Error {
Error::SqliteFailure(ffi::Error::new(code), message)
}
pub fn error_from_handle(db: *mut ffi::Struct_sqlite3, code: c_int) -> Error {
pub fn error_from_handle(db: *mut ffi::sqlite3, code: c_int) -> Error {
let message = if db.is_null() {
None
} else {