Skip to main content

pm_diagnostic_callback_t

Type Alias pm_diagnostic_callback_t 

Source
pub type pm_diagnostic_callback_t = Option<unsafe extern "C" fn(diagnostic: *const pm_diagnostic_t, data: *mut c_void)>;
Expand description

A callback function that can be used to process diagnostics found while parsing.

Aliased Type§

pub enum pm_diagnostic_callback_t {
    None,
    Some(unsafe extern "C" fn(*const pm_diagnostic_t, *mut c_void)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

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

Some value of type T.