Function quickjs_runtime::quickjs_utils::functions::call_function_ref_args
source · pub unsafe fn call_function_ref_args(
context: *mut JSContext,
function_ref: &QuickJsValueAdapter,
arguments: &[&QuickJsValueAdapter],
this_ref_opt: Option<&QuickJsValueAdapter>,
) -> Result<QuickJsValueAdapter, JsError>
Expand description
call a function
§Safety
When passing a context pointer please make sure the corresponding QuickJsContext is still valid