memory_callback

Type Alias memory_callback 

Source
pub type memory_callback = Option<unsafe extern "C" fn(data: *mut c_void, file: *const c_char, where_: *const c_char)>;

Aliased Type§

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

Variants§

§1.0.0

None

No value.

§1.0.0

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

Some value of type T.