Type Alias FnDefLoggerPrintStrCB

Source
pub type FnDefLoggerPrintStrCB = Option<unsafe extern "C" fn(p_context: *const c_void, psz_msg_str: *const c_char, str_len: c_int)>;
Expand description

function pointer tyee for library default logger output to allow client to print zero terminated output string

Aliased Type§

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

Variants§

§1.0.0

None

No value.

§1.0.0

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

Some value of type T.