pub type YR_COMPILER_CALLBACK_FUNC = Option<unsafe extern "C" fn(error_level: c_int, file_name: *const c_char, line_number: c_int, rule: *const YR_RULE, message: *const c_char, user_data: *mut c_void)>;

Aliased Type§

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

Variants§

§1.0.0

None

No value.

§1.0.0

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

Some value of type T.