diff options
author | Josh Matthews <josh@joshmatthews.net> | 2025-02-04 05:36:30 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-02-04 10:36:30 +0000 |
commit | c0cef69108b199efc0fcb720fe70ffe0dd07d763 (patch) | |
tree | 3186949cbf606efe13a1ba6a06d5d26e8f727d99 /components/script/dom/bindings/mod.rs | |
parent | eaaad757e81d52c22b8e2b8039a310061e9d2cb3 (diff) | |
download | servo-c0cef69108b199efc0fcb720fe70ffe0dd07d763.tar.gz servo-c0cef69108b199efc0fcb720fe70ffe0dd07d763.zip |
Move more foundational types to script_bindings (#35280)
* script: Move DOMClass to script_bindings.
Signed-off-by: Josh Matthews <josh@joshmatthews.net>
* script: Move DOMJSClass and get_dom_class to script_bindings.
Signed-off-by: Josh Matthews <josh@joshmatthews.net>
* script: Move Castable/DerivedFrom/IDLInterface to script_bindings.
Signed-off-by: Josh Matthews <josh@joshmatthews.net>
---------
Signed-off-by: Josh Matthews <josh@joshmatthews.net>
Diffstat (limited to 'components/script/dom/bindings/mod.rs')
-rw-r--r-- | components/script/dom/bindings/mod.rs | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/components/script/dom/bindings/mod.rs b/components/script/dom/bindings/mod.rs index 65629fda46b..ee934ca2af1 100644 --- a/components/script/dom/bindings/mod.rs +++ b/components/script/dom/bindings/mod.rs @@ -184,15 +184,17 @@ pub(crate) mod codegen { } pub(crate) mod InterfaceObjectMap { include!(concat!(env!("BINDINGS_OUT_DIR"), "/InterfaceObjectMap.rs")); + pub(crate) use script_bindings::codegen::Globals::Globals; } - #[allow(dead_code, unused_imports, clippy::enum_variant_names)] - pub(crate) mod InheritTypes { - include!(concat!(env!("BINDINGS_OUT_DIR"), "/InheritTypes.rs")); - } - #[allow(clippy::upper_case_acronyms)] - pub(crate) mod PrototypeList { - include!(concat!(env!("BINDINGS_OUT_DIR"), "/PrototypeList.rs")); + pub(crate) use script_bindings::codegen::InheritTypes; + #[allow(dead_code)] + pub(crate) mod ConcreteInheritTypes { + include!(concat!( + env!("BINDINGS_OUT_DIR"), + "/ConcreteInheritTypes.rs" + )); } + pub(crate) use script_bindings::codegen::PrototypeList; pub(crate) mod RegisterBindings { include!(concat!(env!("BINDINGS_OUT_DIR"), "/RegisterBindings.rs")); } |