This repository has been archived by the owner on Feb 18, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 224
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
679ce0c
commit 5a251aa
Showing
4 changed files
with
62 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
/* automatically generated by rust-bindgen 0.59.2 */ | ||
|
||
/// ABI-compatible struct for `ArrowSchema` from C Data Interface | ||
/// See <https://arrow.apache.org/docs/format/CDataInterface.html#structure-definitions> | ||
#[repr(C)] | ||
#[derive(Debug, Clone)] | ||
pub struct ArrowSchema { | ||
pub(super) format: *const ::std::os::raw::c_char, | ||
pub(super) name: *const ::std::os::raw::c_char, | ||
pub(super) metadata: *const ::std::os::raw::c_char, | ||
pub(super) flags: i64, | ||
pub(super) n_children: i64, | ||
pub(super) children: *mut *mut ArrowSchema, | ||
pub(super) dictionary: *mut ArrowSchema, | ||
pub(super) release: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ArrowSchema)>, | ||
pub(super) private_data: *mut ::std::os::raw::c_void, | ||
} | ||
|
||
/// ABI-compatible struct for `ArrowArray` from C Data Interface | ||
/// See <https://arrow.apache.org/docs/format/CDataInterface.html#structure-definitions> | ||
#[repr(C)] | ||
#[derive(Debug, Clone)] | ||
pub struct ArrowArray { | ||
pub(super) length: i64, | ||
pub(super) null_count: i64, | ||
pub(super) offset: i64, | ||
pub(super) n_buffers: i64, | ||
pub(super) n_children: i64, | ||
pub(super) buffers: *mut *const ::std::os::raw::c_void, | ||
pub(super) children: *mut *mut ArrowArray, | ||
pub(super) dictionary: *mut ArrowArray, | ||
pub(super) release: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ArrowArray)>, | ||
pub(super) private_data: *mut ::std::os::raw::c_void, | ||
} | ||
|
||
#[repr(C)] | ||
#[derive(Debug, Copy, Clone)] | ||
pub struct ArrowArrayStream { | ||
get_schema: ::std::option::Option< | ||
unsafe extern "C" fn( | ||
arg1: *mut ArrowArrayStream, | ||
out: *mut ArrowSchema, | ||
) -> ::std::os::raw::c_int, | ||
>, | ||
get_next: ::std::option::Option< | ||
unsafe extern "C" fn( | ||
arg1: *mut ArrowArrayStream, | ||
out: *mut ArrowArray, | ||
) -> ::std::os::raw::c_int, | ||
>, | ||
get_last_error: ::std::option::Option< | ||
unsafe extern "C" fn(arg1: *mut ArrowArrayStream) -> *const ::std::os::raw::c_char, | ||
>, | ||
release: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ArrowArrayStream)>, | ||
private_data: *mut ::std::os::raw::c_void, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters