quickjs_runtime::quickjs_utils::functions

Function invoke_member_function

source
pub unsafe fn invoke_member_function(
    context: *mut JSContext,
    obj_ref: &QuickJsValueAdapter,
    function_name: &str,
    arguments: &[QuickJsValueAdapter],
) -> Result<QuickJsValueAdapter, JsError>
Expand description

ยงSafety

When passing a context pointer please make sure the corresponding QuickJsContext is still valid