mirror of
https://github.com/isar/rusqlite.git
synced 2025-12-17 08:52:25 +08:00
Omit UTF-16 API
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
/* automatically generated by rust-bindgen 0.60.1 */
|
||||
/* automatically generated by rust-bindgen 0.69.4 */
|
||||
|
||||
extern "C" {
|
||||
pub fn sqlite3_auto_extension(
|
||||
@@ -11,7 +11,6 @@ extern "C" {
|
||||
>,
|
||||
) -> ::std::os::raw::c_int;
|
||||
}
|
||||
|
||||
extern "C" {
|
||||
pub fn sqlite3_cancel_auto_extension(
|
||||
xEntryPoint: ::std::option::Option<
|
||||
@@ -24,9 +23,9 @@ extern "C" {
|
||||
) -> ::std::os::raw::c_int;
|
||||
}
|
||||
|
||||
pub const SQLITE_VERSION: &[u8; 7usize] = b"3.14.0\0";
|
||||
pub const SQLITE_VERSION: &[u8; 7] = b"3.14.0\0";
|
||||
pub const SQLITE_VERSION_NUMBER: i32 = 3014000;
|
||||
pub const SQLITE_SOURCE_ID: &[u8; 61usize] =
|
||||
pub const SQLITE_SOURCE_ID: &[u8; 61] =
|
||||
b"2016-08-08 13:40:27 d5e98057028abcf7217d0d2b2e29bbbcdf09d6de\0";
|
||||
pub const SQLITE_OK: i32 = 0;
|
||||
pub const SQLITE_ERROR: i32 = 1;
|
||||
@@ -383,7 +382,6 @@ pub const SQLITE_SCANSTAT_SELECTID: i32 = 5;
|
||||
pub const NOT_WITHIN: i32 = 0;
|
||||
pub const PARTLY_WITHIN: i32 = 1;
|
||||
pub const FULLY_WITHIN: i32 = 2;
|
||||
pub const __SQLITESESSION_H_: i32 = 1;
|
||||
pub const SQLITE_CHANGESET_DATA: i32 = 1;
|
||||
pub const SQLITE_CHANGESET_NOTFOUND: i32 = 2;
|
||||
pub const SQLITE_CHANGESET_CONFLICT: i32 = 3;
|
||||
@@ -398,7 +396,7 @@ pub const FTS5_TOKENIZE_DOCUMENT: i32 = 4;
|
||||
pub const FTS5_TOKENIZE_AUX: i32 = 8;
|
||||
pub const FTS5_TOKEN_COLOCATED: i32 = 1;
|
||||
extern "C" {
|
||||
pub static mut sqlite3_version: [::std::os::raw::c_char; 0usize];
|
||||
pub static sqlite3_version: [::std::os::raw::c_char; 0usize];
|
||||
}
|
||||
extern "C" {
|
||||
pub fn sqlite3_libversion() -> *const ::std::os::raw::c_char;
|
||||
@@ -771,9 +769,6 @@ extern "C" {
|
||||
extern "C" {
|
||||
pub fn sqlite3_complete(sql: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn sqlite3_complete16(sql: *const ::std::os::raw::c_void) -> ::std::os::raw::c_int;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn sqlite3_busy_handler(
|
||||
arg1: *mut sqlite3,
|
||||
@@ -922,12 +917,6 @@ extern "C" {
|
||||
ppDb: *mut *mut sqlite3,
|
||||
) -> ::std::os::raw::c_int;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn sqlite3_open16(
|
||||
filename: *const ::std::os::raw::c_void,
|
||||
ppDb: *mut *mut sqlite3,
|
||||
) -> ::std::os::raw::c_int;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn sqlite3_open_v2(
|
||||
filename: *const ::std::os::raw::c_char,
|
||||
@@ -965,9 +954,6 @@ extern "C" {
|
||||
extern "C" {
|
||||
pub fn sqlite3_errmsg(arg1: *mut sqlite3) -> *const ::std::os::raw::c_char;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn sqlite3_errmsg16(arg1: *mut sqlite3) -> *const ::std::os::raw::c_void;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn sqlite3_errstr(arg1: ::std::os::raw::c_int) -> *const ::std::os::raw::c_char;
|
||||
}
|
||||
@@ -1001,24 +987,6 @@ extern "C" {
|
||||
pzTail: *mut *const ::std::os::raw::c_char,
|
||||
) -> ::std::os::raw::c_int;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn sqlite3_prepare16(
|
||||
db: *mut sqlite3,
|
||||
zSql: *const ::std::os::raw::c_void,
|
||||
nByte: ::std::os::raw::c_int,
|
||||
ppStmt: *mut *mut sqlite3_stmt,
|
||||
pzTail: *mut *const ::std::os::raw::c_void,
|
||||
) -> ::std::os::raw::c_int;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn sqlite3_prepare16_v2(
|
||||
db: *mut sqlite3,
|
||||
zSql: *const ::std::os::raw::c_void,
|
||||
nByte: ::std::os::raw::c_int,
|
||||
ppStmt: *mut *mut sqlite3_stmt,
|
||||
pzTail: *mut *const ::std::os::raw::c_void,
|
||||
) -> ::std::os::raw::c_int;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn sqlite3_sql(pStmt: *mut sqlite3_stmt) -> *const ::std::os::raw::c_char;
|
||||
}
|
||||
@@ -1096,15 +1064,6 @@ extern "C" {
|
||||
arg5: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
|
||||
) -> ::std::os::raw::c_int;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn sqlite3_bind_text16(
|
||||
arg1: *mut sqlite3_stmt,
|
||||
arg2: ::std::os::raw::c_int,
|
||||
arg3: *const ::std::os::raw::c_void,
|
||||
arg4: ::std::os::raw::c_int,
|
||||
arg5: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
|
||||
) -> ::std::os::raw::c_int;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn sqlite3_bind_text64(
|
||||
arg1: *mut sqlite3_stmt,
|
||||
@@ -1163,60 +1122,30 @@ extern "C" {
|
||||
N: ::std::os::raw::c_int,
|
||||
) -> *const ::std::os::raw::c_char;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn sqlite3_column_name16(
|
||||
arg1: *mut sqlite3_stmt,
|
||||
N: ::std::os::raw::c_int,
|
||||
) -> *const ::std::os::raw::c_void;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn sqlite3_column_database_name(
|
||||
arg1: *mut sqlite3_stmt,
|
||||
arg2: ::std::os::raw::c_int,
|
||||
) -> *const ::std::os::raw::c_char;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn sqlite3_column_database_name16(
|
||||
arg1: *mut sqlite3_stmt,
|
||||
arg2: ::std::os::raw::c_int,
|
||||
) -> *const ::std::os::raw::c_void;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn sqlite3_column_table_name(
|
||||
arg1: *mut sqlite3_stmt,
|
||||
arg2: ::std::os::raw::c_int,
|
||||
) -> *const ::std::os::raw::c_char;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn sqlite3_column_table_name16(
|
||||
arg1: *mut sqlite3_stmt,
|
||||
arg2: ::std::os::raw::c_int,
|
||||
) -> *const ::std::os::raw::c_void;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn sqlite3_column_origin_name(
|
||||
arg1: *mut sqlite3_stmt,
|
||||
arg2: ::std::os::raw::c_int,
|
||||
) -> *const ::std::os::raw::c_char;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn sqlite3_column_origin_name16(
|
||||
arg1: *mut sqlite3_stmt,
|
||||
arg2: ::std::os::raw::c_int,
|
||||
) -> *const ::std::os::raw::c_void;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn sqlite3_column_decltype(
|
||||
arg1: *mut sqlite3_stmt,
|
||||
arg2: ::std::os::raw::c_int,
|
||||
) -> *const ::std::os::raw::c_char;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn sqlite3_column_decltype16(
|
||||
arg1: *mut sqlite3_stmt,
|
||||
arg2: ::std::os::raw::c_int,
|
||||
) -> *const ::std::os::raw::c_void;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn sqlite3_step(arg1: *mut sqlite3_stmt) -> ::std::os::raw::c_int;
|
||||
}
|
||||
@@ -1235,12 +1164,6 @@ extern "C" {
|
||||
iCol: ::std::os::raw::c_int,
|
||||
) -> ::std::os::raw::c_int;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn sqlite3_column_bytes16(
|
||||
arg1: *mut sqlite3_stmt,
|
||||
iCol: ::std::os::raw::c_int,
|
||||
) -> ::std::os::raw::c_int;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn sqlite3_column_double(arg1: *mut sqlite3_stmt, iCol: ::std::os::raw::c_int) -> f64;
|
||||
}
|
||||
@@ -1262,12 +1185,6 @@ extern "C" {
|
||||
iCol: ::std::os::raw::c_int,
|
||||
) -> *const ::std::os::raw::c_uchar;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn sqlite3_column_text16(
|
||||
arg1: *mut sqlite3_stmt,
|
||||
iCol: ::std::os::raw::c_int,
|
||||
) -> *const ::std::os::raw::c_void;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn sqlite3_column_type(
|
||||
arg1: *mut sqlite3_stmt,
|
||||
@@ -1310,30 +1227,6 @@ extern "C" {
|
||||
xFinal: ::std::option::Option<unsafe extern "C" fn(arg1: *mut sqlite3_context)>,
|
||||
) -> ::std::os::raw::c_int;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn sqlite3_create_function16(
|
||||
db: *mut sqlite3,
|
||||
zFunctionName: *const ::std::os::raw::c_void,
|
||||
nArg: ::std::os::raw::c_int,
|
||||
eTextRep: ::std::os::raw::c_int,
|
||||
pApp: *mut ::std::os::raw::c_void,
|
||||
xFunc: ::std::option::Option<
|
||||
unsafe extern "C" fn(
|
||||
arg1: *mut sqlite3_context,
|
||||
arg2: ::std::os::raw::c_int,
|
||||
arg3: *mut *mut sqlite3_value,
|
||||
),
|
||||
>,
|
||||
xStep: ::std::option::Option<
|
||||
unsafe extern "C" fn(
|
||||
arg1: *mut sqlite3_context,
|
||||
arg2: ::std::os::raw::c_int,
|
||||
arg3: *mut *mut sqlite3_value,
|
||||
),
|
||||
>,
|
||||
xFinal: ::std::option::Option<unsafe extern "C" fn(arg1: *mut sqlite3_context)>,
|
||||
) -> ::std::os::raw::c_int;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn sqlite3_create_function_v2(
|
||||
db: *mut sqlite3,
|
||||
@@ -1396,9 +1289,6 @@ extern "C" {
|
||||
extern "C" {
|
||||
pub fn sqlite3_value_bytes(arg1: *mut sqlite3_value) -> ::std::os::raw::c_int;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn sqlite3_value_bytes16(arg1: *mut sqlite3_value) -> ::std::os::raw::c_int;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn sqlite3_value_double(arg1: *mut sqlite3_value) -> f64;
|
||||
}
|
||||
@@ -1411,15 +1301,6 @@ extern "C" {
|
||||
extern "C" {
|
||||
pub fn sqlite3_value_text(arg1: *mut sqlite3_value) -> *const ::std::os::raw::c_uchar;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn sqlite3_value_text16(arg1: *mut sqlite3_value) -> *const ::std::os::raw::c_void;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn sqlite3_value_text16le(arg1: *mut sqlite3_value) -> *const ::std::os::raw::c_void;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn sqlite3_value_text16be(arg1: *mut sqlite3_value) -> *const ::std::os::raw::c_void;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn sqlite3_value_type(arg1: *mut sqlite3_value) -> ::std::os::raw::c_int;
|
||||
}
|
||||
@@ -1489,13 +1370,6 @@ extern "C" {
|
||||
arg3: ::std::os::raw::c_int,
|
||||
);
|
||||
}
|
||||
extern "C" {
|
||||
pub fn sqlite3_result_error16(
|
||||
arg1: *mut sqlite3_context,
|
||||
arg2: *const ::std::os::raw::c_void,
|
||||
arg3: ::std::os::raw::c_int,
|
||||
);
|
||||
}
|
||||
extern "C" {
|
||||
pub fn sqlite3_result_error_toobig(arg1: *mut sqlite3_context);
|
||||
}
|
||||
@@ -1531,30 +1405,6 @@ extern "C" {
|
||||
encoding: ::std::os::raw::c_uchar,
|
||||
);
|
||||
}
|
||||
extern "C" {
|
||||
pub fn sqlite3_result_text16(
|
||||
arg1: *mut sqlite3_context,
|
||||
arg2: *const ::std::os::raw::c_void,
|
||||
arg3: ::std::os::raw::c_int,
|
||||
arg4: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
|
||||
);
|
||||
}
|
||||
extern "C" {
|
||||
pub fn sqlite3_result_text16le(
|
||||
arg1: *mut sqlite3_context,
|
||||
arg2: *const ::std::os::raw::c_void,
|
||||
arg3: ::std::os::raw::c_int,
|
||||
arg4: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
|
||||
);
|
||||
}
|
||||
extern "C" {
|
||||
pub fn sqlite3_result_text16be(
|
||||
arg1: *mut sqlite3_context,
|
||||
arg2: *const ::std::os::raw::c_void,
|
||||
arg3: ::std::os::raw::c_int,
|
||||
arg4: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
|
||||
);
|
||||
}
|
||||
extern "C" {
|
||||
pub fn sqlite3_result_value(arg1: *mut sqlite3_context, arg2: *mut sqlite3_value);
|
||||
}
|
||||
@@ -1605,23 +1455,6 @@ extern "C" {
|
||||
xDestroy: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
|
||||
) -> ::std::os::raw::c_int;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn sqlite3_create_collation16(
|
||||
arg1: *mut sqlite3,
|
||||
zName: *const ::std::os::raw::c_void,
|
||||
eTextRep: ::std::os::raw::c_int,
|
||||
pArg: *mut ::std::os::raw::c_void,
|
||||
xCompare: ::std::option::Option<
|
||||
unsafe extern "C" fn(
|
||||
arg1: *mut ::std::os::raw::c_void,
|
||||
arg2: ::std::os::raw::c_int,
|
||||
arg3: *const ::std::os::raw::c_void,
|
||||
arg4: ::std::os::raw::c_int,
|
||||
arg5: *const ::std::os::raw::c_void,
|
||||
) -> ::std::os::raw::c_int,
|
||||
>,
|
||||
) -> ::std::os::raw::c_int;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn sqlite3_collation_needed(
|
||||
arg1: *mut sqlite3,
|
||||
@@ -1636,20 +1469,6 @@ extern "C" {
|
||||
>,
|
||||
) -> ::std::os::raw::c_int;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn sqlite3_collation_needed16(
|
||||
arg1: *mut sqlite3,
|
||||
arg2: *mut ::std::os::raw::c_void,
|
||||
arg3: ::std::option::Option<
|
||||
unsafe extern "C" fn(
|
||||
arg1: *mut ::std::os::raw::c_void,
|
||||
arg2: *mut sqlite3,
|
||||
eTextRep: ::std::os::raw::c_int,
|
||||
arg3: *const ::std::os::raw::c_void,
|
||||
),
|
||||
>,
|
||||
) -> ::std::os::raw::c_int;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn sqlite3_sleep(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user