Skip to main content

VAMessageCallback

Type Alias VAMessageCallback 

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

Type of a message callback, used for both error and info log.

Aliased Type§

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

Variants§

§1.0.0

None

No value.

§1.0.0

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

Some value of type T.