From 5ebbd0620903403fb30a61157b16f33c89afb584 Mon Sep 17 00:00:00 2001 From: Mason Reed Date: Sat, 10 May 2025 23:09:10 -0400 Subject: [Rust] Interaction handler API fixes --- rust/tests/interaction.rs | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'rust/tests') diff --git a/rust/tests/interaction.rs b/rust/tests/interaction.rs index eea906ec..5e9606b0 100644 --- a/rust/tests/interaction.rs +++ b/rust/tests/interaction.rs @@ -36,11 +36,16 @@ impl InteractionHandler for MyInteractionHandler { todo!() } - fn show_plain_text_report(&mut self, _view: &BinaryView, _title: &str, _contents: &str) { + fn show_plain_text_report( + &mut self, + _view: Option<&BinaryView>, + _title: &str, + _contents: &str, + ) { todo!() } - fn show_graph_report(&mut self, _view: &BinaryView, _title: &str, _graph: &FlowGraph) { + fn show_graph_report(&mut self, _view: Option<&BinaryView>, _title: &str, _graph: &FlowGraph) { todo!() } -- cgit v1.3.1