Skip to content

Commit

Permalink
Update gecko bindings
Browse files Browse the repository at this point in the history
  • Loading branch information
ferjm committed May 31, 2017
1 parent 7f5d62c commit ebfb18c
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion components/style/gecko/generated/structs_debug.rs
Expand Up @@ -9306,10 +9306,11 @@ pub mod root {
pub mProperty: root::nsCSSPropertyID,
pub mValue: root::nsCSSValue,
pub mServoDeclarationBlock: root::RefPtr<root::RawServoDeclarationBlock>,
pub mSimulateComputeValuesFailure: bool,
}
#[test]
fn bindgen_test_layout_PropertyValuePair() {
assert_eq!(::std::mem::size_of::<PropertyValuePair>() , 32usize ,
assert_eq!(::std::mem::size_of::<PropertyValuePair>() , 40usize ,
concat ! (
"Size of: " , stringify ! ( PropertyValuePair ) ));
assert_eq! (::std::mem::align_of::<PropertyValuePair>() , 8usize ,
Expand All @@ -9335,6 +9336,13 @@ pub mod root {
"Alignment of field: " , stringify ! (
PropertyValuePair ) , "::" , stringify ! (
mServoDeclarationBlock ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const PropertyValuePair ) ) .
mSimulateComputeValuesFailure as * const _ as usize }
, 32usize , concat ! (
"Alignment of field: " , stringify ! (
PropertyValuePair ) , "::" , stringify ! (
mSimulateComputeValuesFailure ) ));
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
Expand Down

0 comments on commit ebfb18c

Please sign in to comment.