mirror of
https://github.com/isar/rusqlite.git
synced 2024-11-25 02:21:37 +08:00
Fix sqlite3_auto_extension xEntryPoint signature
This commit is contained in:
parent
c5f0b27693
commit
bef2472bfb
@ -6,7 +6,7 @@ extern "C" {
|
|||||||
unsafe extern "C" fn(
|
unsafe extern "C" fn(
|
||||||
db: *mut sqlite3,
|
db: *mut sqlite3,
|
||||||
pzErrMsg: *mut *const ::std::os::raw::c_char,
|
pzErrMsg: *mut *const ::std::os::raw::c_char,
|
||||||
pThunk: *mut sqlite3_api_routines,
|
pThunk: *const sqlite3_api_routines,
|
||||||
) -> ::std::os::raw::c_int,
|
) -> ::std::os::raw::c_int,
|
||||||
>,
|
>,
|
||||||
) -> ::std::os::raw::c_int;
|
) -> ::std::os::raw::c_int;
|
||||||
|
@ -529,7 +529,7 @@ mod bindings {
|
|||||||
pub fn sqlite3_auto_extension(
|
pub fn sqlite3_auto_extension(
|
||||||
xEntryPoint: ::std::option::Option<unsafe extern "C" fn(db: *mut sqlite3,
|
xEntryPoint: ::std::option::Option<unsafe extern "C" fn(db: *mut sqlite3,
|
||||||
pzErrMsg: *mut *const ::std::os::raw::c_char,
|
pzErrMsg: *mut *const ::std::os::raw::c_char,
|
||||||
pThunk: *mut sqlite3_api_routines
|
pThunk: *const sqlite3_api_routines
|
||||||
) -> ::std::os::raw::c_int>,
|
) -> ::std::os::raw::c_int>,
|
||||||
) -> ::std::os::raw::c_int;
|
) -> ::std::os::raw::c_int;
|
||||||
}"#,
|
}"#,
|
||||||
|
@ -6,7 +6,7 @@ extern "C" {
|
|||||||
unsafe extern "C" fn(
|
unsafe extern "C" fn(
|
||||||
db: *mut sqlite3,
|
db: *mut sqlite3,
|
||||||
pzErrMsg: *mut *const ::std::os::raw::c_char,
|
pzErrMsg: *mut *const ::std::os::raw::c_char,
|
||||||
pThunk: *mut sqlite3_api_routines,
|
pThunk: *const sqlite3_api_routines,
|
||||||
) -> ::std::os::raw::c_int,
|
) -> ::std::os::raw::c_int,
|
||||||
>,
|
>,
|
||||||
) -> ::std::os::raw::c_int;
|
) -> ::std::os::raw::c_int;
|
||||||
|
@ -6,7 +6,7 @@ extern "C" {
|
|||||||
unsafe extern "C" fn(
|
unsafe extern "C" fn(
|
||||||
db: *mut sqlite3,
|
db: *mut sqlite3,
|
||||||
pzErrMsg: *mut *const ::std::os::raw::c_char,
|
pzErrMsg: *mut *const ::std::os::raw::c_char,
|
||||||
pThunk: *mut sqlite3_api_routines,
|
pThunk: *const sqlite3_api_routines,
|
||||||
) -> ::std::os::raw::c_int,
|
) -> ::std::os::raw::c_int,
|
||||||
>,
|
>,
|
||||||
) -> ::std::os::raw::c_int;
|
) -> ::std::os::raw::c_int;
|
||||||
|
Loading…
Reference in New Issue
Block a user