Function mozjs_sys::jsapi::JS_CallFunctionName

source ยท
pub unsafe extern "C" fn JS_CallFunctionName(
    cx: *mut JSContext,
    obj: Handle<*mut JSObject>,
    name: *const c_char,
    args: *const HandleValueArray,
    rval: MutableHandle<Value>,
) -> bool
Expand description

Perform the method call rval = obj[name](args).