Skip to main content

ggml_log_callback

Type Alias ggml_log_callback 

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

Aliased Type§

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

Variants§

§1.0.0

None

No value.

§1.0.0

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

Some value of type T.