Skip to main content

JS_SetModuleLoaderFunc2

Function JS_SetModuleLoaderFunc2 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn JS_SetModuleLoaderFunc2( rt: *mut JsRuntime, module_normalize: ModuleNormalizeFunc, module_loader: ModuleLoaderFunc2, module_check_attrs: ModuleCheckAttrs, opaque: *mut c_void, )
Expand description

JS_SetModuleLoaderFunc2: the same, plus the import-attribute check.

ยงSafety

As JS_SetModuleLoaderFunc.