Update bindings.

This commit is contained in:
Hiroyuki Ikezoe 2017-04-15 10:43:14 +09:00
parent bd066af640
commit b0cf782eeb
3 changed files with 440 additions and 383 deletions

View file

@ -1553,6 +1553,15 @@ extern "C" {
list: list:
RawGeckoFontFaceRuleListBorrowedMut); RawGeckoFontFaceRuleListBorrowedMut);
} }
extern "C" {
pub fn Servo_StyleSet_ResolveForDeclarations(set:
RawServoStyleSetBorrowed,
parent_style:
ServoComputedValuesBorrowedOrNull,
declarations:
RawServoDeclarationBlockBorrowed)
-> ServoComputedValuesStrong;
}
extern "C" { extern "C" {
pub fn Servo_CssRules_ListTypes(rules: ServoCssRulesBorrowed, pub fn Servo_CssRules_ListTypes(rules: ServoCssRulesBorrowed,
result: nsTArrayBorrowed_uintptr_t); result: nsTArrayBorrowed_uintptr_t);
@ -1664,7 +1673,7 @@ extern "C" {
RawServoDeclarationBlockBorrowed); RawServoDeclarationBlockBorrowed);
} }
extern "C" { extern "C" {
pub fn Servo_ParseProperty(property: *const nsACString, pub fn Servo_ParseProperty(property: nsCSSPropertyID,
value: *const nsACString, value: *const nsACString,
data: *mut RawGeckoURLExtraData) data: *mut RawGeckoURLExtraData)
-> RawServoDeclarationBlockStrong; -> RawServoDeclarationBlockStrong;
@ -1845,6 +1854,12 @@ extern "C" {
property: property:
nsCSSPropertyID); nsCSSPropertyID);
} }
extern "C" {
pub fn Servo_DeclarationBlock_HasCSSWideKeyword(declarations:
RawServoDeclarationBlockBorrowed,
property: nsCSSPropertyID)
-> bool;
}
extern "C" { extern "C" {
pub fn Servo_AnimationCompose(animation_values: pub fn Servo_AnimationCompose(animation_values:
RawServoAnimationValueMapBorrowed, RawServoAnimationValueMapBorrowed,

File diff suppressed because it is too large Load diff

View file

@ -5336,7 +5336,7 @@ pub mod root {
pub vtable_: *const URLValueData__bindgen_vtable, pub vtable_: *const URLValueData__bindgen_vtable,
pub mRefCnt: root::mozilla::ThreadSafeAutoRefCnt, pub mRefCnt: root::mozilla::ThreadSafeAutoRefCnt,
pub mURI: root::nsMainThreadPtrHandle<root::nsIURI>, pub mURI: root::nsMainThreadPtrHandle<root::nsIURI>,
pub mString: root::RefPtr<root::nsStringBuffer>, pub mString: ::nsstring::nsStringRepr,
pub mExtraData: root::RefPtr<root::mozilla::URLExtraData>, pub mExtraData: root::RefPtr<root::mozilla::URLExtraData>,
pub mURIResolved: bool, pub mURIResolved: bool,
pub mIsLocalRef: [u8; 2usize], pub mIsLocalRef: [u8; 2usize],
@ -5346,7 +5346,7 @@ pub mod root {
root::mozilla::TrueType; root::mozilla::TrueType;
#[test] #[test]
fn bindgen_test_layout_URLValueData() { fn bindgen_test_layout_URLValueData() {
assert_eq!(::std::mem::size_of::<URLValueData>() , 48usize , assert_eq!(::std::mem::size_of::<URLValueData>() , 56usize ,
concat ! ( concat ! (
"Size of: " , stringify ! ( URLValueData ) )); "Size of: " , stringify ! ( URLValueData ) ));
assert_eq! (::std::mem::align_of::<URLValueData>() , 8usize , assert_eq! (::std::mem::align_of::<URLValueData>() , 8usize ,
@ -5371,27 +5371,27 @@ pub mod root {
)); ));
assert_eq! (unsafe { assert_eq! (unsafe {
& ( * ( 0 as * const URLValueData ) ) . mExtraData & ( * ( 0 as * const URLValueData ) ) . mExtraData
as * const _ as usize } , 32usize , concat ! ( as * const _ as usize } , 40usize , concat ! (
"Alignment of field: " , stringify ! ( "Alignment of field: " , stringify ! (
URLValueData ) , "::" , stringify ! ( mExtraData ) URLValueData ) , "::" , stringify ! ( mExtraData )
)); ));
assert_eq! (unsafe { assert_eq! (unsafe {
& ( * ( 0 as * const URLValueData ) ) . & ( * ( 0 as * const URLValueData ) ) .
mURIResolved as * const _ as usize } , 40usize , mURIResolved as * const _ as usize } , 48usize ,
concat ! ( concat ! (
"Alignment of field: " , stringify ! ( "Alignment of field: " , stringify ! (
URLValueData ) , "::" , stringify ! ( mURIResolved URLValueData ) , "::" , stringify ! ( mURIResolved
) )); ) ));
assert_eq! (unsafe { assert_eq! (unsafe {
& ( * ( 0 as * const URLValueData ) ) . & ( * ( 0 as * const URLValueData ) ) .
mIsLocalRef as * const _ as usize } , 41usize , mIsLocalRef as * const _ as usize } , 49usize ,
concat ! ( concat ! (
"Alignment of field: " , stringify ! ( "Alignment of field: " , stringify ! (
URLValueData ) , "::" , stringify ! ( mIsLocalRef URLValueData ) , "::" , stringify ! ( mIsLocalRef
) )); ) ));
assert_eq! (unsafe { assert_eq! (unsafe {
& ( * ( 0 as * const URLValueData ) ) . & ( * ( 0 as * const URLValueData ) ) .
mMightHaveRef as * const _ as usize } , 43usize , mMightHaveRef as * const _ as usize } , 51usize ,
concat ! ( concat ! (
"Alignment of field: " , stringify ! ( "Alignment of field: " , stringify ! (
URLValueData ) , "::" , stringify ! ( URLValueData ) , "::" , stringify ! (
@ -5404,7 +5404,7 @@ pub mod root {
} }
#[test] #[test]
fn bindgen_test_layout_URLValue() { fn bindgen_test_layout_URLValue() {
assert_eq!(::std::mem::size_of::<URLValue>() , 48usize , assert_eq!(::std::mem::size_of::<URLValue>() , 56usize ,
concat ! ( "Size of: " , stringify ! ( URLValue ) concat ! ( "Size of: " , stringify ! ( URLValue )
)); ));
assert_eq! (::std::mem::align_of::<URLValue>() , 8usize , assert_eq! (::std::mem::align_of::<URLValue>() , 8usize ,
@ -5419,7 +5419,7 @@ pub mod root {
} }
#[test] #[test]
fn bindgen_test_layout_ImageValue() { fn bindgen_test_layout_ImageValue() {
assert_eq!(::std::mem::size_of::<ImageValue>() , 88usize , assert_eq!(::std::mem::size_of::<ImageValue>() , 96usize ,
concat ! ( "Size of: " , stringify ! ( ImageValue ) concat ! ( "Size of: " , stringify ! ( ImageValue )
)); ));
assert_eq! (::std::mem::align_of::<ImageValue>() , 8usize , assert_eq! (::std::mem::align_of::<ImageValue>() , 8usize ,
@ -5427,7 +5427,7 @@ pub mod root {
"Alignment of " , stringify ! ( ImageValue ) )); "Alignment of " , stringify ! ( ImageValue ) ));
assert_eq! (unsafe { assert_eq! (unsafe {
& ( * ( 0 as * const ImageValue ) ) . mRequests as & ( * ( 0 as * const ImageValue ) ) . mRequests as
* const _ as usize } , 48usize , concat ! ( * const _ as usize } , 56usize , concat ! (
"Alignment of field: " , stringify ! ( ImageValue "Alignment of field: " , stringify ! ( ImageValue
) , "::" , stringify ! ( mRequests ) )); ) , "::" , stringify ! ( mRequests ) ));
} }
@ -13066,6 +13066,8 @@ pub mod root {
pub mLangService: root::nsCOMPtr<root::nsILanguageAtomService>, pub mLangService: root::nsCOMPtr<root::nsILanguageAtomService>,
pub mPrintSettings: root::nsCOMPtr<root::nsIPrintSettings>, pub mPrintSettings: root::nsCOMPtr<root::nsIPrintSettings>,
pub mPrefChangedTimer: root::nsCOMPtr<root::nsITimer>, pub mPrefChangedTimer: root::nsCOMPtr<root::nsITimer>,
pub mBidiEngine: root::mozilla::UniquePtr<root::nsBidi,
root::mozilla::DefaultDelete<root::nsBidi>>,
pub mPropertyTable: root::nsPresContext_FramePropertyTable, pub mPropertyTable: root::nsPresContext_FramePropertyTable,
pub mTransactions: [u64; 10usize], pub mTransactions: [u64; 10usize],
pub mTextPerf: root::nsAutoPtr<root::gfxTextPerfMetrics>, pub mTextPerf: root::nsAutoPtr<root::gfxTextPerfMetrics>,
@ -13231,7 +13233,7 @@ pub mod root {
} }
#[test] #[test]
fn bindgen_test_layout_nsPresContext() { fn bindgen_test_layout_nsPresContext() {
assert_eq!(::std::mem::size_of::<nsPresContext>() , 1296usize , concat assert_eq!(::std::mem::size_of::<nsPresContext>() , 1304usize , concat
! ( "Size of: " , stringify ! ( nsPresContext ) )); ! ( "Size of: " , stringify ! ( nsPresContext ) ));
assert_eq! (::std::mem::align_of::<nsPresContext>() , 8usize , concat assert_eq! (::std::mem::align_of::<nsPresContext>() , 8usize , concat
! ( "Alignment of " , stringify ! ( nsPresContext ) )); ! ( "Alignment of " , stringify ! ( nsPresContext ) ));
@ -13398,209 +13400,214 @@ pub mod root {
as * const _ as usize } , 232usize , concat ! ( as * const _ as usize } , 232usize , concat ! (
"Alignment of field: " , stringify ! ( nsPresContext ) , "Alignment of field: " , stringify ! ( nsPresContext ) ,
"::" , stringify ! ( mPrefChangedTimer ) )); "::" , stringify ! ( mPrefChangedTimer ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const nsPresContext ) ) . mBidiEngine as *
const _ as usize } , 240usize , concat ! (
"Alignment of field: " , stringify ! ( nsPresContext ) ,
"::" , stringify ! ( mBidiEngine ) ));
assert_eq! (unsafe { assert_eq! (unsafe {
& ( * ( 0 as * const nsPresContext ) ) . mPropertyTable as & ( * ( 0 as * const nsPresContext ) ) . mPropertyTable as
* const _ as usize } , 240usize , concat ! ( * const _ as usize } , 248usize , concat ! (
"Alignment of field: " , stringify ! ( nsPresContext ) , "Alignment of field: " , stringify ! ( nsPresContext ) ,
"::" , stringify ! ( mPropertyTable ) )); "::" , stringify ! ( mPropertyTable ) ));
assert_eq! (unsafe { assert_eq! (unsafe {
& ( * ( 0 as * const nsPresContext ) ) . mTransactions as & ( * ( 0 as * const nsPresContext ) ) . mTransactions as
* const _ as usize } , 296usize , concat ! ( * const _ as usize } , 304usize , concat ! (
"Alignment of field: " , stringify ! ( nsPresContext ) , "Alignment of field: " , stringify ! ( nsPresContext ) ,
"::" , stringify ! ( mTransactions ) )); "::" , stringify ! ( mTransactions ) ));
assert_eq! (unsafe { assert_eq! (unsafe {
& ( * ( 0 as * const nsPresContext ) ) . mTextPerf as * & ( * ( 0 as * const nsPresContext ) ) . mTextPerf as *
const _ as usize } , 376usize , concat ! ( const _ as usize } , 384usize , concat ! (
"Alignment of field: " , stringify ! ( nsPresContext ) , "Alignment of field: " , stringify ! ( nsPresContext ) ,
"::" , stringify ! ( mTextPerf ) )); "::" , stringify ! ( mTextPerf ) ));
assert_eq! (unsafe { assert_eq! (unsafe {
& ( * ( 0 as * const nsPresContext ) ) . mMissingFonts as & ( * ( 0 as * const nsPresContext ) ) . mMissingFonts as
* const _ as usize } , 384usize , concat ! ( * const _ as usize } , 392usize , concat ! (
"Alignment of field: " , stringify ! ( nsPresContext ) , "Alignment of field: " , stringify ! ( nsPresContext ) ,
"::" , stringify ! ( mMissingFonts ) )); "::" , stringify ! ( mMissingFonts ) ));
assert_eq! (unsafe { assert_eq! (unsafe {
& ( * ( 0 as * const nsPresContext ) ) . mVisibleArea as * & ( * ( 0 as * const nsPresContext ) ) . mVisibleArea as *
const _ as usize } , 392usize , concat ! ( const _ as usize } , 400usize , concat ! (
"Alignment of field: " , stringify ! ( nsPresContext ) , "Alignment of field: " , stringify ! ( nsPresContext ) ,
"::" , stringify ! ( mVisibleArea ) )); "::" , stringify ! ( mVisibleArea ) ));
assert_eq! (unsafe { assert_eq! (unsafe {
& ( * ( 0 as * const nsPresContext ) ) . mPageSize as * & ( * ( 0 as * const nsPresContext ) ) . mPageSize as *
const _ as usize } , 408usize , concat ! ( const _ as usize } , 416usize , concat ! (
"Alignment of field: " , stringify ! ( nsPresContext ) , "Alignment of field: " , stringify ! ( nsPresContext ) ,
"::" , stringify ! ( mPageSize ) )); "::" , stringify ! ( mPageSize ) ));
assert_eq! (unsafe { assert_eq! (unsafe {
& ( * ( 0 as * const nsPresContext ) ) . mPageScale as * & ( * ( 0 as * const nsPresContext ) ) . mPageScale as *
const _ as usize } , 416usize , concat ! ( const _ as usize } , 424usize , concat ! (
"Alignment of field: " , stringify ! ( nsPresContext ) , "Alignment of field: " , stringify ! ( nsPresContext ) ,
"::" , stringify ! ( mPageScale ) )); "::" , stringify ! ( mPageScale ) ));
assert_eq! (unsafe { assert_eq! (unsafe {
& ( * ( 0 as * const nsPresContext ) ) . mPPScale as * & ( * ( 0 as * const nsPresContext ) ) . mPPScale as *
const _ as usize } , 420usize , concat ! ( const _ as usize } , 428usize , concat ! (
"Alignment of field: " , stringify ! ( nsPresContext ) , "Alignment of field: " , stringify ! ( nsPresContext ) ,
"::" , stringify ! ( mPPScale ) )); "::" , stringify ! ( mPPScale ) ));
assert_eq! (unsafe { assert_eq! (unsafe {
& ( * ( 0 as * const nsPresContext ) ) . mDefaultColor as & ( * ( 0 as * const nsPresContext ) ) . mDefaultColor as
* const _ as usize } , 424usize , concat ! ( * const _ as usize } , 432usize , concat ! (
"Alignment of field: " , stringify ! ( nsPresContext ) , "Alignment of field: " , stringify ! ( nsPresContext ) ,
"::" , stringify ! ( mDefaultColor ) )); "::" , stringify ! ( mDefaultColor ) ));
assert_eq! (unsafe { assert_eq! (unsafe {
& ( * ( 0 as * const nsPresContext ) ) . mBackgroundColor & ( * ( 0 as * const nsPresContext ) ) . mBackgroundColor
as * const _ as usize } , 428usize , concat ! ( as * const _ as usize } , 436usize , concat ! (
"Alignment of field: " , stringify ! ( nsPresContext ) , "Alignment of field: " , stringify ! ( nsPresContext ) ,
"::" , stringify ! ( mBackgroundColor ) )); "::" , stringify ! ( mBackgroundColor ) ));
assert_eq! (unsafe { assert_eq! (unsafe {
& ( * ( 0 as * const nsPresContext ) ) . mLinkColor as * & ( * ( 0 as * const nsPresContext ) ) . mLinkColor as *
const _ as usize } , 432usize , concat ! ( const _ as usize } , 440usize , concat ! (
"Alignment of field: " , stringify ! ( nsPresContext ) , "Alignment of field: " , stringify ! ( nsPresContext ) ,
"::" , stringify ! ( mLinkColor ) )); "::" , stringify ! ( mLinkColor ) ));
assert_eq! (unsafe { assert_eq! (unsafe {
& ( * ( 0 as * const nsPresContext ) ) . mActiveLinkColor & ( * ( 0 as * const nsPresContext ) ) . mActiveLinkColor
as * const _ as usize } , 436usize , concat ! ( as * const _ as usize } , 444usize , concat ! (
"Alignment of field: " , stringify ! ( nsPresContext ) , "Alignment of field: " , stringify ! ( nsPresContext ) ,
"::" , stringify ! ( mActiveLinkColor ) )); "::" , stringify ! ( mActiveLinkColor ) ));
assert_eq! (unsafe { assert_eq! (unsafe {
& ( * ( 0 as * const nsPresContext ) ) . mVisitedLinkColor & ( * ( 0 as * const nsPresContext ) ) . mVisitedLinkColor
as * const _ as usize } , 440usize , concat ! ( as * const _ as usize } , 448usize , concat ! (
"Alignment of field: " , stringify ! ( nsPresContext ) , "Alignment of field: " , stringify ! ( nsPresContext ) ,
"::" , stringify ! ( mVisitedLinkColor ) )); "::" , stringify ! ( mVisitedLinkColor ) ));
assert_eq! (unsafe { assert_eq! (unsafe {
& ( * ( 0 as * const nsPresContext ) ) . & ( * ( 0 as * const nsPresContext ) ) .
mFocusBackgroundColor as * const _ as usize } , 444usize , mFocusBackgroundColor as * const _ as usize } , 452usize ,
concat ! ( concat ! (
"Alignment of field: " , stringify ! ( nsPresContext ) , "Alignment of field: " , stringify ! ( nsPresContext ) ,
"::" , stringify ! ( mFocusBackgroundColor ) )); "::" , stringify ! ( mFocusBackgroundColor ) ));
assert_eq! (unsafe { assert_eq! (unsafe {
& ( * ( 0 as * const nsPresContext ) ) . mFocusTextColor & ( * ( 0 as * const nsPresContext ) ) . mFocusTextColor
as * const _ as usize } , 448usize , concat ! ( as * const _ as usize } , 456usize , concat ! (
"Alignment of field: " , stringify ! ( nsPresContext ) , "Alignment of field: " , stringify ! ( nsPresContext ) ,
"::" , stringify ! ( mFocusTextColor ) )); "::" , stringify ! ( mFocusTextColor ) ));
assert_eq! (unsafe { assert_eq! (unsafe {
& ( * ( 0 as * const nsPresContext ) ) . mBodyTextColor as & ( * ( 0 as * const nsPresContext ) ) . mBodyTextColor as
* const _ as usize } , 452usize , concat ! ( * const _ as usize } , 460usize , concat ! (
"Alignment of field: " , stringify ! ( nsPresContext ) , "Alignment of field: " , stringify ! ( nsPresContext ) ,
"::" , stringify ! ( mBodyTextColor ) )); "::" , stringify ! ( mBodyTextColor ) ));
assert_eq! (unsafe { assert_eq! (unsafe {
& ( * ( 0 as * const nsPresContext ) ) . & ( * ( 0 as * const nsPresContext ) ) .
mViewportStyleScrollbar as * const _ as usize } , 456usize mViewportStyleScrollbar as * const _ as usize } , 464usize
, concat ! ( , concat ! (
"Alignment of field: " , stringify ! ( nsPresContext ) , "Alignment of field: " , stringify ! ( nsPresContext ) ,
"::" , stringify ! ( mViewportStyleScrollbar ) )); "::" , stringify ! ( mViewportStyleScrollbar ) ));
assert_eq! (unsafe { assert_eq! (unsafe {
& ( * ( 0 as * const nsPresContext ) ) . mFocusRingWidth & ( * ( 0 as * const nsPresContext ) ) . mFocusRingWidth
as * const _ as usize } , 520usize , concat ! ( as * const _ as usize } , 528usize , concat ! (
"Alignment of field: " , stringify ! ( nsPresContext ) , "Alignment of field: " , stringify ! ( nsPresContext ) ,
"::" , stringify ! ( mFocusRingWidth ) )); "::" , stringify ! ( mFocusRingWidth ) ));
assert_eq! (unsafe { assert_eq! (unsafe {
& ( * ( 0 as * const nsPresContext ) ) . & ( * ( 0 as * const nsPresContext ) ) .
mExistThrottledUpdates as * const _ as usize } , 521usize mExistThrottledUpdates as * const _ as usize } , 529usize
, concat ! ( , concat ! (
"Alignment of field: " , stringify ! ( nsPresContext ) , "Alignment of field: " , stringify ! ( nsPresContext ) ,
"::" , stringify ! ( mExistThrottledUpdates ) )); "::" , stringify ! ( mExistThrottledUpdates ) ));
assert_eq! (unsafe { assert_eq! (unsafe {
& ( * ( 0 as * const nsPresContext ) ) . & ( * ( 0 as * const nsPresContext ) ) .
mImageAnimationMode as * const _ as usize } , 522usize , mImageAnimationMode as * const _ as usize } , 530usize ,
concat ! ( concat ! (
"Alignment of field: " , stringify ! ( nsPresContext ) , "Alignment of field: " , stringify ! ( nsPresContext ) ,
"::" , stringify ! ( mImageAnimationMode ) )); "::" , stringify ! ( mImageAnimationMode ) ));
assert_eq! (unsafe { assert_eq! (unsafe {
& ( * ( 0 as * const nsPresContext ) ) . & ( * ( 0 as * const nsPresContext ) ) .
mImageAnimationModePref as * const _ as usize } , 524usize mImageAnimationModePref as * const _ as usize } , 532usize
, concat ! ( , concat ! (
"Alignment of field: " , stringify ! ( nsPresContext ) , "Alignment of field: " , stringify ! ( nsPresContext ) ,
"::" , stringify ! ( mImageAnimationModePref ) )); "::" , stringify ! ( mImageAnimationModePref ) ));
assert_eq! (unsafe { assert_eq! (unsafe {
& ( * ( 0 as * const nsPresContext ) ) . & ( * ( 0 as * const nsPresContext ) ) .
mLangGroupFontPrefs as * const _ as usize } , 528usize , mLangGroupFontPrefs as * const _ as usize } , 536usize ,
concat ! ( concat ! (
"Alignment of field: " , stringify ! ( nsPresContext ) , "Alignment of field: " , stringify ! ( nsPresContext ) ,
"::" , stringify ! ( mLangGroupFontPrefs ) )); "::" , stringify ! ( mLangGroupFontPrefs ) ));
assert_eq! (unsafe { assert_eq! (unsafe {
& ( * ( 0 as * const nsPresContext ) ) . mBorderWidthTable & ( * ( 0 as * const nsPresContext ) ) . mBorderWidthTable
as * const _ as usize } , 1168usize , concat ! ( as * const _ as usize } , 1176usize , concat ! (
"Alignment of field: " , stringify ! ( nsPresContext ) , "Alignment of field: " , stringify ! ( nsPresContext ) ,
"::" , stringify ! ( mBorderWidthTable ) )); "::" , stringify ! ( mBorderWidthTable ) ));
assert_eq! (unsafe { assert_eq! (unsafe {
& ( * ( 0 as * const nsPresContext ) ) . & ( * ( 0 as * const nsPresContext ) ) .
mInterruptChecksToSkip as * const _ as usize } , 1180usize mInterruptChecksToSkip as * const _ as usize } , 1188usize
, concat ! ( , concat ! (
"Alignment of field: " , stringify ! ( nsPresContext ) , "Alignment of field: " , stringify ! ( nsPresContext ) ,
"::" , stringify ! ( mInterruptChecksToSkip ) )); "::" , stringify ! ( mInterruptChecksToSkip ) ));
assert_eq! (unsafe { assert_eq! (unsafe {
& ( * ( 0 as * const nsPresContext ) ) . mElementsRestyled & ( * ( 0 as * const nsPresContext ) ) . mElementsRestyled
as * const _ as usize } , 1184usize , concat ! ( as * const _ as usize } , 1192usize , concat ! (
"Alignment of field: " , stringify ! ( nsPresContext ) , "Alignment of field: " , stringify ! ( nsPresContext ) ,
"::" , stringify ! ( mElementsRestyled ) )); "::" , stringify ! ( mElementsRestyled ) ));
assert_eq! (unsafe { assert_eq! (unsafe {
& ( * ( 0 as * const nsPresContext ) ) . & ( * ( 0 as * const nsPresContext ) ) .
mFramesConstructed as * const _ as usize } , 1192usize , mFramesConstructed as * const _ as usize } , 1200usize ,
concat ! ( concat ! (
"Alignment of field: " , stringify ! ( nsPresContext ) , "Alignment of field: " , stringify ! ( nsPresContext ) ,
"::" , stringify ! ( mFramesConstructed ) )); "::" , stringify ! ( mFramesConstructed ) ));
assert_eq! (unsafe { assert_eq! (unsafe {
& ( * ( 0 as * const nsPresContext ) ) . mFramesReflowed & ( * ( 0 as * const nsPresContext ) ) . mFramesReflowed
as * const _ as usize } , 1200usize , concat ! ( as * const _ as usize } , 1208usize , concat ! (
"Alignment of field: " , stringify ! ( nsPresContext ) , "Alignment of field: " , stringify ! ( nsPresContext ) ,
"::" , stringify ! ( mFramesReflowed ) )); "::" , stringify ! ( mFramesReflowed ) ));
assert_eq! (unsafe { assert_eq! (unsafe {
& ( * ( 0 as * const nsPresContext ) ) . mReflowStartTime & ( * ( 0 as * const nsPresContext ) ) . mReflowStartTime
as * const _ as usize } , 1208usize , concat ! ( as * const _ as usize } , 1216usize , concat ! (
"Alignment of field: " , stringify ! ( nsPresContext ) , "Alignment of field: " , stringify ! ( nsPresContext ) ,
"::" , stringify ! ( mReflowStartTime ) )); "::" , stringify ! ( mReflowStartTime ) ));
assert_eq! (unsafe { assert_eq! (unsafe {
& ( * ( 0 as * const nsPresContext ) ) . & ( * ( 0 as * const nsPresContext ) ) .
mFirstNonBlankPaintTime as * const _ as usize } , mFirstNonBlankPaintTime as * const _ as usize } ,
1216usize , concat ! ( 1224usize , concat ! (
"Alignment of field: " , stringify ! ( nsPresContext ) , "Alignment of field: " , stringify ! ( nsPresContext ) ,
"::" , stringify ! ( mFirstNonBlankPaintTime ) )); "::" , stringify ! ( mFirstNonBlankPaintTime ) ));
assert_eq! (unsafe { assert_eq! (unsafe {
& ( * ( 0 as * const nsPresContext ) ) . mFirstClickTime & ( * ( 0 as * const nsPresContext ) ) . mFirstClickTime
as * const _ as usize } , 1224usize , concat ! ( as * const _ as usize } , 1232usize , concat ! (
"Alignment of field: " , stringify ! ( nsPresContext ) , "Alignment of field: " , stringify ! ( nsPresContext ) ,
"::" , stringify ! ( mFirstClickTime ) )); "::" , stringify ! ( mFirstClickTime ) ));
assert_eq! (unsafe { assert_eq! (unsafe {
& ( * ( 0 as * const nsPresContext ) ) . mFirstKeyTime as & ( * ( 0 as * const nsPresContext ) ) . mFirstKeyTime as
* const _ as usize } , 1232usize , concat ! ( * const _ as usize } , 1240usize , concat ! (
"Alignment of field: " , stringify ! ( nsPresContext ) , "Alignment of field: " , stringify ! ( nsPresContext ) ,
"::" , stringify ! ( mFirstKeyTime ) )); "::" , stringify ! ( mFirstKeyTime ) ));
assert_eq! (unsafe { assert_eq! (unsafe {
& ( * ( 0 as * const nsPresContext ) ) . & ( * ( 0 as * const nsPresContext ) ) .
mFirstMouseMoveTime as * const _ as usize } , 1240usize , mFirstMouseMoveTime as * const _ as usize } , 1248usize ,
concat ! ( concat ! (
"Alignment of field: " , stringify ! ( nsPresContext ) , "Alignment of field: " , stringify ! ( nsPresContext ) ,
"::" , stringify ! ( mFirstMouseMoveTime ) )); "::" , stringify ! ( mFirstMouseMoveTime ) ));
assert_eq! (unsafe { assert_eq! (unsafe {
& ( * ( 0 as * const nsPresContext ) ) . mFirstScrollTime & ( * ( 0 as * const nsPresContext ) ) . mFirstScrollTime
as * const _ as usize } , 1248usize , concat ! ( as * const _ as usize } , 1256usize , concat ! (
"Alignment of field: " , stringify ! ( nsPresContext ) , "Alignment of field: " , stringify ! ( nsPresContext ) ,
"::" , stringify ! ( mFirstScrollTime ) )); "::" , stringify ! ( mFirstScrollTime ) ));
assert_eq! (unsafe { assert_eq! (unsafe {
& ( * ( 0 as * const nsPresContext ) ) . & ( * ( 0 as * const nsPresContext ) ) .
mInteractionTimeEnabled as * const _ as usize } , mInteractionTimeEnabled as * const _ as usize } ,
1256usize , concat ! ( 1264usize , concat ! (
"Alignment of field: " , stringify ! ( nsPresContext ) , "Alignment of field: " , stringify ! ( nsPresContext ) ,
"::" , stringify ! ( mInteractionTimeEnabled ) )); "::" , stringify ! ( mInteractionTimeEnabled ) ));
assert_eq! (unsafe { assert_eq! (unsafe {
& ( * ( 0 as * const nsPresContext ) ) . & ( * ( 0 as * const nsPresContext ) ) .
mLastStyleUpdateForAllAnimations as * const _ as usize } , mLastStyleUpdateForAllAnimations as * const _ as usize } ,
1264usize , concat ! ( 1272usize , concat ! (
"Alignment of field: " , stringify ! ( nsPresContext ) , "Alignment of field: " , stringify ! ( nsPresContext ) ,
"::" , stringify ! ( mLastStyleUpdateForAllAnimations ) "::" , stringify ! ( mLastStyleUpdateForAllAnimations )
)); ));
assert_eq! (unsafe { assert_eq! (unsafe {
& ( * ( 0 as * const nsPresContext ) ) . & ( * ( 0 as * const nsPresContext ) ) .
mTelemetryScrollLastY as * const _ as usize } , 1272usize mTelemetryScrollLastY as * const _ as usize } , 1280usize
, concat ! ( , concat ! (
"Alignment of field: " , stringify ! ( nsPresContext ) , "Alignment of field: " , stringify ! ( nsPresContext ) ,
"::" , stringify ! ( mTelemetryScrollLastY ) )); "::" , stringify ! ( mTelemetryScrollLastY ) ));
assert_eq! (unsafe { assert_eq! (unsafe {
& ( * ( 0 as * const nsPresContext ) ) . & ( * ( 0 as * const nsPresContext ) ) .
mTelemetryScrollMaxY as * const _ as usize } , 1276usize , mTelemetryScrollMaxY as * const _ as usize } , 1284usize ,
concat ! ( concat ! (
"Alignment of field: " , stringify ! ( nsPresContext ) , "Alignment of field: " , stringify ! ( nsPresContext ) ,
"::" , stringify ! ( mTelemetryScrollMaxY ) )); "::" , stringify ! ( mTelemetryScrollMaxY ) ));
assert_eq! (unsafe { assert_eq! (unsafe {
& ( * ( 0 as * const nsPresContext ) ) . & ( * ( 0 as * const nsPresContext ) ) .
mTelemetryScrollTotalY as * const _ as usize } , 1280usize mTelemetryScrollTotalY as * const _ as usize } , 1288usize
, concat ! ( , concat ! (
"Alignment of field: " , stringify ! ( nsPresContext ) , "Alignment of field: " , stringify ! ( nsPresContext ) ,
"::" , stringify ! ( mTelemetryScrollTotalY ) )); "::" , stringify ! ( mTelemetryScrollTotalY ) ));
@ -15954,66 +15961,66 @@ pub mod root {
#[repr(C)] #[repr(C)]
#[derive(Debug, Copy, Clone)] #[derive(Debug, Copy, Clone)]
pub struct nsDOMMutationObserver([u8; 0]); pub struct nsDOMMutationObserver([u8; 0]);
pub const NODE_HAS_LISTENERMANAGER: root::_bindgen_ty_101 = pub const NODE_HAS_LISTENERMANAGER: root::_bindgen_ty_99 =
_bindgen_ty_101::NODE_HAS_LISTENERMANAGER; _bindgen_ty_99::NODE_HAS_LISTENERMANAGER;
pub const NODE_HAS_PROPERTIES: root::_bindgen_ty_101 = pub const NODE_HAS_PROPERTIES: root::_bindgen_ty_99 =
_bindgen_ty_101::NODE_HAS_PROPERTIES; _bindgen_ty_99::NODE_HAS_PROPERTIES;
pub const NODE_IS_ANONYMOUS_ROOT: root::_bindgen_ty_101 = pub const NODE_IS_ANONYMOUS_ROOT: root::_bindgen_ty_99 =
_bindgen_ty_101::NODE_IS_ANONYMOUS_ROOT; _bindgen_ty_99::NODE_IS_ANONYMOUS_ROOT;
pub const NODE_IS_IN_NATIVE_ANONYMOUS_SUBTREE: root::_bindgen_ty_101 = pub const NODE_IS_IN_NATIVE_ANONYMOUS_SUBTREE: root::_bindgen_ty_99 =
_bindgen_ty_101::NODE_IS_IN_NATIVE_ANONYMOUS_SUBTREE; _bindgen_ty_99::NODE_IS_IN_NATIVE_ANONYMOUS_SUBTREE;
pub const NODE_IS_NATIVE_ANONYMOUS_ROOT: root::_bindgen_ty_101 = pub const NODE_IS_NATIVE_ANONYMOUS_ROOT: root::_bindgen_ty_99 =
_bindgen_ty_101::NODE_IS_NATIVE_ANONYMOUS_ROOT; _bindgen_ty_99::NODE_IS_NATIVE_ANONYMOUS_ROOT;
pub const NODE_FORCE_XBL_BINDINGS: root::_bindgen_ty_101 = pub const NODE_FORCE_XBL_BINDINGS: root::_bindgen_ty_99 =
_bindgen_ty_101::NODE_FORCE_XBL_BINDINGS; _bindgen_ty_99::NODE_FORCE_XBL_BINDINGS;
pub const NODE_MAY_BE_IN_BINDING_MNGR: root::_bindgen_ty_101 = pub const NODE_MAY_BE_IN_BINDING_MNGR: root::_bindgen_ty_99 =
_bindgen_ty_101::NODE_MAY_BE_IN_BINDING_MNGR; _bindgen_ty_99::NODE_MAY_BE_IN_BINDING_MNGR;
pub const NODE_IS_EDITABLE: root::_bindgen_ty_101 = pub const NODE_IS_EDITABLE: root::_bindgen_ty_99 =
_bindgen_ty_101::NODE_IS_EDITABLE; _bindgen_ty_99::NODE_IS_EDITABLE;
pub const NODE_IS_NATIVE_ANONYMOUS: root::_bindgen_ty_101 = pub const NODE_IS_NATIVE_ANONYMOUS: root::_bindgen_ty_99 =
_bindgen_ty_101::NODE_IS_NATIVE_ANONYMOUS; _bindgen_ty_99::NODE_IS_NATIVE_ANONYMOUS;
pub const NODE_IS_IN_SHADOW_TREE: root::_bindgen_ty_101 = pub const NODE_IS_IN_SHADOW_TREE: root::_bindgen_ty_99 =
_bindgen_ty_101::NODE_IS_IN_SHADOW_TREE; _bindgen_ty_99::NODE_IS_IN_SHADOW_TREE;
pub const NODE_HAS_EMPTY_SELECTOR: root::_bindgen_ty_101 = pub const NODE_HAS_EMPTY_SELECTOR: root::_bindgen_ty_99 =
_bindgen_ty_101::NODE_HAS_EMPTY_SELECTOR; _bindgen_ty_99::NODE_HAS_EMPTY_SELECTOR;
pub const NODE_HAS_SLOW_SELECTOR: root::_bindgen_ty_101 = pub const NODE_HAS_SLOW_SELECTOR: root::_bindgen_ty_99 =
_bindgen_ty_101::NODE_HAS_SLOW_SELECTOR; _bindgen_ty_99::NODE_HAS_SLOW_SELECTOR;
pub const NODE_HAS_EDGE_CHILD_SELECTOR: root::_bindgen_ty_101 = pub const NODE_HAS_EDGE_CHILD_SELECTOR: root::_bindgen_ty_99 =
_bindgen_ty_101::NODE_HAS_EDGE_CHILD_SELECTOR; _bindgen_ty_99::NODE_HAS_EDGE_CHILD_SELECTOR;
pub const NODE_HAS_SLOW_SELECTOR_LATER_SIBLINGS: root::_bindgen_ty_101 = pub const NODE_HAS_SLOW_SELECTOR_LATER_SIBLINGS: root::_bindgen_ty_99 =
_bindgen_ty_101::NODE_HAS_SLOW_SELECTOR_LATER_SIBLINGS; _bindgen_ty_99::NODE_HAS_SLOW_SELECTOR_LATER_SIBLINGS;
pub const NODE_ALL_SELECTOR_FLAGS: root::_bindgen_ty_101 = pub const NODE_ALL_SELECTOR_FLAGS: root::_bindgen_ty_99 =
_bindgen_ty_101::NODE_ALL_SELECTOR_FLAGS; _bindgen_ty_99::NODE_ALL_SELECTOR_FLAGS;
pub const NODE_NEEDS_FRAME: root::_bindgen_ty_101 = pub const NODE_NEEDS_FRAME: root::_bindgen_ty_99 =
_bindgen_ty_101::NODE_NEEDS_FRAME; _bindgen_ty_99::NODE_NEEDS_FRAME;
pub const NODE_DESCENDANTS_NEED_FRAMES: root::_bindgen_ty_101 = pub const NODE_DESCENDANTS_NEED_FRAMES: root::_bindgen_ty_99 =
_bindgen_ty_101::NODE_DESCENDANTS_NEED_FRAMES; _bindgen_ty_99::NODE_DESCENDANTS_NEED_FRAMES;
pub const NODE_HAS_ACCESSKEY: root::_bindgen_ty_101 = pub const NODE_HAS_ACCESSKEY: root::_bindgen_ty_99 =
_bindgen_ty_101::NODE_HAS_ACCESSKEY; _bindgen_ty_99::NODE_HAS_ACCESSKEY;
pub const NODE_HAS_DIRECTION_RTL: root::_bindgen_ty_101 = pub const NODE_HAS_DIRECTION_RTL: root::_bindgen_ty_99 =
_bindgen_ty_101::NODE_HAS_DIRECTION_RTL; _bindgen_ty_99::NODE_HAS_DIRECTION_RTL;
pub const NODE_HAS_DIRECTION_LTR: root::_bindgen_ty_101 = pub const NODE_HAS_DIRECTION_LTR: root::_bindgen_ty_99 =
_bindgen_ty_101::NODE_HAS_DIRECTION_LTR; _bindgen_ty_99::NODE_HAS_DIRECTION_LTR;
pub const NODE_ALL_DIRECTION_FLAGS: root::_bindgen_ty_101 = pub const NODE_ALL_DIRECTION_FLAGS: root::_bindgen_ty_99 =
_bindgen_ty_101::NODE_ALL_DIRECTION_FLAGS; _bindgen_ty_99::NODE_ALL_DIRECTION_FLAGS;
pub const NODE_CHROME_ONLY_ACCESS: root::_bindgen_ty_101 = pub const NODE_CHROME_ONLY_ACCESS: root::_bindgen_ty_99 =
_bindgen_ty_101::NODE_CHROME_ONLY_ACCESS; _bindgen_ty_99::NODE_CHROME_ONLY_ACCESS;
pub const NODE_IS_ROOT_OF_CHROME_ONLY_ACCESS: root::_bindgen_ty_101 = pub const NODE_IS_ROOT_OF_CHROME_ONLY_ACCESS: root::_bindgen_ty_99 =
_bindgen_ty_101::NODE_IS_ROOT_OF_CHROME_ONLY_ACCESS; _bindgen_ty_99::NODE_IS_ROOT_OF_CHROME_ONLY_ACCESS;
pub const NODE_SHARED_RESTYLE_BIT_1: root::_bindgen_ty_101 = pub const NODE_SHARED_RESTYLE_BIT_1: root::_bindgen_ty_99 =
_bindgen_ty_101::NODE_SHARED_RESTYLE_BIT_1; _bindgen_ty_99::NODE_SHARED_RESTYLE_BIT_1;
pub const NODE_SHARED_RESTYLE_BIT_2: root::_bindgen_ty_101 = pub const NODE_SHARED_RESTYLE_BIT_2: root::_bindgen_ty_99 =
_bindgen_ty_101::NODE_SHARED_RESTYLE_BIT_2; _bindgen_ty_99::NODE_SHARED_RESTYLE_BIT_2;
pub const NODE_HAS_DIRTY_DESCENDANTS_FOR_SERVO: root::_bindgen_ty_101 = pub const NODE_HAS_DIRTY_DESCENDANTS_FOR_SERVO: root::_bindgen_ty_99 =
_bindgen_ty_101::NODE_SHARED_RESTYLE_BIT_1; _bindgen_ty_99::NODE_SHARED_RESTYLE_BIT_1;
pub const NODE_HAS_ANIMATION_ONLY_DIRTY_DESCENDANTS_FOR_SERVO: pub const NODE_HAS_ANIMATION_ONLY_DIRTY_DESCENDANTS_FOR_SERVO:
root::_bindgen_ty_101 = root::_bindgen_ty_99 =
_bindgen_ty_101::NODE_SHARED_RESTYLE_BIT_2; _bindgen_ty_99::NODE_SHARED_RESTYLE_BIT_2;
pub const NODE_TYPE_SPECIFIC_BITS_OFFSET: root::_bindgen_ty_101 = pub const NODE_TYPE_SPECIFIC_BITS_OFFSET: root::_bindgen_ty_99 =
_bindgen_ty_101::NODE_TYPE_SPECIFIC_BITS_OFFSET; _bindgen_ty_99::NODE_TYPE_SPECIFIC_BITS_OFFSET;
#[repr(u32)] #[repr(u32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum _bindgen_ty_101 { pub enum _bindgen_ty_99 {
NODE_HAS_LISTENERMANAGER = 4, NODE_HAS_LISTENERMANAGER = 4,
NODE_HAS_PROPERTIES = 8, NODE_HAS_PROPERTIES = 8,
NODE_IS_ANONYMOUS_ROOT = 16, NODE_IS_ANONYMOUS_ROOT = 16,
@ -19064,6 +19071,9 @@ pub mod root {
} }
#[repr(C)] #[repr(C)]
#[derive(Debug, Copy, Clone)] #[derive(Debug, Copy, Clone)]
pub struct nsBidi([u8; 0]);
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct nsIPrintSettings([u8; 0]); pub struct nsIPrintSettings([u8; 0]);
#[repr(C)] #[repr(C)]
#[derive(Debug, Copy, Clone)] #[derive(Debug, Copy, Clone)]
@ -19183,7 +19193,7 @@ pub mod root {
} }
#[test] #[test]
fn bindgen_test_layout_nsRootPresContext() { fn bindgen_test_layout_nsRootPresContext() {
assert_eq!(::std::mem::size_of::<nsRootPresContext>() , 1448usize , assert_eq!(::std::mem::size_of::<nsRootPresContext>() , 1456usize ,
concat ! ( "Size of: " , stringify ! ( nsRootPresContext ) concat ! ( "Size of: " , stringify ! ( nsRootPresContext )
)); ));
assert_eq! (::std::mem::align_of::<nsRootPresContext>() , 8usize , assert_eq! (::std::mem::align_of::<nsRootPresContext>() , 8usize ,
@ -19191,37 +19201,37 @@ pub mod root {
"Alignment of " , stringify ! ( nsRootPresContext ) )); "Alignment of " , stringify ! ( nsRootPresContext ) ));
assert_eq! (unsafe { assert_eq! (unsafe {
& ( * ( 0 as * const nsRootPresContext ) ) . & ( * ( 0 as * const nsRootPresContext ) ) .
mNotifyDidPaintTimers as * const _ as usize } , 1296usize mNotifyDidPaintTimers as * const _ as usize } , 1304usize
, concat ! ( , concat ! (
"Alignment of field: " , stringify ! ( nsRootPresContext ) "Alignment of field: " , stringify ! ( nsRootPresContext )
, "::" , stringify ! ( mNotifyDidPaintTimers ) )); , "::" , stringify ! ( mNotifyDidPaintTimers ) ));
assert_eq! (unsafe { assert_eq! (unsafe {
& ( * ( 0 as * const nsRootPresContext ) ) . & ( * ( 0 as * const nsRootPresContext ) ) .
mApplyPluginGeometryTimer as * const _ as usize } , mApplyPluginGeometryTimer as * const _ as usize } ,
1376usize , concat ! ( 1384usize , concat ! (
"Alignment of field: " , stringify ! ( nsRootPresContext ) "Alignment of field: " , stringify ! ( nsRootPresContext )
, "::" , stringify ! ( mApplyPluginGeometryTimer ) )); , "::" , stringify ! ( mApplyPluginGeometryTimer ) ));
assert_eq! (unsafe { assert_eq! (unsafe {
& ( * ( 0 as * const nsRootPresContext ) ) . & ( * ( 0 as * const nsRootPresContext ) ) .
mRegisteredPlugins as * const _ as usize } , 1384usize , mRegisteredPlugins as * const _ as usize } , 1392usize ,
concat ! ( concat ! (
"Alignment of field: " , stringify ! ( nsRootPresContext ) "Alignment of field: " , stringify ! ( nsRootPresContext )
, "::" , stringify ! ( mRegisteredPlugins ) )); , "::" , stringify ! ( mRegisteredPlugins ) ));
assert_eq! (unsafe { assert_eq! (unsafe {
& ( * ( 0 as * const nsRootPresContext ) ) . & ( * ( 0 as * const nsRootPresContext ) ) .
mWillPaintObservers as * const _ as usize } , 1424usize , mWillPaintObservers as * const _ as usize } , 1432usize ,
concat ! ( concat ! (
"Alignment of field: " , stringify ! ( nsRootPresContext ) "Alignment of field: " , stringify ! ( nsRootPresContext )
, "::" , stringify ! ( mWillPaintObservers ) )); , "::" , stringify ! ( mWillPaintObservers ) ));
assert_eq! (unsafe { assert_eq! (unsafe {
& ( * ( 0 as * const nsRootPresContext ) ) . & ( * ( 0 as * const nsRootPresContext ) ) .
mWillPaintFallbackEvent as * const _ as usize } , mWillPaintFallbackEvent as * const _ as usize } ,
1432usize , concat ! ( 1440usize , concat ! (
"Alignment of field: " , stringify ! ( nsRootPresContext ) "Alignment of field: " , stringify ! ( nsRootPresContext )
, "::" , stringify ! ( mWillPaintFallbackEvent ) )); , "::" , stringify ! ( mWillPaintFallbackEvent ) ));
assert_eq! (unsafe { assert_eq! (unsafe {
& ( * ( 0 as * const nsRootPresContext ) ) . & ( * ( 0 as * const nsRootPresContext ) ) .
mDOMGeneration as * const _ as usize } , 1440usize , mDOMGeneration as * const _ as usize } , 1448usize ,
concat ! ( concat ! (
"Alignment of field: " , stringify ! ( nsRootPresContext ) "Alignment of field: " , stringify ! ( nsRootPresContext )
, "::" , stringify ! ( mDOMGeneration ) )); , "::" , stringify ! ( mDOMGeneration ) ));
@ -27607,6 +27617,17 @@ pub mod root {
} }
#[test] #[test]
fn __bindgen_test_layout_template_52() { fn __bindgen_test_layout_template_52() {
assert_eq!(::std::mem::size_of::<root::mozilla::DefaultDelete<root::nsBidi>>()
, 1usize , concat ! (
"Size of template specialization: " , stringify ! (
root::mozilla::DefaultDelete<root::nsBidi> ) ));
assert_eq!(::std::mem::align_of::<root::mozilla::DefaultDelete<root::nsBidi>>()
, 1usize , concat ! (
"Alignment of template specialization: " , stringify ! (
root::mozilla::DefaultDelete<root::nsBidi> ) ));
}
#[test]
fn __bindgen_test_layout_template_53() {
assert_eq!(::std::mem::size_of::<[u64; 28usize]>() , 224usize , concat assert_eq!(::std::mem::size_of::<[u64; 28usize]>() , 224usize , concat
! ( ! (
"Size of template specialization: " , stringify ! ( "Size of template specialization: " , stringify ! (
@ -27617,7 +27638,7 @@ pub mod root {
[u64; 28usize] ) )); [u64; 28usize] ) ));
} }
#[test] #[test]
fn __bindgen_test_layout_template_53() { fn __bindgen_test_layout_template_54() {
assert_eq!(::std::mem::size_of::<root::nsTArray<*mut root::nsIContent>>() assert_eq!(::std::mem::size_of::<root::nsTArray<*mut root::nsIContent>>()
, 8usize , concat ! ( , 8usize , concat ! (
"Size of template specialization: " , stringify ! ( "Size of template specialization: " , stringify ! (
@ -27628,7 +27649,7 @@ pub mod root {
root::nsTArray<*mut root::nsIContent> ) )); root::nsTArray<*mut root::nsIContent> ) ));
} }
#[test] #[test]
fn __bindgen_test_layout_template_54() { fn __bindgen_test_layout_template_55() {
assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::mozilla::dom::CSSValue>>() assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::mozilla::dom::CSSValue>>()
, 8usize , concat ! ( , 8usize , concat ! (
"Size of template specialization: " , stringify ! ( "Size of template specialization: " , stringify ! (
@ -27639,7 +27660,7 @@ pub mod root {
root::already_AddRefed<root::mozilla::dom::CSSValue> ) )); root::already_AddRefed<root::mozilla::dom::CSSValue> ) ));
} }
#[test] #[test]
fn __bindgen_test_layout_template_55() { fn __bindgen_test_layout_template_56() {
assert_eq!(::std::mem::size_of::<root::mozilla::DefaultDelete<root::mozilla::dom::TimeoutManager>>() assert_eq!(::std::mem::size_of::<root::mozilla::DefaultDelete<root::mozilla::dom::TimeoutManager>>()
, 1usize , concat ! ( , 1usize , concat ! (
"Size of template specialization: " , stringify ! ( "Size of template specialization: " , stringify ! (
@ -27652,7 +27673,7 @@ pub mod root {
) )); ) ));
} }
#[test] #[test]
fn __bindgen_test_layout_template_56() { fn __bindgen_test_layout_template_57() {
assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::nsISupports>>() assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::nsISupports>>()
, 8usize , concat ! ( , 8usize , concat ! (
"Size of template specialization: " , stringify ! ( "Size of template specialization: " , stringify ! (
@ -27663,7 +27684,7 @@ pub mod root {
root::already_AddRefed<root::nsISupports> ) )); root::already_AddRefed<root::nsISupports> ) ));
} }
#[test] #[test]
fn __bindgen_test_layout_template_57() { fn __bindgen_test_layout_template_58() {
assert_eq!(::std::mem::size_of::<root::nsCOMPtr<root::nsIRunnable>>() assert_eq!(::std::mem::size_of::<root::nsCOMPtr<root::nsIRunnable>>()
, 8usize , concat ! ( , 8usize , concat ! (
"Size of template specialization: " , stringify ! ( "Size of template specialization: " , stringify ! (
@ -27674,7 +27695,7 @@ pub mod root {
root::nsCOMPtr<root::nsIRunnable> ) )); root::nsCOMPtr<root::nsIRunnable> ) ));
} }
#[test] #[test]
fn __bindgen_test_layout_template_58() { fn __bindgen_test_layout_template_59() {
assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::nsIContent>>() assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::nsIContent>>()
, 8usize , concat ! ( , 8usize , concat ! (
"Size of template specialization: " , stringify ! ( "Size of template specialization: " , stringify ! (
@ -27685,7 +27706,7 @@ pub mod root {
root::already_AddRefed<root::nsIContent> ) )); root::already_AddRefed<root::nsIContent> ) ));
} }
#[test] #[test]
fn __bindgen_test_layout_template_59() { fn __bindgen_test_layout_template_60() {
assert_eq!(::std::mem::size_of::<[u64; 5usize]>() , 40usize , concat ! assert_eq!(::std::mem::size_of::<[u64; 5usize]>() , 40usize , concat !
( (
"Size of template specialization: " , stringify ! ( "Size of template specialization: " , stringify ! (
@ -27696,7 +27717,7 @@ pub mod root {
[u64; 5usize] ) )); [u64; 5usize] ) ));
} }
#[test] #[test]
fn __bindgen_test_layout_template_60() { fn __bindgen_test_layout_template_61() {
assert_eq!(::std::mem::size_of::<root::mozilla::OwningNonNull<root::nsINode>>() assert_eq!(::std::mem::size_of::<root::mozilla::OwningNonNull<root::nsINode>>()
, 8usize , concat ! ( , 8usize , concat ! (
"Size of template specialization: " , stringify ! ( "Size of template specialization: " , stringify ! (
@ -27707,17 +27728,6 @@ pub mod root {
root::mozilla::OwningNonNull<root::nsINode> ) )); root::mozilla::OwningNonNull<root::nsINode> ) ));
} }
#[test] #[test]
fn __bindgen_test_layout_template_61() {
assert_eq!(::std::mem::size_of::<[u32; 2usize]>() , 8usize , concat !
(
"Size of template specialization: " , stringify ! (
[u32; 2usize] ) ));
assert_eq!(::std::mem::align_of::<[u32; 2usize]>() , 4usize , concat !
(
"Alignment of template specialization: " , stringify ! (
[u32; 2usize] ) ));
}
#[test]
fn __bindgen_test_layout_template_62() { fn __bindgen_test_layout_template_62() {
assert_eq!(::std::mem::size_of::<[u32; 2usize]>() , 8usize , concat ! assert_eq!(::std::mem::size_of::<[u32; 2usize]>() , 8usize , concat !
( (
@ -27741,17 +27751,6 @@ pub mod root {
} }
#[test] #[test]
fn __bindgen_test_layout_template_64() { fn __bindgen_test_layout_template_64() {
assert_eq!(::std::mem::size_of::<[u32; 4usize]>() , 16usize , concat !
(
"Size of template specialization: " , stringify ! (
[u32; 4usize] ) ));
assert_eq!(::std::mem::align_of::<[u32; 4usize]>() , 4usize , concat !
(
"Alignment of template specialization: " , stringify ! (
[u32; 4usize] ) ));
}
#[test]
fn __bindgen_test_layout_template_65() {
assert_eq!(::std::mem::size_of::<[u32; 2usize]>() , 8usize , concat ! assert_eq!(::std::mem::size_of::<[u32; 2usize]>() , 8usize , concat !
( (
"Size of template specialization: " , stringify ! ( "Size of template specialization: " , stringify ! (
@ -27762,6 +27761,17 @@ pub mod root {
[u32; 2usize] ) )); [u32; 2usize] ) ));
} }
#[test] #[test]
fn __bindgen_test_layout_template_65() {
assert_eq!(::std::mem::size_of::<[u32; 4usize]>() , 16usize , concat !
(
"Size of template specialization: " , stringify ! (
[u32; 4usize] ) ));
assert_eq!(::std::mem::align_of::<[u32; 4usize]>() , 4usize , concat !
(
"Alignment of template specialization: " , stringify ! (
[u32; 4usize] ) ));
}
#[test]
fn __bindgen_test_layout_template_66() { fn __bindgen_test_layout_template_66() {
assert_eq!(::std::mem::size_of::<[u32; 2usize]>() , 8usize , concat ! assert_eq!(::std::mem::size_of::<[u32; 2usize]>() , 8usize , concat !
( (
@ -27774,14 +27784,14 @@ pub mod root {
} }
#[test] #[test]
fn __bindgen_test_layout_template_67() { fn __bindgen_test_layout_template_67() {
assert_eq!(::std::mem::size_of::<[u32; 4usize]>() , 16usize , concat ! assert_eq!(::std::mem::size_of::<[u32; 2usize]>() , 8usize , concat !
( (
"Size of template specialization: " , stringify ! ( "Size of template specialization: " , stringify ! (
[u32; 4usize] ) )); [u32; 2usize] ) ));
assert_eq!(::std::mem::align_of::<[u32; 4usize]>() , 4usize , concat ! assert_eq!(::std::mem::align_of::<[u32; 2usize]>() , 4usize , concat !
( (
"Alignment of template specialization: " , stringify ! ( "Alignment of template specialization: " , stringify ! (
[u32; 4usize] ) )); [u32; 2usize] ) ));
} }
#[test] #[test]
fn __bindgen_test_layout_template_68() { fn __bindgen_test_layout_template_68() {
@ -27807,6 +27817,17 @@ pub mod root {
} }
#[test] #[test]
fn __bindgen_test_layout_template_70() { fn __bindgen_test_layout_template_70() {
assert_eq!(::std::mem::size_of::<[u32; 4usize]>() , 16usize , concat !
(
"Size of template specialization: " , stringify ! (
[u32; 4usize] ) ));
assert_eq!(::std::mem::align_of::<[u32; 4usize]>() , 4usize , concat !
(
"Alignment of template specialization: " , stringify ! (
[u32; 4usize] ) ));
}
#[test]
fn __bindgen_test_layout_template_71() {
assert_eq!(::std::mem::size_of::<u32>() , 4usize , concat ! ( assert_eq!(::std::mem::size_of::<u32>() , 4usize , concat ! (
"Size of template specialization: " , stringify ! ( u32 ) "Size of template specialization: " , stringify ! ( u32 )
)); ));
@ -27815,17 +27836,6 @@ pub mod root {
u32 ) )); u32 ) ));
} }
#[test] #[test]
fn __bindgen_test_layout_template_71() {
assert_eq!(::std::mem::size_of::<[u32; 2usize]>() , 8usize , concat !
(
"Size of template specialization: " , stringify ! (
[u32; 2usize] ) ));
assert_eq!(::std::mem::align_of::<[u32; 2usize]>() , 4usize , concat !
(
"Alignment of template specialization: " , stringify ! (
[u32; 2usize] ) ));
}
#[test]
fn __bindgen_test_layout_template_72() { fn __bindgen_test_layout_template_72() {
assert_eq!(::std::mem::size_of::<[u32; 2usize]>() , 8usize , concat ! assert_eq!(::std::mem::size_of::<[u32; 2usize]>() , 8usize , concat !
( (
@ -27849,6 +27859,17 @@ pub mod root {
} }
#[test] #[test]
fn __bindgen_test_layout_template_74() { fn __bindgen_test_layout_template_74() {
assert_eq!(::std::mem::size_of::<[u32; 2usize]>() , 8usize , concat !
(
"Size of template specialization: " , stringify ! (
[u32; 2usize] ) ));
assert_eq!(::std::mem::align_of::<[u32; 2usize]>() , 4usize , concat !
(
"Alignment of template specialization: " , stringify ! (
[u32; 2usize] ) ));
}
#[test]
fn __bindgen_test_layout_template_75() {
assert_eq!(::std::mem::size_of::<root::nsTArray<f64>>() , 8usize , assert_eq!(::std::mem::size_of::<root::nsTArray<f64>>() , 8usize ,
concat ! ( concat ! (
"Size of template specialization: " , stringify ! ( "Size of template specialization: " , stringify ! (
@ -27859,7 +27880,7 @@ pub mod root {
root::nsTArray<f64> ) )); root::nsTArray<f64> ) ));
} }
#[test] #[test]
fn __bindgen_test_layout_template_75() { fn __bindgen_test_layout_template_76() {
assert_eq!(::std::mem::size_of::<root::RefPtr<root::mozilla::dom::DOMIntersectionObserverEntry>>() assert_eq!(::std::mem::size_of::<root::RefPtr<root::mozilla::dom::DOMIntersectionObserverEntry>>()
, 8usize , concat ! ( , 8usize , concat ! (
"Size of template specialization: " , stringify ! ( "Size of template specialization: " , stringify ! (
@ -27872,7 +27893,7 @@ pub mod root {
) )); ) ));
} }
#[test] #[test]
fn __bindgen_test_layout_template_76() { fn __bindgen_test_layout_template_77() {
assert_eq!(::std::mem::size_of::<root::nsTArray<root::RefPtr<root::mozilla::dom::DOMIntersectionObserverEntry>>>() assert_eq!(::std::mem::size_of::<root::nsTArray<root::RefPtr<root::mozilla::dom::DOMIntersectionObserverEntry>>>()
, 8usize , concat ! ( , 8usize , concat ! (
"Size of template specialization: " , stringify ! ( "Size of template specialization: " , stringify ! (
@ -27885,7 +27906,7 @@ pub mod root {
) )); ) ));
} }
#[test] #[test]
fn __bindgen_test_layout_template_77() { fn __bindgen_test_layout_template_78() {
assert_eq!(::std::mem::size_of::<root::mozilla::UniquePtr<root::ProfilerBacktrace, assert_eq!(::std::mem::size_of::<root::mozilla::UniquePtr<root::ProfilerBacktrace,
root::ProfilerBacktraceDestructor>>() root::ProfilerBacktraceDestructor>>()
, 8usize , concat ! ( , 8usize , concat ! (
@ -27902,7 +27923,7 @@ pub mod root {
) )); ) ));
} }
#[test] #[test]
fn __bindgen_test_layout_template_78() { fn __bindgen_test_layout_template_79() {
assert_eq!(::std::mem::size_of::<root::nsTArray<root::mozilla::FontFamilyName>>() assert_eq!(::std::mem::size_of::<root::nsTArray<root::mozilla::FontFamilyName>>()
, 8usize , concat ! ( , 8usize , concat ! (
"Size of template specialization: " , stringify ! ( "Size of template specialization: " , stringify ! (
@ -27913,7 +27934,7 @@ pub mod root {
root::nsTArray<root::mozilla::FontFamilyName> ) )); root::nsTArray<root::mozilla::FontFamilyName> ) ));
} }
#[test] #[test]
fn __bindgen_test_layout_template_79() { fn __bindgen_test_layout_template_80() {
assert_eq!(::std::mem::size_of::<root::nsTArray<::std::os::raw::c_uint>>() assert_eq!(::std::mem::size_of::<root::nsTArray<::std::os::raw::c_uint>>()
, 8usize , concat ! ( , 8usize , concat ! (
"Size of template specialization: " , stringify ! ( "Size of template specialization: " , stringify ! (
@ -27924,7 +27945,7 @@ pub mod root {
root::nsTArray<::std::os::raw::c_uint> ) )); root::nsTArray<::std::os::raw::c_uint> ) ));
} }
#[test] #[test]
fn __bindgen_test_layout_template_80() { fn __bindgen_test_layout_template_81() {
assert_eq!(::std::mem::size_of::<root::nsTArray<root::mozilla::FramePropertyTable_PropertyValue>>() assert_eq!(::std::mem::size_of::<root::nsTArray<root::mozilla::FramePropertyTable_PropertyValue>>()
, 8usize , concat ! ( , 8usize , concat ! (
"Size of template specialization: " , stringify ! ( "Size of template specialization: " , stringify ! (
@ -27937,7 +27958,7 @@ pub mod root {
) )); ) ));
} }
#[test] #[test]
fn __bindgen_test_layout_template_81() { fn __bindgen_test_layout_template_82() {
assert_eq!(::std::mem::size_of::<root::nsPtrHashKey<root::nsIFrame>>() assert_eq!(::std::mem::size_of::<root::nsPtrHashKey<root::nsIFrame>>()
, 16usize , concat ! ( , 16usize , concat ! (
"Size of template specialization: " , stringify ! ( "Size of template specialization: " , stringify ! (
@ -27948,7 +27969,7 @@ pub mod root {
root::nsPtrHashKey<root::nsIFrame> ) )); root::nsPtrHashKey<root::nsIFrame> ) ));
} }
#[test] #[test]
fn __bindgen_test_layout_template_82() { fn __bindgen_test_layout_template_83() {
assert_eq!(::std::mem::size_of::<[u64; 5usize]>() , 40usize , concat ! assert_eq!(::std::mem::size_of::<[u64; 5usize]>() , 40usize , concat !
( (
"Size of template specialization: " , stringify ! ( "Size of template specialization: " , stringify ! (
@ -27959,7 +27980,7 @@ pub mod root {
[u64; 5usize] ) )); [u64; 5usize] ) ));
} }
#[test] #[test]
fn __bindgen_test_layout_template_83() { fn __bindgen_test_layout_template_84() {
assert_eq!(::std::mem::size_of::<root::mozilla::OwningNonNull<root::mozilla::EffectCompositor_AnimationStyleRuleProcessor>>() assert_eq!(::std::mem::size_of::<root::mozilla::OwningNonNull<root::mozilla::EffectCompositor_AnimationStyleRuleProcessor>>()
, 8usize , concat ! ( , 8usize , concat ! (
"Size of template specialization: " , stringify ! ( "Size of template specialization: " , stringify ! (
@ -27972,7 +27993,7 @@ pub mod root {
) )); ) ));
} }
#[test] #[test]
fn __bindgen_test_layout_template_84() { fn __bindgen_test_layout_template_85() {
assert_eq!(::std::mem::size_of::<root::mozilla::DefaultDelete<root::ProxyBehaviour>>() assert_eq!(::std::mem::size_of::<root::mozilla::DefaultDelete<root::ProxyBehaviour>>()
, 1usize , concat ! ( , 1usize , concat ! (
"Size of template specialization: " , stringify ! ( "Size of template specialization: " , stringify ! (
@ -27983,7 +28004,7 @@ pub mod root {
root::mozilla::DefaultDelete<root::ProxyBehaviour> ) )); root::mozilla::DefaultDelete<root::ProxyBehaviour> ) ));
} }
#[test] #[test]
fn __bindgen_test_layout_template_85() { fn __bindgen_test_layout_template_86() {
assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::mozilla::URLExtraData>>() assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::mozilla::URLExtraData>>()
, 8usize , concat ! ( , 8usize , concat ! (
"Size of template specialization: " , stringify ! ( "Size of template specialization: " , stringify ! (
@ -27994,7 +28015,7 @@ pub mod root {
root::already_AddRefed<root::mozilla::URLExtraData> ) )); root::already_AddRefed<root::mozilla::URLExtraData> ) ));
} }
#[test] #[test]
fn __bindgen_test_layout_template_86() { fn __bindgen_test_layout_template_87() {
assert_eq!(::std::mem::size_of::<root::nsMainThreadPtrHolder<root::nsIURI>>() assert_eq!(::std::mem::size_of::<root::nsMainThreadPtrHolder<root::nsIURI>>()
, 24usize , concat ! ( , 24usize , concat ! (
"Size of template specialization: " , stringify ! ( "Size of template specialization: " , stringify ! (
@ -28005,7 +28026,7 @@ pub mod root {
root::nsMainThreadPtrHolder<root::nsIURI> ) )); root::nsMainThreadPtrHolder<root::nsIURI> ) ));
} }
#[test] #[test]
fn __bindgen_test_layout_template_87() { fn __bindgen_test_layout_template_88() {
assert_eq!(::std::mem::size_of::<root::mozilla::DefaultDelete<root::nsCSSValueList>>() assert_eq!(::std::mem::size_of::<root::mozilla::DefaultDelete<root::nsCSSValueList>>()
, 1usize , concat ! ( , 1usize , concat ! (
"Size of template specialization: " , stringify ! ( "Size of template specialization: " , stringify ! (
@ -28016,7 +28037,7 @@ pub mod root {
root::mozilla::DefaultDelete<root::nsCSSValueList> ) )); root::mozilla::DefaultDelete<root::nsCSSValueList> ) ));
} }
#[test] #[test]
fn __bindgen_test_layout_template_88() { fn __bindgen_test_layout_template_89() {
assert_eq!(::std::mem::size_of::<root::mozilla::UniquePtr<root::nsCSSValueList, assert_eq!(::std::mem::size_of::<root::mozilla::UniquePtr<root::nsCSSValueList,
root::mozilla::DefaultDelete<root::nsCSSValueList>>>() root::mozilla::DefaultDelete<root::nsCSSValueList>>>()
, 8usize , concat ! ( , 8usize , concat ! (
@ -28033,7 +28054,7 @@ pub mod root {
) )); ) ));
} }
#[test] #[test]
fn __bindgen_test_layout_template_89() { fn __bindgen_test_layout_template_90() {
assert_eq!(::std::mem::size_of::<root::mozilla::DefaultDelete<root::nsCSSValuePairList>>() assert_eq!(::std::mem::size_of::<root::mozilla::DefaultDelete<root::nsCSSValuePairList>>()
, 1usize , concat ! ( , 1usize , concat ! (
"Size of template specialization: " , stringify ! ( "Size of template specialization: " , stringify ! (
@ -28046,7 +28067,7 @@ pub mod root {
)); ));
} }
#[test] #[test]
fn __bindgen_test_layout_template_90() { fn __bindgen_test_layout_template_91() {
assert_eq!(::std::mem::size_of::<root::mozilla::UniquePtr<root::nsCSSValuePairList, assert_eq!(::std::mem::size_of::<root::mozilla::UniquePtr<root::nsCSSValuePairList,
root::mozilla::DefaultDelete<root::nsCSSValuePairList>>>() root::mozilla::DefaultDelete<root::nsCSSValuePairList>>>()
, 8usize , concat ! ( , 8usize , concat ! (
@ -28063,7 +28084,7 @@ pub mod root {
) )); ) ));
} }
#[test] #[test]
fn __bindgen_test_layout_template_91() { fn __bindgen_test_layout_template_92() {
assert_eq!(::std::mem::size_of::<[u64; 2usize]>() , 16usize , concat ! assert_eq!(::std::mem::size_of::<[u64; 2usize]>() , 16usize , concat !
( (
"Size of template specialization: " , stringify ! ( "Size of template specialization: " , stringify ! (
@ -28074,7 +28095,7 @@ pub mod root {
[u64; 2usize] ) )); [u64; 2usize] ) ));
} }
#[test] #[test]
fn __bindgen_test_layout_template_92() { fn __bindgen_test_layout_template_93() {
assert_eq!(::std::mem::size_of::<u64>() , 8usize , concat ! ( assert_eq!(::std::mem::size_of::<u64>() , 8usize , concat ! (
"Size of template specialization: " , stringify ! ( u64 ) "Size of template specialization: " , stringify ! ( u64 )
)); ));
@ -28083,7 +28104,7 @@ pub mod root {
u64 ) )); u64 ) ));
} }
#[test] #[test]
fn __bindgen_test_layout_template_93() { fn __bindgen_test_layout_template_94() {
assert_eq!(::std::mem::size_of::<[u32; 3usize]>() , 12usize , concat ! assert_eq!(::std::mem::size_of::<[u32; 3usize]>() , 12usize , concat !
( (
"Size of template specialization: " , stringify ! ( "Size of template specialization: " , stringify ! (
@ -28094,7 +28115,7 @@ pub mod root {
[u32; 3usize] ) )); [u32; 3usize] ) ));
} }
#[test] #[test]
fn __bindgen_test_layout_template_94() { fn __bindgen_test_layout_template_95() {
assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::nsStyleImageRequest>>() assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::nsStyleImageRequest>>()
, 8usize , concat ! ( , 8usize , concat ! (
"Size of template specialization: " , stringify ! ( "Size of template specialization: " , stringify ! (
@ -28105,7 +28126,7 @@ pub mod root {
root::already_AddRefed<root::nsStyleImageRequest> ) )); root::already_AddRefed<root::nsStyleImageRequest> ) ));
} }
#[test] #[test]
fn __bindgen_test_layout_template_95() { fn __bindgen_test_layout_template_96() {
assert_eq!(::std::mem::size_of::<root::mozilla::DefaultDelete<root::nsStyleSides>>() assert_eq!(::std::mem::size_of::<root::mozilla::DefaultDelete<root::nsStyleSides>>()
, 1usize , concat ! ( , 1usize , concat ! (
"Size of template specialization: " , stringify ! ( "Size of template specialization: " , stringify ! (
@ -28116,7 +28137,7 @@ pub mod root {
root::mozilla::DefaultDelete<root::nsStyleSides> ) )); root::mozilla::DefaultDelete<root::nsStyleSides> ) ));
} }
#[test] #[test]
fn __bindgen_test_layout_template_96() { fn __bindgen_test_layout_template_97() {
assert_eq!(::std::mem::size_of::<root::mozilla::UniquePtr<root::nsStyleSides, assert_eq!(::std::mem::size_of::<root::mozilla::UniquePtr<root::nsStyleSides,
root::mozilla::DefaultDelete<root::nsStyleSides>>>() root::mozilla::DefaultDelete<root::nsStyleSides>>>()
, 8usize , concat ! ( , 8usize , concat ! (
@ -28133,7 +28154,7 @@ pub mod root {
) )); ) ));
} }
#[test] #[test]
fn __bindgen_test_layout_template_97() { fn __bindgen_test_layout_template_98() {
assert_eq!(::std::mem::size_of::<root::mozilla::DefaultDelete<root::CachedBorderImageData>>() assert_eq!(::std::mem::size_of::<root::mozilla::DefaultDelete<root::CachedBorderImageData>>()
, 1usize , concat ! ( , 1usize , concat ! (
"Size of template specialization: " , stringify ! ( "Size of template specialization: " , stringify ! (
@ -28146,7 +28167,7 @@ pub mod root {
)); ));
} }
#[test] #[test]
fn __bindgen_test_layout_template_98() { fn __bindgen_test_layout_template_99() {
assert_eq!(::std::mem::size_of::<root::std::pair<::nsstring::nsStringRepr, ::nsstring::nsStringRepr>>() assert_eq!(::std::mem::size_of::<root::std::pair<::nsstring::nsStringRepr, ::nsstring::nsStringRepr>>()
, 32usize , concat ! ( , 32usize , concat ! (
"Size of template specialization: " , stringify ! ( "Size of template specialization: " , stringify ! (
@ -28157,7 +28178,7 @@ pub mod root {
root::std::pair<::nsstring::nsStringRepr, ::nsstring::nsStringRepr> ) )); root::std::pair<::nsstring::nsStringRepr, ::nsstring::nsStringRepr> ) ));
} }
#[test] #[test]
fn __bindgen_test_layout_template_99() { fn __bindgen_test_layout_template_100() {
assert_eq!(::std::mem::size_of::<root::nsTArray<root::std::pair<::nsstring::nsStringRepr, assert_eq!(::std::mem::size_of::<root::nsTArray<root::std::pair<::nsstring::nsStringRepr,
::nsstring::nsStringRepr>>>() ::nsstring::nsStringRepr>>>()
, 8usize , concat ! ( , 8usize , concat ! (
@ -28172,7 +28193,7 @@ pub mod root {
) )); ) ));
} }
#[test] #[test]
fn __bindgen_test_layout_template_100() { fn __bindgen_test_layout_template_101() {
assert_eq!(::std::mem::size_of::<[u64; 18usize]>() , 144usize , concat assert_eq!(::std::mem::size_of::<[u64; 18usize]>() , 144usize , concat
! ( ! (
"Size of template specialization: " , stringify ! ( "Size of template specialization: " , stringify ! (
@ -28183,7 +28204,7 @@ pub mod root {
[u64; 18usize] ) )); [u64; 18usize] ) ));
} }
#[test] #[test]
fn __bindgen_test_layout_template_101() { fn __bindgen_test_layout_template_102() {
assert_eq!(::std::mem::size_of::<root::mozilla::BaseTimeDuration<root::mozilla::StickyTimeDurationValueCalculator>>() assert_eq!(::std::mem::size_of::<root::mozilla::BaseTimeDuration<root::mozilla::StickyTimeDurationValueCalculator>>()
, 8usize , concat ! ( , 8usize , concat ! (
"Size of template specialization: " , stringify ! ( "Size of template specialization: " , stringify ! (
@ -28196,7 +28217,7 @@ pub mod root {
) )); ) ));
} }
#[test] #[test]
fn __bindgen_test_layout_template_102() { fn __bindgen_test_layout_template_103() {
assert_eq!(::std::mem::size_of::<root::nsTArray<root::mozilla::DisplayItemClip_RoundedRect>>() assert_eq!(::std::mem::size_of::<root::nsTArray<root::mozilla::DisplayItemClip_RoundedRect>>()
, 8usize , concat ! ( , 8usize , concat ! (
"Size of template specialization: " , stringify ! ( "Size of template specialization: " , stringify ! (
@ -28209,7 +28230,7 @@ pub mod root {
) )); ) ));
} }
#[test] #[test]
fn __bindgen_test_layout_template_103() { fn __bindgen_test_layout_template_104() {
assert_eq!(::std::mem::size_of::<root::RefPtr<root::mozilla::dom::DOMRect>>() assert_eq!(::std::mem::size_of::<root::RefPtr<root::mozilla::dom::DOMRect>>()
, 8usize , concat ! ( , 8usize , concat ! (
"Size of template specialization: " , stringify ! ( "Size of template specialization: " , stringify ! (
@ -28220,7 +28241,7 @@ pub mod root {
root::RefPtr<root::mozilla::dom::DOMRect> ) )); root::RefPtr<root::mozilla::dom::DOMRect> ) ));
} }
#[test] #[test]
fn __bindgen_test_layout_template_104() { fn __bindgen_test_layout_template_105() {
assert_eq!(::std::mem::size_of::<u64>() , 8usize , concat ! ( assert_eq!(::std::mem::size_of::<u64>() , 8usize , concat ! (
"Size of template specialization: " , stringify ! ( u64 ) "Size of template specialization: " , stringify ! ( u64 )
)); ));
@ -28229,7 +28250,7 @@ pub mod root {
u64 ) )); u64 ) ));
} }
#[test] #[test]
fn __bindgen_test_layout_template_105() { fn __bindgen_test_layout_template_106() {
assert_eq!(::std::mem::size_of::<root::nsTArray<*mut root::mozilla::css::DocumentRule>>() assert_eq!(::std::mem::size_of::<root::nsTArray<*mut root::mozilla::css::DocumentRule>>()
, 8usize , concat ! ( , 8usize , concat ! (
"Size of template specialization: " , stringify ! ( "Size of template specialization: " , stringify ! (
@ -28240,7 +28261,7 @@ pub mod root {
root::nsTArray<*mut root::mozilla::css::DocumentRule> ) )); root::nsTArray<*mut root::mozilla::css::DocumentRule> ) ));
} }
#[test] #[test]
fn __bindgen_test_layout_template_106() { fn __bindgen_test_layout_template_107() {
assert_eq!(::std::mem::size_of::<root::nsAutoPtr<root::nsMediaQuery>>() assert_eq!(::std::mem::size_of::<root::nsAutoPtr<root::nsMediaQuery>>()
, 8usize , concat ! ( , 8usize , concat ! (
"Size of template specialization: " , stringify ! ( "Size of template specialization: " , stringify ! (