llvm_sys

Type Alias LLVMDiagnosticHandler

source
pub type LLVMDiagnosticHandler = Option<extern "C" fn(arg1: LLVMDiagnosticInfoRef, arg2: *mut c_void)>;

Aliased Type§

enum LLVMDiagnosticHandler {
    None,
    Some(extern "C" fn(_: *mut LLVMDiagnosticInfo, _: *mut c_void)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(extern "C" fn(_: *mut LLVMDiagnosticInfo, _: *mut c_void))

Some value of type T.