mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
Rename defineProperty_ to define_property.
This commit is contained in:
parent
4b0c4e5ba2
commit
d7de6973c7
2 changed files with 6 additions and 5 deletions
|
@ -55,8 +55,9 @@ pub unsafe extern fn get_property_descriptor(cx: *mut JSContext,
|
|||
}
|
||||
|
||||
/// Defines an expando on the given `proxy`.
|
||||
pub unsafe extern fn defineProperty_(cx: *mut JSContext, proxy: *mut JSObject, id: jsid,
|
||||
desc: *mut JSPropertyDescriptor) -> bool {
|
||||
pub unsafe extern fn define_property(cx: *mut JSContext, proxy: *mut JSObject,
|
||||
id: jsid, desc: *mut JSPropertyDescriptor)
|
||||
-> bool {
|
||||
static JSMSG_GETTER_ONLY: libc::c_uint = 160;
|
||||
|
||||
//FIXME: Workaround for https://github.com/mozilla/rust/issues/13385
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue