Function mozjs::jsapi::JS_CallFunctionName

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

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