File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ cargo-bundle's support for bundling crate examples.
31
31
[build-dependencies .bindgen ]
32
32
default-features = false
33
33
git = " https://github.com/simlay/rust-bindgen.git"
34
- branch = " objc-category-inheritance"
34
+ branch = " objc-category-inheritance-and-no-copy-structs "
35
35
# version = "0.54.1"
36
36
# path = "../../rust-bindgen/"
37
37
Original file line number Diff line number Diff line change @@ -151,7 +151,7 @@ fn add_views(root_view: &UIView) {
151
151
root_view. addSubview_ ( UIView ( input. 0 ) ) ;
152
152
}
153
153
unsafe {
154
- let switch = UISwitch ( uikit_sys:: IUISwitch :: initWithFrame_ ( UISwitch :: alloc ( ) ,
154
+ let switch = UISwitch ( uikit_sys:: IUISwitch :: initWithFrame_ ( & UISwitch :: alloc ( ) ,
155
155
CGRect {
156
156
origin : CGPoint { x : 10.0 , y : 80.0 } ,
157
157
size : CGSize {
@@ -218,9 +218,9 @@ fn add_counte_label(count: i64) -> UIView {
218
218
label
219
219
220
220
} ;
221
- //label
222
221
UIView ( label. 0 )
223
222
}
223
+
224
224
fn debug_init ( ) {
225
225
color_backtrace:: install_with_settings (
226
226
color_backtrace:: Settings :: new ( ) . verbosity ( color_backtrace:: Verbosity :: Full ) ,
You can’t perform that action at this time.
0 commit comments