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

@ -14,6 +14,7 @@ use dom::bindings::js::{JS, Root};
use dom::bindings::reflector::{DomObject, Reflector, reflect_dom_object};
use dom::bindings::trace::JSTraceable;
use dom::globalscope::GlobalScope;
use dom_struct::dom_struct;
use js::conversions::ToJSValConvertible;
use js::jsapi::{HandleValue, Heap, JSContext, JSObject, MutableHandleObject};
use js::jsval::UndefinedValue;