Function quickjs_runtime::quickjs_utils::modules::get_module_name

source ·
pub unsafe fn get_module_name(
    ctx: *mut JSContext,
    module: *mut JSModuleDef,
) -> Result<String, JsError>
Expand description

get the name of an JSModuleDef struct

§Safety

Please ensure the context passed is still valid