clp_callback

Type Alias clp_callback 

Source
pub type clp_callback = Option<unsafe extern "C" fn(model: *mut Clp_Simplex, msgno: c_int, ndouble: c_int, dvec: *const f64, nint: c_int, ivec: *const c_int, nchar: c_int, cvec: *mut *mut c_char)>;

Aliased Type§

pub enum clp_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.