Type Alias hirofa_quickjs_sys::JSModuleNormalizeFunc

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

Aliased Type§

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

Variants§

§1.0.0

None

No value.

§1.0.0

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

Some value of type T.