Function script::dom::bindings::import::module::jsapi::JS_DefineFunctionById

source ยท
pub unsafe extern "C" fn JS_DefineFunctionById(
    cx: *mut JSContext,
    obj: Handle<*mut JSObject>,
    id: Handle<PropertyKey>,
    call: Option<unsafe extern "C" fn(_: *mut JSContext, _: u32, _: *mut Value) -> bool>,
    nargs: u32,
    attrs: u32,
) -> *mut JSFunction