Skip to main content

arg_errorfn

Type Alias arg_errorfn 

Source
pub type arg_errorfn = Option<unsafe extern "C" fn(parent: *mut c_void, ds: arg_dstr_t, error: c_int, argval: *const c_char, progname: *const c_char)>;

Aliased Type§

pub enum arg_errorfn {
    None,
    Some(unsafe extern "C" fn(*mut c_void, *mut _internal_arg_dstr, i32, *const u8, *const u8)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(*mut c_void, *mut _internal_arg_dstr, i32, *const u8, *const u8))

Some value of type T.