Rename _obj_toString to object_to_string.

This commit is contained in:
Ms2ger 2015-01-29 17:16:55 +01:00
parent 6920aa970d
commit f84cbd4025
2 changed files with 2 additions and 3 deletions

View file

@ -89,7 +89,7 @@ pub unsafe extern fn delete(cx: *mut JSContext, proxy: *mut JSObject, id: jsid,
}
/// Returns the stringification of an object with class `name`.
pub fn _obj_toString(cx: *mut JSContext, name: &str) -> *mut JSString {
pub fn object_to_string(cx: *mut JSContext, name: &str) -> *mut JSString {
unsafe {
let result = format!("[object {}]", name);