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

@ -19,6 +19,7 @@ use dom::event::{Event, EventBubbles, EventCancelable, EventStatus};
use dom::eventtarget::EventTarget;
use dom::window::Window;
use dom::workerglobalscope::WorkerGlobalScope;
use dom_struct::dom_struct;
use ipc_channel::ipc::IpcSender;
use js::{JSCLASS_IS_DOMJSCLASS, JSCLASS_IS_GLOBAL};
use js::glue::{IsWrapper, UnwrapObject};