summaryrefslogtreecommitdiff
path: root/rust/src/interaction/handler.rs
diff options
context:
space:
mode:
Diffstat (limited to 'rust/src/interaction/handler.rs')
-rw-r--r--rust/src/interaction/handler.rs8
1 files changed, 3 insertions, 5 deletions
diff --git a/rust/src/interaction/handler.rs b/rust/src/interaction/handler.rs
index 11929c94..2af63eb1 100644
--- a/rust/src/interaction/handler.rs
+++ b/rust/src/interaction/handler.rs
@@ -272,11 +272,9 @@ pub struct InteractionHandlerTask {
ctxt: *mut c_void,
task: Option<
unsafe extern "C" fn(
- taskCtxt: *mut c_void,
- progress: Option<
- unsafe extern "C" fn(progressCtxt: *mut c_void, cur: usize, max: usize) -> bool,
- >,
- progressCtxt: *mut c_void,
+ *mut c_void,
+ progress: Option<unsafe extern "C" fn(*mut c_void, cur: usize, max: usize) -> bool>,
+ *mut c_void,
),
>,
}