quickjs_runtime::quickjs_utils

Function get_script_or_module_name

source
pub unsafe fn get_script_or_module_name(
    context: *mut JSContext,
) -> Result<String, JsError>
Expand description

get the current filename

ยงSafety

ensure the QuickJsContext has not been dropped