mirror of
https://github.com/servo/servo.git
synced 2025-07-23 07:13:52 +01:00
script: Refer to DOM interfaces with generic types in generated bindings. (#35457)
Signed-off-by: Josh Matthews <josh@joshmatthews.net>
This commit is contained in:
parent
14db055d46
commit
1192ae32b0
20 changed files with 627 additions and 167 deletions
|
@ -179,9 +179,16 @@ pub(crate) mod codegen {
|
|||
include!(concat!(env!("BINDINGS_OUT_DIR"), "/DomTypes.rs"));
|
||||
}
|
||||
#[allow(dead_code)]
|
||||
pub(crate) mod Bindings {
|
||||
pub(crate) mod GenericBindings {
|
||||
include!(concat!(env!("BINDINGS_OUT_DIR"), "/Bindings/mod.rs"));
|
||||
}
|
||||
#[allow(dead_code)]
|
||||
pub(crate) mod Bindings {
|
||||
include!(concat!(
|
||||
env!("BINDINGS_OUT_DIR"),
|
||||
"/ConcreteBindings/mod.rs"
|
||||
));
|
||||
}
|
||||
pub(crate) mod InterfaceObjectMap {
|
||||
include!(concat!(env!("BINDINGS_OUT_DIR"), "/InterfaceObjectMap.rs"));
|
||||
pub(crate) use script_bindings::codegen::Globals::Globals;
|
||||
|
@ -206,6 +213,10 @@ pub(crate) mod codegen {
|
|||
clippy::upper_case_acronyms,
|
||||
clippy::enum_variant_names
|
||||
)]
|
||||
pub(crate) mod GenericUnionTypes {
|
||||
include!(concat!(env!("BINDINGS_OUT_DIR"), "/GenericUnionTypes.rs"));
|
||||
}
|
||||
#[allow(dead_code)]
|
||||
pub(crate) mod UnionTypes {
|
||||
include!(concat!(env!("BINDINGS_OUT_DIR"), "/UnionTypes.rs"));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue