diff --git a/components/style/gecko/generated/bindings.rs b/components/style/gecko/generated/bindings.rs index 4adafbee98f..e7b5f75cb1a 100644 --- a/components/style/gecko/generated/bindings.rs +++ b/components/style/gecko/generated/bindings.rs @@ -2822,124 +2822,7 @@ extern "C" { -> bool; } extern "C" { - pub fn Servo_GetStyleFont(computed_values: - ServoComputedValuesBorrowedOrNull) - -> *const nsStyleFont; -} -extern "C" { - pub fn Servo_GetStyleColor(computed_values: - ServoComputedValuesBorrowedOrNull) - -> *const nsStyleColor; -} -extern "C" { - pub fn Servo_GetStyleList(computed_values: - ServoComputedValuesBorrowedOrNull) - -> *const nsStyleList; -} -extern "C" { - pub fn Servo_GetStyleText(computed_values: - ServoComputedValuesBorrowedOrNull) - -> *const nsStyleText; -} -extern "C" { - pub fn Servo_GetStyleVisibility(computed_values: - ServoComputedValuesBorrowedOrNull) - -> *const nsStyleVisibility; -} -extern "C" { - pub fn Servo_GetStyleUserInterface(computed_values: - ServoComputedValuesBorrowedOrNull) - -> *const nsStyleUserInterface; -} -extern "C" { - pub fn Servo_GetStyleTableBorder(computed_values: - ServoComputedValuesBorrowedOrNull) - -> *const nsStyleTableBorder; -} -extern "C" { - pub fn Servo_GetStyleSVG(computed_values: - ServoComputedValuesBorrowedOrNull) - -> *const nsStyleSVG; -} -extern "C" { - pub fn Servo_GetStyleVariables(computed_values: - ServoComputedValuesBorrowedOrNull) - -> *const nsStyleVariables; -} -extern "C" { - pub fn Servo_GetStyleBackground(computed_values: - ServoComputedValuesBorrowedOrNull) - -> *const nsStyleBackground; -} -extern "C" { - pub fn Servo_GetStylePosition(computed_values: - ServoComputedValuesBorrowedOrNull) - -> *const nsStylePosition; -} -extern "C" { - pub fn Servo_GetStyleTextReset(computed_values: - ServoComputedValuesBorrowedOrNull) - -> *const nsStyleTextReset; -} -extern "C" { - pub fn Servo_GetStyleDisplay(computed_values: - ServoComputedValuesBorrowedOrNull) - -> *const nsStyleDisplay; -} -extern "C" { - pub fn Servo_GetStyleContent(computed_values: - ServoComputedValuesBorrowedOrNull) - -> *const nsStyleContent; -} -extern "C" { - pub fn Servo_GetStyleUIReset(computed_values: - ServoComputedValuesBorrowedOrNull) - -> *const nsStyleUIReset; -} -extern "C" { - pub fn Servo_GetStyleTable(computed_values: - ServoComputedValuesBorrowedOrNull) - -> *const nsStyleTable; -} -extern "C" { - pub fn Servo_GetStyleMargin(computed_values: - ServoComputedValuesBorrowedOrNull) - -> *const nsStyleMargin; -} -extern "C" { - pub fn Servo_GetStylePadding(computed_values: - ServoComputedValuesBorrowedOrNull) - -> *const nsStylePadding; -} -extern "C" { - pub fn Servo_GetStyleBorder(computed_values: - ServoComputedValuesBorrowedOrNull) - -> *const nsStyleBorder; -} -extern "C" { - pub fn Servo_GetStyleOutline(computed_values: - ServoComputedValuesBorrowedOrNull) - -> *const nsStyleOutline; -} -extern "C" { - pub fn Servo_GetStyleXUL(computed_values: - ServoComputedValuesBorrowedOrNull) - -> *const nsStyleXUL; -} -extern "C" { - pub fn Servo_GetStyleSVGReset(computed_values: - ServoComputedValuesBorrowedOrNull) - -> *const nsStyleSVGReset; -} -extern "C" { - pub fn Servo_GetStyleColumn(computed_values: - ServoComputedValuesBorrowedOrNull) - -> *const nsStyleColumn; -} -extern "C" { - pub fn Servo_GetStyleEffects(computed_values: - ServoComputedValuesBorrowedOrNull) - -> *const nsStyleEffects; + pub fn Servo_GetEmptyVariables() -> *const nsStyleVariables; } extern "C" { pub fn Gecko_CreateCSSErrorReporter(sheet: *mut ServoStyleSheet, diff --git a/components/style/gecko/generated/structs_debug.rs b/components/style/gecko/generated/structs_debug.rs index 81f4a89cdaf..1f92b314da3 100644 --- a/components/style/gecko/generated/structs_debug.rs +++ b/components/style/gecko/generated/structs_debug.rs @@ -40114,7 +40114,7 @@ pub mod root { root::nsCharTraits ) )); } #[test] - fn __bindgen_test_layout__bindgen_ty_id_195896_instantiation_33() { + fn __bindgen_test_layout__bindgen_ty_id_195320_instantiation_33() { assert_eq!(::std::mem::size_of::() , 1usize , concat ! ( "Size of template specialization: " , stringify ! ( u8 ) )); @@ -40123,7 +40123,7 @@ pub mod root { ) )); } #[test] - fn __bindgen_test_layout__bindgen_ty_id_195932_instantiation_34() { + fn __bindgen_test_layout__bindgen_ty_id_195356_instantiation_34() { assert_eq!(::std::mem::size_of::() , 1usize , concat ! ( "Size of template specialization: " , stringify ! ( u8 ) )); diff --git a/components/style/gecko/generated/structs_release.rs b/components/style/gecko/generated/structs_release.rs index 3656b9e3b5b..5e12a86f6c2 100644 --- a/components/style/gecko/generated/structs_release.rs +++ b/components/style/gecko/generated/structs_release.rs @@ -39462,7 +39462,7 @@ pub mod root { root::nsCharTraits ) )); } #[test] - fn __bindgen_test_layout__bindgen_ty_id_193418_instantiation_33() { + fn __bindgen_test_layout__bindgen_ty_id_192842_instantiation_33() { assert_eq!(::std::mem::size_of::() , 1usize , concat ! ( "Size of template specialization: " , stringify ! ( u8 ) )); @@ -39471,7 +39471,7 @@ pub mod root { ) )); } #[test] - fn __bindgen_test_layout__bindgen_ty_id_193454_instantiation_34() { + fn __bindgen_test_layout__bindgen_ty_id_192878_instantiation_34() { assert_eq!(::std::mem::size_of::() , 1usize , concat ! ( "Size of template specialization: " , stringify ! ( u8 ) )); diff --git a/components/style/properties/gecko.mako.rs b/components/style/properties/gecko.mako.rs index e8c06cc2233..542b4ca6d04 100644 --- a/components/style/properties/gecko.mako.rs +++ b/components/style/properties/gecko.mako.rs @@ -4861,7 +4861,7 @@ static mut EMPTY_VARIABLES_STRUCT: Option = None; #[no_mangle] #[allow(non_snake_case)] -pub unsafe extern "C" fn Servo_GetStyleVariables(_cv: ServoComputedValuesBorrowedOrNull) +pub unsafe extern "C" fn Servo_GetEmptyVariables() -> *const nsStyleVariables { EMPTY_VARIABLES_STRUCT.as_ref().unwrap() }