Type Alias coincbc_sys::sbb_callback

source ·
pub type sbb_callback = Option<unsafe extern "C" fn(model: *mut Sbb_Model, msgno: c_int, ndouble: c_int, dvec: *const f64, nint: c_int, ivec: *const c_int, nchar: c_int, cvec: *mut *mut c_char)>;
Expand description

typedef for user call back. The cvec are constructed so don’t need to be const

Aliased Type§

enum sbb_callback {
    None,
    Some(unsafe extern "C" fn(_: *mut c_void, _: i32, _: i32, _: *const f64, _: i32, _: *const i32, _: i32, _: *mut *mut i8)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(_: *mut c_void, _: i32, _: i32, _: *const f64, _: i32, _: *const i32, _: i32, _: *mut *mut i8))

Some value of type T.