diff --git a/rust/src/interaction/handler.rs b/rust/src/interaction/handler.rs index 11929c9403..2af63eb10f 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 bool>, + *mut c_void, ), >, }