Skip to main content

M3SectionHandler

Type Alias M3SectionHandler 

Source
pub type M3SectionHandler = Option<unsafe extern "C" fn(i_module: IM3Module, name: *const c_char, start: *const u8, end: *const u8) -> M3Result>;

Aliased Type§

pub enum M3SectionHandler {
    None,
    Some(unsafe extern "C" fn(*mut M3Module, *const i8, *const u8, *const u8) -> *const i8),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(*mut M3Module, *const i8, *const u8, *const u8) -> *const i8)

Some value of type T.