From d8d73e45adbc7fc763c139f306bcb7fdc65f7868 Mon Sep 17 00:00:00 2001 From: Ryan McGrath Date: Thu, 18 Mar 2021 11:33:43 -0700 Subject: [PATCH] `bool` -> `BOOL`, per note in Pull Request #4. --- src/input/macos.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/input/macos.rs b/src/input/macos.rs index c905ce6..db29bb9 100644 --- a/src/input/macos.rs +++ b/src/input/macos.rs @@ -94,11 +94,11 @@ pub(crate) fn register_view_class_with_delegate(instance: ); decl.add_method( sel!(textShouldBeginEditing:), - text_should_begin_editing:: as extern "C" fn(&mut Object, Sel, id) -> bool, + text_should_begin_editing:: as extern "C" fn(&mut Object, Sel, id) -> BOOL, ); decl.add_method( sel!(textShouldEndEditing:), - text_should_end_editing:: as extern "C" fn(&mut Object, Sel, id) -> bool, + text_should_end_editing:: as extern "C" fn(&mut Object, Sel, id) -> BOOL, ); }) }