Skip to main content

JS_GetModuleName

Function JS_GetModuleName 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn JS_GetModuleName( ctx: *mut JsContext, m: *mut JsModuleDef, ) -> Atom
Expand description

JS_GetModuleName: the module’s specifier, as an atom.

§Safety

m must come from JS_NewCModule.