Skip to main content

flint_sys/
acf_types.rs

1/* automatically generated by rust-bindgen 0.70.1 */
2
3use crate::arf_types::*;
4
5
6#[repr(C)]
7pub struct acf_struct {
8    pub real: arf_struct,
9    pub imag: arf_struct,
10}
11#[allow(clippy::unnecessary_operation, clippy::identity_op)]
12const _: () = {
13    ["Size of acf_struct"][::std::mem::size_of::<acf_struct>() - 64usize];
14    ["Alignment of acf_struct"][::std::mem::align_of::<acf_struct>() - 8usize];
15    ["Offset of field: acf_struct::real"][::std::mem::offset_of!(acf_struct, real) - 0usize];
16    ["Offset of field: acf_struct::imag"][::std::mem::offset_of!(acf_struct, imag) - 32usize];
17};
18impl Default for acf_struct {
19    fn default() -> Self {
20        let mut s = ::std::mem::MaybeUninit::<Self>::uninit();
21        unsafe {
22            ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1);
23            s.assume_init()
24        }
25    }
26}
27pub type acf_t = [acf_struct; 1usize];
28pub type acf_ptr = *mut acf_struct;
29pub type acf_srcptr = *const acf_struct;