Move unwrap_jsmanaged and related machinery to conversions.rs.

This commit is contained in:
Ms2ger 2014-12-20 14:51:14 +01:00
parent 73c236ce3b
commit 96180ec3ad
5 changed files with 124 additions and 113 deletions

View file

@ -4,8 +4,8 @@
///! Utilities for the implementation of JSAPI proxy handlers.
use dom::bindings::conversions::is_dom_proxy;
use dom::bindings::utils::delete_property_by_id;
use dom::bindings::utils::is_dom_proxy;
use js::jsapi::{JSContext, jsid, JSPropertyDescriptor, JSObject, JSString, jschar};
use js::jsapi::{JS_GetPropertyDescriptorById, JS_NewUCString, JS_malloc, JS_free};
use js::jsapi::{JS_DefinePropertyById, JS_NewObjectWithGivenProto};