From 6617b0afa09f549d0a5c9c53063f3ad8ab82b7e4 Mon Sep 17 00:00:00 2001 From: Mason Reed Date: Thu, 8 May 2025 21:50:23 -0400 Subject: [Rust] Fix misc typos --- rust/src/high_level_il/token_emitter.rs | 4 ++-- rust/src/interaction/handler.rs | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'rust/src') diff --git a/rust/src/high_level_il/token_emitter.rs b/rust/src/high_level_il/token_emitter.rs index 2f1236a9..864ee50d 100644 --- a/rust/src/high_level_il/token_emitter.rs +++ b/rust/src/high_level_il/token_emitter.rs @@ -50,11 +50,11 @@ impl HighLevelILTokenEmitter { }; } - pub fn has_collapsable_regions(&self) -> bool { + pub fn has_collapsible_regions(&self) -> bool { unsafe { BNHighLevelILTokenEmitterHasCollapsableRegions(self.handle.as_ptr()) } } - pub fn set_has_collapsable_regions(&self, state: bool) { + pub fn set_has_collapsible_regions(&self, state: bool) { unsafe { BNHighLevelILTokenEmitterSetHasCollapsableRegions(self.handle.as_ptr(), state) }; } diff --git a/rust/src/interaction/handler.rs b/rust/src/interaction/handler.rs index fa1681d1..23ca66e4 100644 --- a/rust/src/interaction/handler.rs +++ b/rust/src/interaction/handler.rs @@ -264,17 +264,17 @@ impl InteractionHandlerTask { }; let progress_ctxt = progress as *mut P as *mut c_void; - ffi_wrap!("custom_interation_run_progress_dialog", unsafe { + ffi_wrap!("custom_interaction_run_progress_dialog", unsafe { task( self.ctxt, - Some(cb_custom_interation_handler_task::

), + Some(cb_custom_interaction_handler_task::

), progress_ctxt, ) }) } } -unsafe extern "C" fn cb_custom_interation_handler_task bool>( +unsafe extern "C" fn cb_custom_interaction_handler_task bool>( ctxt: *mut c_void, cur: usize, max: usize, -- cgit v1.3.1