polars_arrow/ffi/
generated.rs1#[repr(C)]
5#[derive(Debug)]
6pub struct ArrowSchema {
7 pub(super) format: *const ::std::os::raw::c_char,
8 pub(super) name: *const ::std::os::raw::c_char,
9 pub(super) metadata: *const ::std::os::raw::c_char,
10 pub(super) flags: i64,
11 pub(super) n_children: i64,
12 pub(super) children: *mut *mut ArrowSchema,
13 pub(super) dictionary: *mut ArrowSchema,
14 pub(super) release: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ArrowSchema)>,
15 pub(super) private_data: *mut ::std::os::raw::c_void,
16}
17
18unsafe impl Send for ArrowSchema {}
19
20#[repr(C)]
22#[derive(Debug)]
23pub struct ArrowArray {
24 pub(super) length: i64,
25 pub(super) null_count: i64,
26 pub(super) offset: i64,
27 pub(super) n_buffers: i64,
28 pub(super) n_children: i64,
29 pub(super) buffers: *mut *const ::std::os::raw::c_void,
30 pub(super) children: *mut *mut ArrowArray,
31 pub(super) dictionary: *mut ArrowArray,
32 pub(super) release: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ArrowArray)>,
33 pub(super) private_data: *mut ::std::os::raw::c_void,
34}
35
36#[repr(C)]
38#[derive(Debug)]
39pub struct ArrowArrayStream {
40 pub(super) get_schema: ::std::option::Option<
41 unsafe extern "C" fn(
42 arg1: *mut ArrowArrayStream,
43 out: *mut ArrowSchema,
44 ) -> ::std::os::raw::c_int,
45 >,
46 pub(super) get_next: ::std::option::Option<
47 unsafe extern "C" fn(
48 arg1: *mut ArrowArrayStream,
49 out: *mut ArrowArray,
50 ) -> ::std::os::raw::c_int,
51 >,
52 pub(super) get_last_error: ::std::option::Option<
53 unsafe extern "C" fn(arg1: *mut ArrowArrayStream) -> *const ::std::os::raw::c_char,
54 >,
55 pub(super) release: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ArrowArrayStream)>,
56 pub(super) private_data: *mut ::std::os::raw::c_void,
57}