module_reader

Type Alias module_reader 

Source
pub type module_reader = Option<unsafe extern "C" fn(module_type: package_type_t, module_name: *const c_char, p_buffer: *mut *mut u8, p_size: *mut u32) -> bool>;
Expand description

Callback to load a module file into a buffer in multi-module feature

Aliased Type§

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

Variants§

§1.0.0

None

No value.

§1.0.0

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

Some value of type T.