b2AssertFcn

Type Alias b2AssertFcn 

Source
pub type b2AssertFcn = Option<unsafe extern "C" fn(condition: *const c_char, fileName: *const c_char, lineNumber: c_int) -> c_int>;
Expand description

Prototype for the user assert callback. Return 0 to skip the debugger break.

Aliased Type§

pub enum b2AssertFcn {
    None,
    Some(unsafe extern "C" fn(*const u8, *const u8, i32) -> i32),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(*const u8, *const u8, i32) -> i32)

Some value of type T.