Function mozjs::jsapi::js::DefineFunctionWithReserved

source ยท
pub unsafe extern "C" fn DefineFunctionWithReserved(
    cx: *mut JSContext,
    obj: *mut JSObject,
    name: *const i8,
    call: Option<unsafe extern "C" fn(_: *mut JSContext, _: u32, _: *mut Value) -> bool>,
    nargs: u32,
    attrs: u32,
) -> *mut JSFunction