Path: blob/main/crates/polars-arrow/src/ffi/generated.rs
6939 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}1617/// ABI-compatible struct for [`ArrowArray`](https://arrow.apache.org/docs/format/CDataInterface.html#structure-definitions)18#[repr(C)]19#[derive(Debug)]20pub struct ArrowArray {21pub(super) length: i64,22pub(super) null_count: i64,23pub(super) offset: i64,24pub(super) n_buffers: i64,25pub(super) n_children: i64,26pub(super) buffers: *mut *const ::std::os::raw::c_void,27pub(super) children: *mut *mut ArrowArray,28pub(super) dictionary: *mut ArrowArray,29pub(super) release: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ArrowArray)>,30pub(super) private_data: *mut ::std::os::raw::c_void,31}3233/// ABI-compatible struct for [`ArrowArrayStream`](https://arrow.apache.org/docs/format/CStreamInterface.html).34#[repr(C)]35#[derive(Debug)]36pub struct ArrowArrayStream {37pub(super) get_schema: ::std::option::Option<38unsafe extern "C" fn(39arg1: *mut ArrowArrayStream,40out: *mut ArrowSchema,41) -> ::std::os::raw::c_int,42>,43pub(super) get_next: ::std::option::Option<44unsafe extern "C" fn(45arg1: *mut ArrowArrayStream,46out: *mut ArrowArray,47) -> ::std::os::raw::c_int,48>,49pub(super) get_last_error: ::std::option::Option<50unsafe extern "C" fn(arg1: *mut ArrowArrayStream) -> *const ::std::os::raw::c_char,51>,52pub(super) release: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ArrowArrayStream)>,53pub(super) private_data: *mut ::std::os::raw::c_void,54}555657