llvm_sys::lto

Type Alias lto_diagnostic_handler_t

Source
pub type lto_diagnostic_handler_t = Option<extern "C" fn(severity: lto_codegen_diagnostic_severity_t, diag: *const c_char, ctxt: *mut c_void)>;

Aliased Type§

enum lto_diagnostic_handler_t {
    None,
    Some(extern "C" fn(_: lto_codegen_diagnostic_severity_t, _: *const i8, _: *mut c_void)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(extern "C" fn(_: lto_codegen_diagnostic_severity_t, _: *const i8, _: *mut c_void))

Some value of type T.