1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
/* automatically generated by rust-bindgen 0.65.1 */

#[repr(C)]
pub struct Bridge__bindgen_vtable(::std::os::raw::c_void);
#[doc = " Bridge for cpp"]
#[repr(C)]
#[derive(Debug)]
pub struct Bridge {
    pub vtable_: *const Bridge__bindgen_vtable,
    pub str_: *mut ::std::os::raw::c_char,
}
#[test]
fn bindgen_test_layout_Bridge() {
    const UNINIT: ::std::mem::MaybeUninit<Bridge> = ::std::mem::MaybeUninit::uninit();
    let ptr = UNINIT.as_ptr();
    assert_eq!(
        ::std::mem::size_of::<Bridge>(),
        16usize,
        concat!("Size of: ", stringify!(Bridge))
    );
    assert_eq!(
        ::std::mem::align_of::<Bridge>(),
        8usize,
        concat!("Alignment of ", stringify!(Bridge))
    );
    assert_eq!(
        unsafe { ::std::ptr::addr_of!((*ptr).str_) as usize - ptr as usize },
        8usize,
        concat!(
            "Offset of field: ",
            stringify!(Bridge),
            "::",
            stringify!(str_)
        )
    );
}
extern "C" {
    #[doc = " assign ptr"]
    #[link_name = "\u{1}?pset@Bridge@@QEAAXPEAD@Z"]
    pub fn Bridge_pset(this: *mut Bridge, p: *mut ::std::os::raw::c_char);
}
extern "C" {
    #[doc = " display"]
    #[link_name = "\u{1}?put@Bridge@@QEAAXXZ"]
    pub fn Bridge_put(this: *mut Bridge);
}
extern "C" {
    #[doc = " construct"]
    #[link_name = "\u{1}??0Bridge@@QEAA@XZ"]
    pub fn Bridge_Bridge(this: *mut Bridge);
}
extern "C" {
    #[doc = " construct with ptr"]
    #[link_name = "\u{1}??0Bridge@@QEAA@PEAD@Z"]
    pub fn Bridge_Bridge1(this: *mut Bridge, s: *mut ::std::os::raw::c_char);
}
impl Bridge {
    #[inline]
    pub unsafe fn pset(&mut self, p: *mut ::std::os::raw::c_char) {
        Bridge_pset(self, p)
    }
    #[inline]
    pub unsafe fn put(&mut self) {
        Bridge_put(self)
    }
    #[inline]
    pub unsafe fn new() -> Self {
        let mut __bindgen_tmp = ::std::mem::MaybeUninit::uninit();
        Bridge_Bridge(__bindgen_tmp.as_mut_ptr());
        __bindgen_tmp.assume_init()
    }
    #[inline]
    pub unsafe fn new1(s: *mut ::std::os::raw::c_char) -> Self {
        let mut __bindgen_tmp = ::std::mem::MaybeUninit::uninit();
        Bridge_Bridge1(__bindgen_tmp.as_mut_ptr(), s);
        __bindgen_tmp.assume_init()
    }
}
extern "C" {
    #[doc = " destruct"]
    #[link_name = "\u{1}??_DBridge@@QEAAXXZ"]
    pub fn Bridge_Bridge_destructor(this: *mut Bridge);
}
extern "C" {
    #[doc = " legacy C interface"]
    pub fn bput();
}
#[doc = " adhoc C macro and static __inline functions"]
pub type dReal = f64;
extern "C" {
    #[doc = " res = a(&dMatrix3) b(&dVector3)"]
    pub fn dMULTIPLY0_331(res: *mut dReal, a: *const dReal, b: *const dReal);
}
extern "C" {
    #[doc = " res = a(&dMatrix3) b(&dMatrix3)"]
    pub fn dMULTIPLY0_333(res: *mut dReal, a: *const dReal, b: *const dReal);
}