File tree 3 files changed +32
-1
lines changed
3 files changed +32
-1
lines changed Original file line number Diff line number Diff line change @@ -242,9 +242,9 @@ impl ClangSubItemParser for Function {
242
242
-> Result < ParseResult < Self > , ParseError > {
243
243
use clang_sys:: * ;
244
244
match cursor. kind ( ) {
245
+ // FIXME(emilio): Generate destructors properly.
245
246
CXCursor_FunctionDecl |
246
247
CXCursor_Constructor |
247
- CXCursor_Destructor |
248
248
CXCursor_CXXMethod => { }
249
249
_ => return Err ( ParseError :: Continue ) ,
250
250
} ;
Original file line number Diff line number Diff line change
1
+ /* automatically generated by rust-bindgen */
2
+
3
+
4
+ #![ allow( non_snake_case) ]
5
+
6
+
7
+ #[ repr( C ) ]
8
+ #[ derive( Debug ) ]
9
+ pub struct cv_String {
10
+ pub _address : u8 ,
11
+ }
12
+ #[ test]
13
+ fn bindgen_test_layout_cv_String ( ) {
14
+ assert_eq ! ( :: std:: mem:: size_of:: <cv_String>( ) , 1usize ) ;
15
+ assert_eq ! ( :: std:: mem:: align_of:: <cv_String>( ) , 1usize ) ;
16
+ }
Original file line number Diff line number Diff line change
1
+
2
+
3
+ namespace cv {
4
+ class String {
5
+ public:
6
+ ~String ();
7
+ };
8
+
9
+
10
+ inline
11
+ String::~String ()
12
+ {
13
+ }
14
+
15
+ }
You can’t perform that action at this time.
0 commit comments