Type Alias mlir_sys::MlirTypesCallback
source · pub type MlirTypesCallback = Option<unsafe extern "C" fn(arg1: isize, arg2: *mut MlirType, arg3: *mut c_void)>;
Expand description
These callbacks are used to return multiple types from functions while transferring ownership to the caller. The first argument is the number of consecutive elements pointed to by the second argument. The third argument is an opaque pointer forwarded to the callback by the caller.
Aliased Type§
enum MlirTypesCallback {
None,
Some(unsafe extern "C" fn(_: isize, _: *mut MlirType, _: *mut c_void)),
}