Make #[dom_struct] a proc_macro attribute

This commit is contained in:
Anthony Ramine 2017-02-21 11:27:05 +01:00
parent 64885c4213
commit 31e9d81c0f
251 changed files with 298 additions and 35 deletions

View file

@ -34,6 +34,7 @@ use dom::globalscope::GlobalScope;
use dom::promise::Promise;
use dom::promisenativehandler::{PromiseNativeHandler, Callback};
use dom::url::URL;
use dom_struct::dom_struct;
use js::jsapi::{HandleObject, HandleValue, Heap, JSContext, JSObject, JSAutoCompartment};
use js::jsapi::{JS_NewPlainObject, JS_NewUint8ClampedArray};
use js::jsval::{JSVal, NullValue};