Skip to main content

pm_magic_comment_callback_t

Type Alias pm_magic_comment_callback_t 

Source
pub type pm_magic_comment_callback_t = Option<unsafe extern "C" fn(magic_comment: *const pm_magic_comment_t, data: *mut c_void)>;
Expand description

A callback function that can be used to process magic comments found while parsing.

Aliased Type§

pub enum pm_magic_comment_callback_t {
    None,
    Some(unsafe extern "C" fn(*const pm_magic_comment_t, *mut c_void)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(*const pm_magic_comment_t, *mut c_void))

Some value of type T.