chore: update chdb
This commit is contained in:
@@ -1,5 +1,8 @@
|
||||
/* automatically generated by rust-bindgen 0.70.1 */
|
||||
|
||||
pub const __bool_true_false_are_defined: u32 = 1;
|
||||
pub const true_: u32 = 1;
|
||||
pub const false_: u32 = 0;
|
||||
pub const __WORDSIZE: u32 = 64;
|
||||
pub const __has_safe_buffers: u32 = 1;
|
||||
pub const __DARWIN_ONLY_64_BIT_INO_T: u32 = 1;
|
||||
@@ -405,4 +408,34 @@ extern "C" {
|
||||
extern "C" {
|
||||
pub fn free_result_v2(result: *mut local_result_v2);
|
||||
}
|
||||
#[repr(C)]
|
||||
#[derive(Debug, Copy, Clone)]
|
||||
pub struct chdb_conn {
|
||||
pub server: *mut ::std::os::raw::c_void,
|
||||
pub connected: bool,
|
||||
}
|
||||
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
|
||||
const _: () = {
|
||||
["Size of chdb_conn"][::std::mem::size_of::<chdb_conn>() - 16usize];
|
||||
["Alignment of chdb_conn"][::std::mem::align_of::<chdb_conn>() - 8usize];
|
||||
["Offset of field: chdb_conn::server"][::std::mem::offset_of!(chdb_conn, server) - 0usize];
|
||||
["Offset of field: chdb_conn::connected"]
|
||||
[::std::mem::offset_of!(chdb_conn, connected) - 8usize];
|
||||
};
|
||||
extern "C" {
|
||||
pub fn connect_chdb(
|
||||
argc: ::std::os::raw::c_int,
|
||||
argv: *mut *mut ::std::os::raw::c_char,
|
||||
) -> *mut *mut chdb_conn;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn close_conn(conn: *mut *mut chdb_conn);
|
||||
}
|
||||
extern "C" {
|
||||
pub fn query_conn(
|
||||
conn: *mut chdb_conn,
|
||||
query: *const ::std::os::raw::c_char,
|
||||
format: *const ::std::os::raw::c_char,
|
||||
) -> *mut local_result_v2;
|
||||
}
|
||||
pub type __builtin_va_list = *mut ::std::os::raw::c_char;
|
||||
|
||||
Reference in New Issue
Block a user