Type Alias hirofa_quickjs_sys::JSModuleLoaderFunc

source ·
pub type JSModuleLoaderFunc = Option<unsafe extern "C" fn(ctx: *mut JSContext, module_name: *const c_char, opaque: *mut c_void) -> *mut JSModuleDef>;

Aliased Type§

enum JSModuleLoaderFunc {
    None,
    Some(unsafe extern "C" fn(_: *mut JSContext, _: *const i8, _: *mut c_void) -> *mut JSModuleDef),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(_: *mut JSContext, _: *const i8, _: *mut c_void) -> *mut JSModuleDef)

Some value of type T.