• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 #![allow(
2     dead_code,
3     non_snake_case,
4     non_camel_case_types,
5     non_upper_case_globals
6 )]
7 
8 #[repr(C)]
9 #[derive(Default)]
10 pub struct __IncompleteArrayField<T>(::std::marker::PhantomData<T>, [T; 0]);
11 impl<T> __IncompleteArrayField<T> {
12     #[inline]
new() -> Self13     pub const fn new() -> Self {
14         __IncompleteArrayField(::std::marker::PhantomData, [])
15     }
16     #[inline]
as_ptr(&self) -> *const T17     pub fn as_ptr(&self) -> *const T {
18         self as *const _ as *const T
19     }
20     #[inline]
as_mut_ptr(&mut self) -> *mut T21     pub fn as_mut_ptr(&mut self) -> *mut T {
22         self as *mut _ as *mut T
23     }
24     #[inline]
as_slice(&self, len: usize) -> &[T]25     pub unsafe fn as_slice(&self, len: usize) -> &[T] {
26         ::std::slice::from_raw_parts(self.as_ptr(), len)
27     }
28     #[inline]
as_mut_slice(&mut self, len: usize) -> &mut [T]29     pub unsafe fn as_mut_slice(&mut self, len: usize) -> &mut [T] {
30         ::std::slice::from_raw_parts_mut(self.as_mut_ptr(), len)
31     }
32 }
33 impl<T> ::std::fmt::Debug for __IncompleteArrayField<T> {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result34     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
35         fmt.write_str("__IncompleteArrayField")
36     }
37 }
38 #[repr(C)]
39 #[derive(Copy, Clone)]
40 pub struct C {
41     pub a: ::std::os::raw::c_int,
42     pub big_array: [::std::os::raw::c_char; 33usize],
43 }
44 #[test]
bindgen_test_layout_C()45 fn bindgen_test_layout_C() {
46     const UNINIT: ::std::mem::MaybeUninit<C> =
47         ::std::mem::MaybeUninit::uninit();
48     let ptr = UNINIT.as_ptr();
49     assert_eq!(
50         ::std::mem::size_of::<C>(),
51         40usize,
52         concat!("Size of: ", stringify!(C))
53     );
54     assert_eq!(
55         ::std::mem::align_of::<C>(),
56         4usize,
57         concat!("Alignment of ", stringify!(C))
58     );
59     assert_eq!(
60         unsafe { ::std::ptr::addr_of!((*ptr).a) as usize - ptr as usize },
61         0usize,
62         concat!("Offset of field: ", stringify!(C), "::", stringify!(a))
63     );
64     assert_eq!(
65         unsafe {
66             ::std::ptr::addr_of!((*ptr).big_array) as usize - ptr as usize
67         },
68         4usize,
69         concat!(
70             "Offset of field: ",
71             stringify!(C),
72             "::",
73             stringify!(big_array)
74         )
75     );
76 }
77 impl Default for C {
default() -> Self78     fn default() -> Self {
79         let mut s = ::std::mem::MaybeUninit::<Self>::uninit();
80         unsafe {
81             ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1);
82             s.assume_init()
83         }
84     }
85 }
86 #[repr(C)]
87 pub struct C_with_zero_length_array {
88     pub a: ::std::os::raw::c_int,
89     pub big_array: [::std::os::raw::c_char; 33usize],
90     pub zero_length_array: __IncompleteArrayField<::std::os::raw::c_char>,
91 }
92 #[test]
bindgen_test_layout_C_with_zero_length_array()93 fn bindgen_test_layout_C_with_zero_length_array() {
94     const UNINIT: ::std::mem::MaybeUninit<C_with_zero_length_array> =
95         ::std::mem::MaybeUninit::uninit();
96     let ptr = UNINIT.as_ptr();
97     assert_eq!(
98         ::std::mem::size_of::<C_with_zero_length_array>(),
99         40usize,
100         concat!("Size of: ", stringify!(C_with_zero_length_array))
101     );
102     assert_eq!(
103         ::std::mem::align_of::<C_with_zero_length_array>(),
104         4usize,
105         concat!("Alignment of ", stringify!(C_with_zero_length_array))
106     );
107     assert_eq!(
108         unsafe { ::std::ptr::addr_of!((*ptr).a) as usize - ptr as usize },
109         0usize,
110         concat!(
111             "Offset of field: ",
112             stringify!(C_with_zero_length_array),
113             "::",
114             stringify!(a)
115         )
116     );
117     assert_eq!(
118         unsafe {
119             ::std::ptr::addr_of!((*ptr).big_array) as usize - ptr as usize
120         },
121         4usize,
122         concat!(
123             "Offset of field: ",
124             stringify!(C_with_zero_length_array),
125             "::",
126             stringify!(big_array)
127         )
128     );
129     assert_eq!(
130         unsafe {
131             ::std::ptr::addr_of!((*ptr).zero_length_array) as usize -
132                 ptr as usize
133         },
134         37usize,
135         concat!(
136             "Offset of field: ",
137             stringify!(C_with_zero_length_array),
138             "::",
139             stringify!(zero_length_array)
140         )
141     );
142 }
143 impl Default for C_with_zero_length_array {
default() -> Self144     fn default() -> Self {
145         let mut s = ::std::mem::MaybeUninit::<Self>::uninit();
146         unsafe {
147             ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1);
148             s.assume_init()
149         }
150     }
151 }
152 #[repr(C)]
153 #[derive(Debug, Default)]
154 pub struct C_with_zero_length_array_2 {
155     pub a: ::std::os::raw::c_int,
156     pub zero_length_array: __IncompleteArrayField<::std::os::raw::c_char>,
157 }
158 #[test]
bindgen_test_layout_C_with_zero_length_array_2()159 fn bindgen_test_layout_C_with_zero_length_array_2() {
160     const UNINIT: ::std::mem::MaybeUninit<C_with_zero_length_array_2> =
161         ::std::mem::MaybeUninit::uninit();
162     let ptr = UNINIT.as_ptr();
163     assert_eq!(
164         ::std::mem::size_of::<C_with_zero_length_array_2>(),
165         4usize,
166         concat!("Size of: ", stringify!(C_with_zero_length_array_2))
167     );
168     assert_eq!(
169         ::std::mem::align_of::<C_with_zero_length_array_2>(),
170         4usize,
171         concat!("Alignment of ", stringify!(C_with_zero_length_array_2))
172     );
173     assert_eq!(
174         unsafe { ::std::ptr::addr_of!((*ptr).a) as usize - ptr as usize },
175         0usize,
176         concat!(
177             "Offset of field: ",
178             stringify!(C_with_zero_length_array_2),
179             "::",
180             stringify!(a)
181         )
182     );
183     assert_eq!(
184         unsafe {
185             ::std::ptr::addr_of!((*ptr).zero_length_array) as usize -
186                 ptr as usize
187         },
188         4usize,
189         concat!(
190             "Offset of field: ",
191             stringify!(C_with_zero_length_array_2),
192             "::",
193             stringify!(zero_length_array)
194         )
195     );
196 }
197 #[repr(C)]
198 pub struct C_with_incomplete_array {
199     pub a: ::std::os::raw::c_int,
200     pub big_array: [::std::os::raw::c_char; 33usize],
201     pub incomplete_array: __IncompleteArrayField<::std::os::raw::c_char>,
202 }
203 #[test]
bindgen_test_layout_C_with_incomplete_array()204 fn bindgen_test_layout_C_with_incomplete_array() {
205     const UNINIT: ::std::mem::MaybeUninit<C_with_incomplete_array> =
206         ::std::mem::MaybeUninit::uninit();
207     let ptr = UNINIT.as_ptr();
208     assert_eq!(
209         ::std::mem::size_of::<C_with_incomplete_array>(),
210         40usize,
211         concat!("Size of: ", stringify!(C_with_incomplete_array))
212     );
213     assert_eq!(
214         ::std::mem::align_of::<C_with_incomplete_array>(),
215         4usize,
216         concat!("Alignment of ", stringify!(C_with_incomplete_array))
217     );
218     assert_eq!(
219         unsafe { ::std::ptr::addr_of!((*ptr).a) as usize - ptr as usize },
220         0usize,
221         concat!(
222             "Offset of field: ",
223             stringify!(C_with_incomplete_array),
224             "::",
225             stringify!(a)
226         )
227     );
228     assert_eq!(
229         unsafe {
230             ::std::ptr::addr_of!((*ptr).big_array) as usize - ptr as usize
231         },
232         4usize,
233         concat!(
234             "Offset of field: ",
235             stringify!(C_with_incomplete_array),
236             "::",
237             stringify!(big_array)
238         )
239     );
240     assert_eq!(
241         unsafe {
242             ::std::ptr::addr_of!((*ptr).incomplete_array) as usize -
243                 ptr as usize
244         },
245         37usize,
246         concat!(
247             "Offset of field: ",
248             stringify!(C_with_incomplete_array),
249             "::",
250             stringify!(incomplete_array)
251         )
252     );
253 }
254 impl Default for C_with_incomplete_array {
default() -> Self255     fn default() -> Self {
256         let mut s = ::std::mem::MaybeUninit::<Self>::uninit();
257         unsafe {
258             ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1);
259             s.assume_init()
260         }
261     }
262 }
263 #[repr(C)]
264 #[derive(Debug, Default)]
265 pub struct C_with_incomplete_array_2 {
266     pub a: ::std::os::raw::c_int,
267     pub incomplete_array: __IncompleteArrayField<::std::os::raw::c_char>,
268 }
269 #[test]
bindgen_test_layout_C_with_incomplete_array_2()270 fn bindgen_test_layout_C_with_incomplete_array_2() {
271     const UNINIT: ::std::mem::MaybeUninit<C_with_incomplete_array_2> =
272         ::std::mem::MaybeUninit::uninit();
273     let ptr = UNINIT.as_ptr();
274     assert_eq!(
275         ::std::mem::size_of::<C_with_incomplete_array_2>(),
276         4usize,
277         concat!("Size of: ", stringify!(C_with_incomplete_array_2))
278     );
279     assert_eq!(
280         ::std::mem::align_of::<C_with_incomplete_array_2>(),
281         4usize,
282         concat!("Alignment of ", stringify!(C_with_incomplete_array_2))
283     );
284     assert_eq!(
285         unsafe { ::std::ptr::addr_of!((*ptr).a) as usize - ptr as usize },
286         0usize,
287         concat!(
288             "Offset of field: ",
289             stringify!(C_with_incomplete_array_2),
290             "::",
291             stringify!(a)
292         )
293     );
294     assert_eq!(
295         unsafe {
296             ::std::ptr::addr_of!((*ptr).incomplete_array) as usize -
297                 ptr as usize
298         },
299         4usize,
300         concat!(
301             "Offset of field: ",
302             stringify!(C_with_incomplete_array_2),
303             "::",
304             stringify!(incomplete_array)
305         )
306     );
307 }
308 #[repr(C)]
309 pub struct C_with_zero_length_array_and_incomplete_array {
310     pub a: ::std::os::raw::c_int,
311     pub big_array: [::std::os::raw::c_char; 33usize],
312     pub zero_length_array: __IncompleteArrayField<::std::os::raw::c_char>,
313     pub incomplete_array: __IncompleteArrayField<::std::os::raw::c_char>,
314 }
315 #[test]
bindgen_test_layout_C_with_zero_length_array_and_incomplete_array()316 fn bindgen_test_layout_C_with_zero_length_array_and_incomplete_array() {
317     const UNINIT: ::std::mem::MaybeUninit<
318         C_with_zero_length_array_and_incomplete_array,
319     > = ::std::mem::MaybeUninit::uninit();
320     let ptr = UNINIT.as_ptr();
321     assert_eq!(
322         ::std::mem::size_of::<C_with_zero_length_array_and_incomplete_array>(),
323         40usize,
324         concat!(
325             "Size of: ",
326             stringify!(C_with_zero_length_array_and_incomplete_array)
327         )
328     );
329     assert_eq!(
330         ::std::mem::align_of::<C_with_zero_length_array_and_incomplete_array>(),
331         4usize,
332         concat!(
333             "Alignment of ",
334             stringify!(C_with_zero_length_array_and_incomplete_array)
335         )
336     );
337     assert_eq!(
338         unsafe { ::std::ptr::addr_of!((*ptr).a) as usize - ptr as usize },
339         0usize,
340         concat!(
341             "Offset of field: ",
342             stringify!(C_with_zero_length_array_and_incomplete_array),
343             "::",
344             stringify!(a)
345         )
346     );
347     assert_eq!(
348         unsafe {
349             ::std::ptr::addr_of!((*ptr).big_array) as usize - ptr as usize
350         },
351         4usize,
352         concat!(
353             "Offset of field: ",
354             stringify!(C_with_zero_length_array_and_incomplete_array),
355             "::",
356             stringify!(big_array)
357         )
358     );
359     assert_eq!(
360         unsafe {
361             ::std::ptr::addr_of!((*ptr).zero_length_array) as usize -
362                 ptr as usize
363         },
364         37usize,
365         concat!(
366             "Offset of field: ",
367             stringify!(C_with_zero_length_array_and_incomplete_array),
368             "::",
369             stringify!(zero_length_array)
370         )
371     );
372     assert_eq!(
373         unsafe {
374             ::std::ptr::addr_of!((*ptr).incomplete_array) as usize -
375                 ptr as usize
376         },
377         37usize,
378         concat!(
379             "Offset of field: ",
380             stringify!(C_with_zero_length_array_and_incomplete_array),
381             "::",
382             stringify!(incomplete_array)
383         )
384     );
385 }
386 impl Default for C_with_zero_length_array_and_incomplete_array {
default() -> Self387     fn default() -> Self {
388         let mut s = ::std::mem::MaybeUninit::<Self>::uninit();
389         unsafe {
390             ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1);
391             s.assume_init()
392         }
393     }
394 }
395 #[repr(C)]
396 #[derive(Debug, Default)]
397 pub struct C_with_zero_length_array_and_incomplete_array_2 {
398     pub a: ::std::os::raw::c_int,
399     pub zero_length_array: __IncompleteArrayField<::std::os::raw::c_char>,
400     pub incomplete_array: __IncompleteArrayField<::std::os::raw::c_char>,
401 }
402 #[test]
bindgen_test_layout_C_with_zero_length_array_and_incomplete_array_2()403 fn bindgen_test_layout_C_with_zero_length_array_and_incomplete_array_2() {
404     const UNINIT: ::std::mem::MaybeUninit<
405         C_with_zero_length_array_and_incomplete_array_2,
406     > = ::std::mem::MaybeUninit::uninit();
407     let ptr = UNINIT.as_ptr();
408     assert_eq!(
409         ::std::mem::size_of::<C_with_zero_length_array_and_incomplete_array_2>(
410         ),
411         4usize,
412         concat!(
413             "Size of: ",
414             stringify!(C_with_zero_length_array_and_incomplete_array_2)
415         )
416     );
417     assert_eq!(
418         ::std::mem::align_of::<C_with_zero_length_array_and_incomplete_array_2>(
419         ),
420         4usize,
421         concat!(
422             "Alignment of ",
423             stringify!(C_with_zero_length_array_and_incomplete_array_2)
424         )
425     );
426     assert_eq!(
427         unsafe { ::std::ptr::addr_of!((*ptr).a) as usize - ptr as usize },
428         0usize,
429         concat!(
430             "Offset of field: ",
431             stringify!(C_with_zero_length_array_and_incomplete_array_2),
432             "::",
433             stringify!(a)
434         )
435     );
436     assert_eq!(
437         unsafe {
438             ::std::ptr::addr_of!((*ptr).zero_length_array) as usize -
439                 ptr as usize
440         },
441         4usize,
442         concat!(
443             "Offset of field: ",
444             stringify!(C_with_zero_length_array_and_incomplete_array_2),
445             "::",
446             stringify!(zero_length_array)
447         )
448     );
449     assert_eq!(
450         unsafe {
451             ::std::ptr::addr_of!((*ptr).incomplete_array) as usize -
452                 ptr as usize
453         },
454         4usize,
455         concat!(
456             "Offset of field: ",
457             stringify!(C_with_zero_length_array_and_incomplete_array_2),
458             "::",
459             stringify!(incomplete_array)
460         )
461     );
462 }
463 #[repr(C)]
464 #[derive(Debug, Default, Hash, PartialOrd, Ord, PartialEq, Eq)]
465 pub struct WithDtor {
466     pub b: ::std::os::raw::c_int,
467 }
468 #[test]
bindgen_test_layout_WithDtor()469 fn bindgen_test_layout_WithDtor() {
470     const UNINIT: ::std::mem::MaybeUninit<WithDtor> =
471         ::std::mem::MaybeUninit::uninit();
472     let ptr = UNINIT.as_ptr();
473     assert_eq!(
474         ::std::mem::size_of::<WithDtor>(),
475         4usize,
476         concat!("Size of: ", stringify!(WithDtor))
477     );
478     assert_eq!(
479         ::std::mem::align_of::<WithDtor>(),
480         4usize,
481         concat!("Alignment of ", stringify!(WithDtor))
482     );
483     assert_eq!(
484         unsafe { ::std::ptr::addr_of!((*ptr).b) as usize - ptr as usize },
485         0usize,
486         concat!(
487             "Offset of field: ",
488             stringify!(WithDtor),
489             "::",
490             stringify!(b)
491         )
492     );
493 }
494 #[repr(C)]
495 pub struct IncompleteArrayNonCopiable {
496     pub whatever: *mut ::std::os::raw::c_void,
497     pub incomplete_array: __IncompleteArrayField<C>,
498 }
499 #[test]
bindgen_test_layout_IncompleteArrayNonCopiable()500 fn bindgen_test_layout_IncompleteArrayNonCopiable() {
501     const UNINIT: ::std::mem::MaybeUninit<IncompleteArrayNonCopiable> =
502         ::std::mem::MaybeUninit::uninit();
503     let ptr = UNINIT.as_ptr();
504     assert_eq!(
505         ::std::mem::size_of::<IncompleteArrayNonCopiable>(),
506         8usize,
507         concat!("Size of: ", stringify!(IncompleteArrayNonCopiable))
508     );
509     assert_eq!(
510         ::std::mem::align_of::<IncompleteArrayNonCopiable>(),
511         8usize,
512         concat!("Alignment of ", stringify!(IncompleteArrayNonCopiable))
513     );
514     assert_eq!(
515         unsafe {
516             ::std::ptr::addr_of!((*ptr).whatever) as usize - ptr as usize
517         },
518         0usize,
519         concat!(
520             "Offset of field: ",
521             stringify!(IncompleteArrayNonCopiable),
522             "::",
523             stringify!(whatever)
524         )
525     );
526     assert_eq!(
527         unsafe {
528             ::std::ptr::addr_of!((*ptr).incomplete_array) as usize -
529                 ptr as usize
530         },
531         8usize,
532         concat!(
533             "Offset of field: ",
534             stringify!(IncompleteArrayNonCopiable),
535             "::",
536             stringify!(incomplete_array)
537         )
538     );
539 }
540 impl Default for IncompleteArrayNonCopiable {
default() -> Self541     fn default() -> Self {
542         let mut s = ::std::mem::MaybeUninit::<Self>::uninit();
543         unsafe {
544             ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1);
545             s.assume_init()
546         }
547     }
548 }
549 #[repr(C)]
550 #[derive(Copy, Clone)]
551 pub union Union {
552     pub d: f32,
553     pub i: ::std::os::raw::c_int,
554 }
555 #[test]
bindgen_test_layout_Union()556 fn bindgen_test_layout_Union() {
557     const UNINIT: ::std::mem::MaybeUninit<Union> =
558         ::std::mem::MaybeUninit::uninit();
559     let ptr = UNINIT.as_ptr();
560     assert_eq!(
561         ::std::mem::size_of::<Union>(),
562         4usize,
563         concat!("Size of: ", stringify!(Union))
564     );
565     assert_eq!(
566         ::std::mem::align_of::<Union>(),
567         4usize,
568         concat!("Alignment of ", stringify!(Union))
569     );
570     assert_eq!(
571         unsafe { ::std::ptr::addr_of!((*ptr).d) as usize - ptr as usize },
572         0usize,
573         concat!("Offset of field: ", stringify!(Union), "::", stringify!(d))
574     );
575     assert_eq!(
576         unsafe { ::std::ptr::addr_of!((*ptr).i) as usize - ptr as usize },
577         0usize,
578         concat!("Offset of field: ", stringify!(Union), "::", stringify!(i))
579     );
580 }
581 impl Default for Union {
default() -> Self582     fn default() -> Self {
583         let mut s = ::std::mem::MaybeUninit::<Self>::uninit();
584         unsafe {
585             ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1);
586             s.assume_init()
587         }
588     }
589 }
590 #[repr(C)]
591 #[derive(Copy, Clone)]
592 pub struct WithUnion {
593     pub data: Union,
594 }
595 #[test]
bindgen_test_layout_WithUnion()596 fn bindgen_test_layout_WithUnion() {
597     const UNINIT: ::std::mem::MaybeUninit<WithUnion> =
598         ::std::mem::MaybeUninit::uninit();
599     let ptr = UNINIT.as_ptr();
600     assert_eq!(
601         ::std::mem::size_of::<WithUnion>(),
602         4usize,
603         concat!("Size of: ", stringify!(WithUnion))
604     );
605     assert_eq!(
606         ::std::mem::align_of::<WithUnion>(),
607         4usize,
608         concat!("Alignment of ", stringify!(WithUnion))
609     );
610     assert_eq!(
611         unsafe { ::std::ptr::addr_of!((*ptr).data) as usize - ptr as usize },
612         0usize,
613         concat!(
614             "Offset of field: ",
615             stringify!(WithUnion),
616             "::",
617             stringify!(data)
618         )
619     );
620 }
621 impl Default for WithUnion {
default() -> Self622     fn default() -> Self {
623         let mut s = ::std::mem::MaybeUninit::<Self>::uninit();
624         unsafe {
625             ::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1);
626             s.assume_init()
627         }
628     }
629 }
630 #[repr(C)]
631 #[derive(Debug, Default, Copy, Clone, Hash, PartialOrd, Ord, PartialEq, Eq)]
632 pub struct RealAbstractionWithTonsOfMethods {
633     pub _address: u8,
634 }
635 #[test]
bindgen_test_layout_RealAbstractionWithTonsOfMethods()636 fn bindgen_test_layout_RealAbstractionWithTonsOfMethods() {
637     assert_eq!(
638         ::std::mem::size_of::<RealAbstractionWithTonsOfMethods>(),
639         1usize,
640         concat!("Size of: ", stringify!(RealAbstractionWithTonsOfMethods))
641     );
642     assert_eq!(
643         ::std::mem::align_of::<RealAbstractionWithTonsOfMethods>(),
644         1usize,
645         concat!(
646             "Alignment of ",
647             stringify!(RealAbstractionWithTonsOfMethods)
648         )
649     );
650 }
651 extern "C" {
652     #[link_name = "\u{1}_ZNK32RealAbstractionWithTonsOfMethods3barEv"]
RealAbstractionWithTonsOfMethods_bar( this: *const RealAbstractionWithTonsOfMethods, )653     pub fn RealAbstractionWithTonsOfMethods_bar(
654         this: *const RealAbstractionWithTonsOfMethods,
655     );
656 }
657 extern "C" {
658     #[link_name = "\u{1}_ZN32RealAbstractionWithTonsOfMethods3barEv"]
RealAbstractionWithTonsOfMethods_bar1( this: *mut RealAbstractionWithTonsOfMethods, )659     pub fn RealAbstractionWithTonsOfMethods_bar1(
660         this: *mut RealAbstractionWithTonsOfMethods,
661     );
662 }
663 extern "C" {
664     #[link_name = "\u{1}_ZN32RealAbstractionWithTonsOfMethods3barEi"]
RealAbstractionWithTonsOfMethods_bar2( this: *mut RealAbstractionWithTonsOfMethods, foo: ::std::os::raw::c_int, )665     pub fn RealAbstractionWithTonsOfMethods_bar2(
666         this: *mut RealAbstractionWithTonsOfMethods,
667         foo: ::std::os::raw::c_int,
668     );
669 }
670 extern "C" {
671     #[link_name = "\u{1}_ZN32RealAbstractionWithTonsOfMethods3staEv"]
RealAbstractionWithTonsOfMethods_sta()672     pub fn RealAbstractionWithTonsOfMethods_sta();
673 }
674 impl RealAbstractionWithTonsOfMethods {
675     #[inline]
bar(&self)676     pub unsafe fn bar(&self) {
677         RealAbstractionWithTonsOfMethods_bar(self)
678     }
679     #[inline]
bar1(&mut self)680     pub unsafe fn bar1(&mut self) {
681         RealAbstractionWithTonsOfMethods_bar1(self)
682     }
683     #[inline]
bar2(&mut self, foo: ::std::os::raw::c_int)684     pub unsafe fn bar2(&mut self, foo: ::std::os::raw::c_int) {
685         RealAbstractionWithTonsOfMethods_bar2(self, foo)
686     }
687     #[inline]
sta()688     pub unsafe fn sta() {
689         RealAbstractionWithTonsOfMethods_sta()
690     }
691 }
692