aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/script/dom/bindings/codegen
diff options
context:
space:
mode:
authorlpy <pylaurent1314@gmail.com>2014-03-20 17:14:31 +0800
committerlpy <pylaurent1314@gmail.com>2014-03-20 17:14:31 +0800
commit34b73837d3f5709d4a47b5119afe17f24cfb930c (patch)
treead5b325d1d4b3cdeab80a5ff6fa128460a555fbf /src/components/script/dom/bindings/codegen
parent6040271db3ccecd694a92fe2cbe437ff12c3e237 (diff)
downloadservo-34b73837d3f5709d4a47b5119afe17f24cfb930c.tar.gz
servo-34b73837d3f5709d4a47b5119afe17f24cfb930c.zip
Rename squirrel_away_unboxed to squirrel_away_unique.(fixes #1938)
Diffstat (limited to 'src/components/script/dom/bindings/codegen')
-rw-r--r--src/components/script/dom/bindings/codegen/CodegenRust.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/components/script/dom/bindings/codegen/CodegenRust.py b/src/components/script/dom/bindings/codegen/CodegenRust.py
index cb9dd703604..ff0177e4c93 100644
--- a/src/components/script/dom/bindings/codegen/CodegenRust.py
+++ b/src/components/script/dom/bindings/codegen/CodegenRust.py
@@ -2068,7 +2068,7 @@ def CreateBindingJSObject(descriptor, parent=None):
let handler = js_info.get().get_ref().dom_static.proxy_handlers.get(&(PrototypeList::id::%s as uint));
""" % descriptor.name
create += handler + """ let obj = NewProxyObject(aCx, *handler,
- &PrivateValue(squirrel_away_unboxed(aObject) as *libc::c_void),
+ &PrivateValue(squirrel_away_unique(aObject) as *libc::c_void),
proto, %s,
ptr::null(), ptr::null());
assert!(obj.is_not_null());
@@ -2082,7 +2082,7 @@ def CreateBindingJSObject(descriptor, parent=None):
create += """ assert!(obj.is_not_null());
JS_SetReservedSlot(obj, DOM_OBJECT_SLOT as u32,
- PrivateValue(squirrel_away_unboxed(aObject) as *libc::c_void));
+ PrivateValue(squirrel_away_unique(aObject) as *libc::c_void));
"""
return create
@@ -4793,7 +4793,7 @@ class CGBindingRoot(CGThing):
'dom::bindings::utils::{NativePropertyHooks}',
'dom::bindings::utils::global_object_for_js_object',
'dom::bindings::utils::{Reflectable}',
- 'dom::bindings::utils::{squirrel_away_unboxed}',
+ 'dom::bindings::utils::{squirrel_away_unique}',
'dom::bindings::utils::{ThrowingConstructor, unwrap, unwrap_jsmanaged}',
'dom::bindings::utils::{unwrap_object, VoidVal, with_gc_disabled}',
'dom::bindings::utils::{with_gc_enabled, XrayResolveProperty}',