LLVMDiagnosticHandler

Type Alias LLVMDiagnosticHandler 

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

@defgroup LLVMCCoreContext Contexts

Contexts are execution states for the core LLVM IR system.

Most types are tied to a context instance. Multiple contexts can exist simultaneously. A single context is not thread safe. However, different contexts can execute on different threads simultaneously.

@{

Aliased Type§

pub enum LLVMDiagnosticHandler {
    None,
    Some(unsafe extern "C" fn(*mut LLVMOpaqueDiagnosticInfo, *mut c_void)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(*mut LLVMOpaqueDiagnosticInfo, *mut c_void))

Some value of type T.