Function mozjs::jsapi::NewFunctionByIdWithReservedAndProto
source ยท pub unsafe extern "C" fn NewFunctionByIdWithReservedAndProto(
cx: *mut JSContext,
native: Option<unsafe extern "C" fn(_: *mut JSContext, _: u32, _: *mut Value) -> bool>,
proto: Handle<*mut JSObject>,
nargs: u32,
flags: u32,
id: PropertyKey,
) -> *mut JSFunction