mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
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>
This commit is contained in:
parent
eaaad757e8
commit
c0cef69108
16 changed files with 291 additions and 207 deletions
|
@ -19,9 +19,27 @@ extern crate malloc_size_of_derive;
|
|||
|
||||
pub mod callback;
|
||||
pub mod conversions;
|
||||
pub mod inheritance;
|
||||
pub mod reflector;
|
||||
pub mod script_runtime;
|
||||
pub mod str;
|
||||
mod trace;
|
||||
pub mod utils;
|
||||
|
||||
#[allow(non_snake_case)]
|
||||
pub mod codegen {
|
||||
pub mod Globals {
|
||||
include!(concat!(env!("OUT_DIR"), "/Globals.rs"));
|
||||
}
|
||||
#[allow(dead_code, unused_imports, clippy::enum_variant_names)]
|
||||
pub mod InheritTypes {
|
||||
include!(concat!(env!("OUT_DIR"), "/InheritTypes.rs"));
|
||||
}
|
||||
#[allow(clippy::upper_case_acronyms)]
|
||||
pub mod PrototypeList {
|
||||
include!(concat!(env!("OUT_DIR"), "/PrototypeList.rs"));
|
||||
}
|
||||
}
|
||||
|
||||
// These trait exports are public, because they are used in the DOM bindings.
|
||||
// Since they are used in derive macros,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue