Type Alias oidn::sys::OIDNErrorFunction

source ·
pub type OIDNErrorFunction = Option<unsafe extern "C" fn(userPtr: *mut c_void, code: OIDNError, message: *const c_char)>;

Aliased Type§

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

Variants§

§1.0.0

None

No value.

§1.0.0

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

Some value of type T.