Type Alias fnLogMsgCB

Source
pub type fnLogMsgCB = Option<unsafe extern "C" fn(lib_context: *const c_void, filter_level: ocsd_err_severity_t, msg: *const c_char)>;
Expand description

callback functions to connect into the library error logging mechanism Implements ITraceErrorLog::LogMessage with addition of library context pointer.

Aliased Type§

enum fnLogMsgCB {
    None,
    Some(unsafe extern "C" fn(*const c_void, u32, *const i8)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(*const c_void, u32, *const i8))

Some value of type T.