mirror of
https://github.com/servo/servo.git
synced 2025-08-05 05:30:08 +01:00
Update gecko bindings
This commit is contained in:
parent
7f5d62c24d
commit
ebfb18c1b5
1 changed files with 9 additions and 1 deletions
|
@ -9306,10 +9306,11 @@ pub mod root {
|
||||||
pub mProperty: root::nsCSSPropertyID,
|
pub mProperty: root::nsCSSPropertyID,
|
||||||
pub mValue: root::nsCSSValue,
|
pub mValue: root::nsCSSValue,
|
||||||
pub mServoDeclarationBlock: root::RefPtr<root::RawServoDeclarationBlock>,
|
pub mServoDeclarationBlock: root::RefPtr<root::RawServoDeclarationBlock>,
|
||||||
|
pub mSimulateComputeValuesFailure: bool,
|
||||||
}
|
}
|
||||||
#[test]
|
#[test]
|
||||||
fn bindgen_test_layout_PropertyValuePair() {
|
fn bindgen_test_layout_PropertyValuePair() {
|
||||||
assert_eq!(::std::mem::size_of::<PropertyValuePair>() , 32usize ,
|
assert_eq!(::std::mem::size_of::<PropertyValuePair>() , 40usize ,
|
||||||
concat ! (
|
concat ! (
|
||||||
"Size of: " , stringify ! ( PropertyValuePair ) ));
|
"Size of: " , stringify ! ( PropertyValuePair ) ));
|
||||||
assert_eq! (::std::mem::align_of::<PropertyValuePair>() , 8usize ,
|
assert_eq! (::std::mem::align_of::<PropertyValuePair>() , 8usize ,
|
||||||
|
@ -9335,6 +9336,13 @@ pub mod root {
|
||||||
"Alignment of field: " , stringify ! (
|
"Alignment of field: " , stringify ! (
|
||||||
PropertyValuePair ) , "::" , stringify ! (
|
PropertyValuePair ) , "::" , stringify ! (
|
||||||
mServoDeclarationBlock ) ));
|
mServoDeclarationBlock ) ));
|
||||||
|
assert_eq! (unsafe {
|
||||||
|
& ( * ( 0 as * const PropertyValuePair ) ) .
|
||||||
|
mSimulateComputeValuesFailure as * const _ as usize }
|
||||||
|
, 32usize , concat ! (
|
||||||
|
"Alignment of field: " , stringify ! (
|
||||||
|
PropertyValuePair ) , "::" , stringify ! (
|
||||||
|
mSimulateComputeValuesFailure ) ));
|
||||||
}
|
}
|
||||||
#[repr(C)]
|
#[repr(C)]
|
||||||
#[derive(Debug, Copy, Clone)]
|
#[derive(Debug, Copy, Clone)]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue