Function quickjs_runtime::quickjs_utils::get_script_or_module_name[][src]

pub unsafe fn get_script_or_module_name(
    context: *mut JSContext
) -> Result<String, EsError>

get the current filename

Safety

ensure the QuickJsContext has not been dropped