Rename getOwnPropertyNames_ and enumerate_ to get_own_property_names and enumerate.

This commit is contained in:
Ms2ger 2015-01-29 17:25:06 +01:00
parent bcd9ca6081
commit 009cc87b6a
2 changed files with 7 additions and 8 deletions

View file

@ -146,14 +146,14 @@ pub fn fill_property_descriptor(desc: &mut JSPropertyDescriptor,
}
/// No-op required hook.
pub unsafe extern fn getOwnPropertyNames_(_cx: *mut JSContext,
_obj: *mut JSObject,
_v: *mut AutoIdVector) -> bool {
pub unsafe extern fn get_own_property_names(_cx: *mut JSContext,
_obj: *mut JSObject,
_v: *mut AutoIdVector) -> bool {
true
}
/// No-op required hook.
pub unsafe extern fn enumerate_(_cx: *mut JSContext, _obj: *mut JSObject,
_v: *mut AutoIdVector) -> bool {
pub unsafe extern fn enumerate(_cx: *mut JSContext, _obj: *mut JSObject,
_v: *mut AutoIdVector) -> bool {
true
}