openmpt_log_func

Type Alias openmpt_log_func 

Source
pub type openmpt_log_func = Option<unsafe extern "C" fn(message: *const c_char, user: *mut c_void)>;
Expand description

\brief Logging function

\param message UTF-8 encoded log message. \param user User context that was passed to openmpt_module_create2(), openmpt_module_create_from_memory2() or openmpt_could_open_probability2().

Aliased Type§

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

Variants§

§1.0.0

None

No value.

§1.0.0

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

Some value of type T.