Function mozjs_sys::jsapi::JS_DefineFunctionById

source ยท
pub unsafe extern "C" fn JS_DefineFunctionById(
    cx: *mut JSContext,
    obj: Handle<*mut JSObject>,
    id: Handle<jsid>,
    call: JSNative,
    nargs: c_uint,
    attrs: c_uint,
) -> *mut JSFunction