Rename GetProtoOrIfaceArray to get_proto_or_iface_array.

This commit is contained in:
Ms2ger 2015-01-29 18:29:07 +01:00
parent bfddd1ec53
commit b4b59df5e4
2 changed files with 3 additions and 3 deletions

View file

@ -154,7 +154,7 @@ unsafe impl Sync for DOMJSClass {}
/// Returns the ProtoOrIfaceArray for the given global object.
/// Fails if `global` is not a DOM global object.
pub fn GetProtoOrIfaceArray(global: *mut JSObject) -> *mut *mut JSObject {
pub fn get_proto_or_iface_array(global: *mut JSObject) -> *mut *mut JSObject {
unsafe {
assert!(((*JS_GetClass(global)).flags & JSCLASS_DOM_GLOBAL) != 0);
JS_GetReservedSlot(global, DOM_PROTOTYPE_SLOT).to_private() as *mut *mut JSObject