Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
raviqqe committed Jun 15, 2024
1 parent 0137a4e commit 3eb428b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion melior/src/pass/external.rs
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ pub fn create_external<'c, T: RunExternalPass<'c>>(
>(callback_initialize::<T> as *const ())),
run: Some(transmute::<
*const (),
unsafe extern "C" fn(MlirContext, *mut c_void) -> MlirLogicalResult,
unsafe extern "C" fn(MlirOperation, MlirExternalPass, *mut c_void),
>(callback_run::<T> as *const ())),
clone: Some(transmute::<*const (), _>(callback_clone::<T> as *const ())),
},
Expand Down

0 comments on commit 3eb428b

Please sign in to comment.