Fix sqlite3_auto_extension xEntryPoint signature

This commit is contained in:
gwenn 2023-03-25 11:47:27 +01:00
parent c5f0b27693
commit bef2472bfb
4 changed files with 4 additions and 4 deletions

View File

@ -6,7 +6,7 @@ extern "C" {
unsafe extern "C" fn(
db: *mut sqlite3,
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;

View File

@ -529,7 +529,7 @@ mod bindings {
pub fn sqlite3_auto_extension(
xEntryPoint: ::std::option::Option<unsafe extern "C" fn(db: *mut sqlite3,
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;
}"#,

View File

@ -6,7 +6,7 @@ extern "C" {
unsafe extern "C" fn(
db: *mut sqlite3,
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;

View File

@ -6,7 +6,7 @@ extern "C" {
unsafe extern "C" fn(
db: *mut sqlite3,
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;