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