Path: blob/main/crates/polars-arrow/src/ffi/generated.rs
8422 views
/* automatically generated by rust-bindgen 0.59.2 */12/// ABI-compatible struct for [`ArrowSchema`](https://arrow.apache.org/docs/format/CDataInterface.html#structure-definitions)3#[repr(C)]4#[derive(Debug)]5pub struct ArrowSchema {6pub(super) format: *const ::std::os::raw::c_char,7pub(super) name: *const ::std::os::raw::c_char,8pub(super) metadata: *const ::std::os::raw::c_char,9pub(super) flags: i64,10pub(super) n_children: i64,11pub(super) children: *mut *mut ArrowSchema,12pub(super) dictionary: *mut ArrowSchema,13pub(super) release: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ArrowSchema)>,14pub(super) private_data: *mut ::std::os::raw::c_void,15}1617unsafe impl Send for ArrowSchema {}1819/// ABI-compatible struct for [`ArrowArray`](https://arrow.apache.org/docs/format/CDataInterface.html#structure-definitions)20#[repr(C)]21#[derive(Debug)]22pub struct ArrowArray {23pub(super) length: i64,24pub(super) null_count: i64,25pub(super) offset: i64,26pub(super) n_buffers: i64,27pub(super) n_children: i64,28pub(super) buffers: *mut *const ::std::os::raw::c_void,29pub(super) children: *mut *mut ArrowArray,30pub(super) dictionary: *mut ArrowArray,31pub(super) release: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ArrowArray)>,32pub(super) private_data: *mut ::std::os::raw::c_void,33}3435/// ABI-compatible struct for [`ArrowArrayStream`](https://arrow.apache.org/docs/format/CStreamInterface.html).36#[repr(C)]37#[derive(Debug)]38pub struct ArrowArrayStream {39pub(super) get_schema: ::std::option::Option<40unsafe extern "C" fn(41arg1: *mut ArrowArrayStream,42out: *mut ArrowSchema,43) -> ::std::os::raw::c_int,44>,45pub(super) get_next: ::std::option::Option<46unsafe extern "C" fn(47arg1: *mut ArrowArrayStream,48out: *mut ArrowArray,49) -> ::std::os::raw::c_int,50>,51pub(super) get_last_error: ::std::option::Option<52unsafe extern "C" fn(arg1: *mut ArrowArrayStream) -> *const ::std::os::raw::c_char,53>,54pub(super) release: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ArrowArrayStream)>,55pub(super) private_data: *mut ::std::os::raw::c_void,56}575859