Function mozjs::jsapi::js::NewFunctionByIdWithReserved

source ยท
pub unsafe extern "C" fn NewFunctionByIdWithReserved(
    cx: *mut JSContext,
    native: Option<unsafe extern "C" fn(_: *mut JSContext, _: u32, _: *mut Value) -> bool>,
    nargs: u32,
    flags: u32,
    id: PropertyKey,
) -> *mut JSFunction