Function mozjs::jsapi::JS_DefineProperty1
source ยท pub unsafe extern "C" fn JS_DefineProperty1(
cx: *mut JSContext,
obj: Handle<*mut JSObject>,
name: *const i8,
getter: Option<unsafe extern "C" fn(_: *mut JSContext, _: u32, _: *mut Value) -> bool>,
setter: Option<unsafe extern "C" fn(_: *mut JSContext, _: u32, _: *mut Value) -> bool>,
attrs: u32,
) -> bool