File tree 2 files changed +0
-23
lines changed
2 files changed +0
-23
lines changed Original file line number Diff line number Diff line change 1
1
/* automatically generated by rust-bindgen */
2
2
3
-
4
3
#![ allow( dead_code, non_snake_case, non_camel_case_types, non_upper_case_globals) ]
5
4
6
-
7
5
#[ allow( non_snake_case, non_camel_case_types, non_upper_case_globals) ]
8
6
pub mod root {
9
7
#[ allow( unused_imports) ]
@@ -24,10 +22,6 @@ pub mod root {
24
22
pub mod _bindgen_mod_id_13 {
25
23
#[ allow( unused_imports) ]
26
24
use self :: super :: super :: root;
27
- extern "C" {
28
- #[ link_name = "\u{1} _ZN12_GLOBAL__N_13fooEv" ]
29
- pub fn foo ( ) ;
30
- }
31
25
#[ repr( C ) ]
32
26
#[ derive( Debug , Default , Copy , Clone ) ]
33
27
pub struct A {
@@ -51,18 +45,6 @@ pub mod root {
51
45
concat!( "Offset of field: " , stringify!( A ) , "::" , stringify!( b) )
52
46
) ;
53
47
}
54
- extern "C" {
55
- #[ link_name = "\u{1} _ZN12_GLOBAL__N_11A20lets_hope_this_worksEv" ]
56
- pub fn A_lets_hope_this_works (
57
- this : * mut root:: _bindgen_mod_id_13:: A ,
58
- ) -> :: std:: os:: raw:: c_int ;
59
- }
60
- impl A {
61
- #[ inline]
62
- pub unsafe fn lets_hope_this_works ( & mut self ) -> :: std:: os:: raw:: c_int {
63
- A_lets_hope_this_works ( self )
64
- }
65
- }
66
48
}
67
49
#[ repr( C ) ]
68
50
#[ derive( Debug ) ]
Original file line number Diff line number Diff line change @@ -11,11 +11,8 @@ namespace whatever {
11
11
namespace {
12
12
namespace empty {}
13
13
14
- void foo ();
15
14
struct A {
16
15
whatever::whatever_int_t b;
17
- public:
18
- int lets_hope_this_works ();
19
16
};
20
17
}
21
18
@@ -26,11 +23,9 @@ class C: public A {
26
23
T m_c_arr[10 ];
27
24
};
28
25
29
-
30
26
template <>
31
27
class C <int >;
32
28
33
-
34
29
namespace w {
35
30
typedef unsigned int whatever_int_t ;
36
31
You can’t perform that action at this time.
0 commit comments