mirror of
https://github.com/isar/rusqlite.git
synced 2025-09-13 11:12:19 +08:00
@@ -18,7 +18,7 @@ pub fn SQLITE_STATIC() -> sqlite3_destructor_type {
|
||||
|
||||
#[must_use]
|
||||
pub fn SQLITE_TRANSIENT() -> sqlite3_destructor_type {
|
||||
Some(unsafe { mem::transmute(-1_isize) })
|
||||
Some(unsafe { mem::transmute::<isize, unsafe extern "C" fn(*mut std::ffi::c_void)>(-1_isize) })
|
||||
}
|
||||
|
||||
#[allow(clippy::all)]
|
||||
|
Reference in New Issue
Block a user