Rename WrapCallThisObject to wrap_call_this_object.

This commit is contained in:
Ms2ger 2015-01-29 21:12:00 +01:00
parent cfbe464428
commit bbf1359024
2 changed files with 4 additions and 4 deletions

View file

@ -116,8 +116,8 @@ impl CallbackInterface {
}
/// Wraps the reflector for `p` into the compartment of `cx`.
pub fn WrapCallThisObject<T: Reflectable>(cx: *mut JSContext,
p: JSRef<T>) -> *mut JSObject {
pub fn wrap_call_this_object<T: Reflectable>(cx: *mut JSContext,
p: JSRef<T>) -> *mut JSObject {
let mut obj = p.reflector().get_jsobject();
assert!(!obj.is_null());