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
18#[repr(C)]
20#[derive(Debug)]
21pub struct ArrowArray {
22 pub(super) length: i64,
23 pub(super) null_count: i64,
24 pub(super) offset: i64,
25 pub(super) n_buffers: i64,
26 pub(super) n_children: i64,
27 pub(super) buffers: *mut *const ::std::os::raw::c_void,
28 pub(super) children: *mut *mut ArrowArray,
29 pub(super) dictionary: *mut ArrowArray,
30 pub(super) release: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ArrowArray)>,
31 pub(super) private_data: *mut ::std::os::raw::c_void,
32}
33
34#[repr(C)]
36#[derive(Debug)]
37pub struct ArrowArrayStream {
38 pub(super) get_schema: ::std::option::Option<
39 unsafe extern "C" fn(
40 arg1: *mut ArrowArrayStream,
41 out: *mut ArrowSchema,
42 ) -> ::std::os::raw::c_int,
43 >,
44 pub(super) get_next: ::std::option::Option<
45 unsafe extern "C" fn(
46 arg1: *mut ArrowArrayStream,
47 out: *mut ArrowArray,
48 ) -> ::std::os::raw::c_int,
49 >,
50 pub(super) get_last_error: ::std::option::Option<
51 unsafe extern "C" fn(arg1: *mut ArrowArrayStream) -> *const ::std::os::raw::c_char,
52 >,
53 pub(super) release: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ArrowArrayStream)>,
54 pub(super) private_data: *mut ::std::os::raw::c_void,
55}