Function mozjs::rust::jsapi_wrapped::JS_DefineProperty2

source ยท
pub unsafe fn JS_DefineProperty2(
    cx: *mut JSContext,
    obj: HandleObject<'_>,
    name: *const c_char,
    getter: HandleObject<'_>,
    setter: HandleObject<'_>,
    attrs: c_uint,
) -> bool