bool
-> BOOL
, per note in Pull Request #4.
This commit is contained in:
parent
42e4a0d798
commit
d8d73e45ad
|
@ -94,11 +94,11 @@ pub(crate) fn register_view_class_with_delegate<T: TextFieldDelegate>(instance:
|
||||||
);
|
);
|
||||||
decl.add_method(
|
decl.add_method(
|
||||||
sel!(textShouldBeginEditing:),
|
sel!(textShouldBeginEditing:),
|
||||||
text_should_begin_editing::<T> as extern "C" fn(&mut Object, Sel, id) -> bool,
|
text_should_begin_editing::<T> as extern "C" fn(&mut Object, Sel, id) -> BOOL,
|
||||||
);
|
);
|
||||||
decl.add_method(
|
decl.add_method(
|
||||||
sel!(textShouldEndEditing:),
|
sel!(textShouldEndEditing:),
|
||||||
text_should_end_editing::<T> as extern "C" fn(&mut Object, Sel, id) -> bool,
|
text_should_end_editing::<T> as extern "C" fn(&mut Object, Sel, id) -> BOOL,
|
||||||
);
|
);
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue