Function mozjs::rust::jsapi_wrapped::JS_DefineProperty

source ยท
pub unsafe fn JS_DefineProperty(
    cx: *mut JSContext,
    obj: HandleObject<'_>,
    name: *const c_char,
    value: Handle<'_, Value>,
    attrs: c_uint,
) -> bool