summaryrefslogtreecommitdiff
path: root/rust/src
diff options
context:
space:
mode:
Diffstat (limited to 'rust/src')
-rw-r--r--rust/src/high_level_il/token_emitter.rs4
-rw-r--r--rust/src/interaction/handler.rs6
2 files changed, 5 insertions, 5 deletions
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::<P>),
+ Some(cb_custom_interaction_handler_task::<P>),
progress_ctxt,
)
})
}
}
-unsafe extern "C" fn cb_custom_interation_handler_task<P: FnMut(usize, usize) -> bool>(
+unsafe extern "C" fn cb_custom_interaction_handler_task<P: FnMut(usize, usize) -> bool>(
ctxt: *mut c_void,
cur: usize,
max: usize,