Type Alias libR_sys::fcn_p

source ·
pub type fcn_p = Option<unsafe extern "C" fn(arg1: c_int, arg2: *mut f64, arg3: *mut f64, arg4: *mut c_void)>;
Expand description

type of pointer to the target and gradient functions

Aliased Type§

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

Variants§

§1.0.0

None

No value.

§1.0.0

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

Some value of type T.