Skip to main content

message_handler_func_t

Type Alias message_handler_func_t 

Source
pub type message_handler_func_t = Option<unsafe extern "C" fn(user_data: *mut c_void, level: c_int, text: *const c_char)>;
Expand description

Logging function for spandsp logging.

Aliased Type§

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

Variants§

§1.0.0

None

No value.

§1.0.0

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

Some value of type T.