aboutsummaryrefslogtreecommitdiffstats
path: root/components/style
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2017-02-21 09:44:17 -0800
committerManish Goregaokar <manishsmail@gmail.com>2017-02-21 09:44:17 -0800
commita68f656e62405fbd01ff3a0c9393bf6ae77031cd (patch)
tree799e9ec50ecde7dd864ce9f20e8e203f9d7acdee /components/style
parent58aa6ce7aedfe93df7154e84676a52905f1709f5 (diff)
downloadservo-a68f656e62405fbd01ff3a0c9393bf6ae77031cd.tar.gz
servo-a68f656e62405fbd01ff3a0c9393bf6ae77031cd.zip
Resync bindings
Diffstat (limited to 'components/style')
-rw-r--r--components/style/gecko_bindings/bindings.rs6
-rw-r--r--components/style/gecko_bindings/structs_debug.rs1652
-rw-r--r--components/style/gecko_bindings/structs_release.rs1232
3 files changed, 1821 insertions, 1069 deletions
diff --git a/components/style/gecko_bindings/bindings.rs b/components/style/gecko_bindings/bindings.rs
index b0a043ead46..d1c85feefa7 100644
--- a/components/style/gecko_bindings/bindings.rs
+++ b/components/style/gecko_bindings/bindings.rs
@@ -1345,7 +1345,8 @@ extern "C" {
buffer: *mut nsAString_internal);
}
extern "C" {
- pub fn Servo_AnimationValue_GetOpacity(value: RawServoAnimationValueBorrowed)
+ pub fn Servo_AnimationValue_GetOpacity(value:
+ RawServoAnimationValueBorrowed)
-> f32;
}
extern "C" {
@@ -1571,7 +1572,8 @@ extern "C" {
extern "C" {
pub fn Servo_TraverseSubtree(root: RawGeckoElementBorrowed,
set: RawServoStyleSetBorrowed,
- root_behavior: TraversalRootBehavior) -> bool;
+ root_behavior: TraversalRootBehavior)
+ -> bool;
}
extern "C" {
pub fn Servo_AssertTreeIsClean(root: RawGeckoElementBorrowed);
diff --git a/components/style/gecko_bindings/structs_debug.rs b/components/style/gecko_bindings/structs_debug.rs
index 302aa8bb0a1..1211c87ce24 100644
--- a/components/style/gecko_bindings/structs_debug.rs
+++ b/components/style/gecko_bindings/structs_debug.rs
@@ -537,12 +537,6 @@ pub mod root {
pub const NS_STYLE_GRID_AUTO_FLOW_COLUMN: ::std::os::raw::c_uint = 2;
pub const NS_STYLE_GRID_AUTO_FLOW_DENSE: ::std::os::raw::c_uint = 4;
pub const NS_STYLE_GRID_TEMPLATE_SUBGRID: ::std::os::raw::c_uint = 0;
- pub const NS_STYLE_GRID_TRACK_BREADTH_MAX_CONTENT: ::std::os::raw::c_uint
- =
- 1;
- pub const NS_STYLE_GRID_TRACK_BREADTH_MIN_CONTENT: ::std::os::raw::c_uint
- =
- 2;
pub const NS_STYLE_GRID_REPEAT_AUTO_FILL: ::std::os::raw::c_uint = 0;
pub const NS_STYLE_GRID_REPEAT_AUTO_FIT: ::std::os::raw::c_uint = 1;
pub const NS_STYLE_WIDTH_MAX_CONTENT: ::std::os::raw::c_uint = 0;
@@ -1009,7 +1003,6 @@ pub mod root {
pub const NS_STYLE_DISPLAY_MODE_BROWSER: ::std::os::raw::c_uint = 0;
pub const NS_STYLE_DISPLAY_MODE_MINIMAL_UI: ::std::os::raw::c_uint = 1;
pub const NS_STYLE_DISPLAY_MODE_STANDALONE: ::std::os::raw::c_uint = 2;
- pub const NS_STYLE_DISPLAY_MODE_FULLSCREEN: ::std::os::raw::c_uint = 3;
pub const NS_STYLE_INHERIT_MASK: ::std::os::raw::c_uint = 16777215;
pub const NS_STYLE_HAS_TEXT_DECORATION_LINES: ::std::os::raw::c_uint =
16777216;
@@ -2067,6 +2060,12 @@ pub mod root {
"Alignment of " , stringify ! (
FastElementCreationOptions ) ));
}
+ #[repr(C)]
+ #[derive(Debug, Copy, Clone)]
+ pub struct RecordEntry<KeyType, ValueType> {
+ pub mKey: KeyType,
+ pub mValue: ValueType,
+ }
}
/**
* A class for representing string return values. This can be either passed to
@@ -3180,6 +3179,15 @@ pub mod root {
Prerender = 2,
EndGuard_ = 3,
}
+ #[repr(u8)]
+ #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+ pub enum FlashClassification {
+ Unclassified = 0,
+ Unknown = 1,
+ Allowed = 2,
+ Denied = 3,
+ EndGuard_ = 4,
+ }
#[repr(C)]
#[derive(Debug)]
pub struct ElementCreationOptions {
@@ -4473,8 +4481,9 @@ pub mod root {
Worker = 3,
IdleCallback = 4,
RefreshDriver = 5,
- Other = 6,
- Count = 7,
+ GarbageCollection = 6,
+ Other = 7,
+ Count = 8,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
@@ -4500,6 +4509,16 @@ pub mod root {
STRIP_ADDON_ID = 2,
STRIP_USER_CONTEXT_ID = 4,
}
+ extern "C" {
+ #[link_name =
+ "_ZN7mozilla16OriginAttributes20sFirstPartyIsolationE"]
+ pub static mut OriginAttributes_sFirstPartyIsolation: bool;
+ }
+ extern "C" {
+ #[link_name =
+ "_ZN7mozilla16OriginAttributes23sRestrictedOpenerAccessE"]
+ pub static mut OriginAttributes_sRestrictedOpenerAccess: bool;
+ }
#[test]
fn bindgen_test_layout_OriginAttributes() {
assert_eq!(::std::mem::size_of::<OriginAttributes>() , 64usize ,
@@ -6323,73 +6342,6 @@ pub mod root {
"Alignment of field: " , stringify ! ( ScrollbarStyles
) , "::" , stringify ! ( mScrollSnapDestinationY ) ));
}
- /**
- * A class for holding strong references to handle-managed objects.
- *
- * This is intended for use with objects like RestyleManagerHandle,
- * where the handle type is not a pointer but which can still have
- * ->AddRef() and ->Release() called on it.
- */
- #[repr(C)]
- #[derive(Debug)]
- pub struct HandleRefPtr<T> {
- pub mHandle: T,
- }
- /**
- * Smart pointer class that can hold a pointer to either a RestyleManager
- * or a ServoRestyleManager.
- */
- #[repr(C)]
- #[derive(Debug, Copy)]
- pub struct RestyleManagerHandle {
- pub mPtr: root::mozilla::RestyleManagerHandle_Ptr,
- }
- pub type RestyleManagerHandle_RefPtr =
- root::mozilla::HandleRefPtr<root::mozilla::RestyleManagerHandle>;
- #[repr(C)]
- #[derive(Debug, Copy)]
- pub struct RestyleManagerHandle_Ptr {
- pub mValue: usize,
- }
- #[test]
- fn bindgen_test_layout_RestyleManagerHandle_Ptr() {
- assert_eq!(::std::mem::size_of::<RestyleManagerHandle_Ptr>() ,
- 8usize , concat ! (
- "Size of: " , stringify ! ( RestyleManagerHandle_Ptr )
- ));
- assert_eq! (::std::mem::align_of::<RestyleManagerHandle_Ptr>() ,
- 8usize , concat ! (
- "Alignment of " , stringify ! (
- RestyleManagerHandle_Ptr ) ));
- assert_eq! (unsafe {
- & ( * ( 0 as * const RestyleManagerHandle_Ptr ) ) .
- mValue as * const _ as usize } , 0usize , concat ! (
- "Alignment of field: " , stringify ! (
- RestyleManagerHandle_Ptr ) , "::" , stringify ! (
- mValue ) ));
- }
- impl Clone for RestyleManagerHandle_Ptr {
- fn clone(&self) -> Self { *self }
- }
- #[test]
- fn bindgen_test_layout_RestyleManagerHandle() {
- assert_eq!(::std::mem::size_of::<RestyleManagerHandle>() , 8usize
- , concat ! (
- "Size of: " , stringify ! ( RestyleManagerHandle ) ));
- assert_eq! (::std::mem::align_of::<RestyleManagerHandle>() ,
- 8usize , concat ! (
- "Alignment of " , stringify ! ( RestyleManagerHandle )
- ));
- assert_eq! (unsafe {
- & ( * ( 0 as * const RestyleManagerHandle ) ) . mPtr
- as * const _ as usize } , 0usize , concat ! (
- "Alignment of field: " , stringify ! (
- RestyleManagerHandle ) , "::" , stringify ! ( mPtr )
- ));
- }
- impl Clone for RestyleManagerHandle {
- fn clone(&self) -> Self { *self }
- }
#[repr(C)]
#[derive(Debug)]
pub struct LangGroupFontPrefs {
@@ -6727,6 +6679,9 @@ pub mod root {
CounterStyleManager ) , "::" , stringify ! (
mCacheTable ) ));
}
+ #[repr(C)]
+ #[derive(Debug, Copy, Clone)]
+ pub struct RestyleManager([u8; 0]);
pub mod image {
#[allow(unused_imports)]
use self::super::super::super::root;
@@ -7794,246 +7749,299 @@ pub mod root {
}
pub type pair_first_type<_T1> = _T1;
pub type pair_second_type<_T2> = _T2;
- pub type pair__PCCP = [u8; 0usize];
#[repr(C)]
- #[derive(Debug)]
pub struct atomic<_Tp> {
- pub _M_i: _Tp,
+ pub _base: (),
+ pub _phantom_0: ::std::marker::PhantomData<_Tp>,
}
- pub mod chrono {
- #[allow(unused_imports)]
- use self::super::super::super::root;
+ pub type atomic___base = [u8; 0usize];
+ #[repr(C)]
+ #[derive(Debug, Copy)]
+ pub struct input_iterator_tag {
+ pub _address: u8,
}
+ #[test]
+ fn bindgen_test_layout_input_iterator_tag() {
+ assert_eq!(::std::mem::size_of::<input_iterator_tag>() , 1usize ,
+ concat ! (
+ "Size of: " , stringify ! ( input_iterator_tag ) ));
+ assert_eq! (::std::mem::align_of::<input_iterator_tag>() , 1usize
+ , concat ! (
+ "Alignment of " , stringify ! ( input_iterator_tag )
+ ));
+ }
+ impl Clone for input_iterator_tag {
+ fn clone(&self) -> Self { *self }
+ }
+ #[repr(C)]
+ #[derive(Debug, Copy)]
+ pub struct forward_iterator_tag {
+ pub _address: u8,
+ }
+ #[test]
+ fn bindgen_test_layout_forward_iterator_tag() {
+ assert_eq!(::std::mem::size_of::<forward_iterator_tag>() , 1usize
+ , concat ! (
+ "Size of: " , stringify ! ( forward_iterator_tag ) ));
+ assert_eq! (::std::mem::align_of::<forward_iterator_tag>() ,
+ 1usize , concat ! (
+ "Alignment of " , stringify ! ( forward_iterator_tag )
+ ));
+ }
+ impl Clone for forward_iterator_tag {
+ fn clone(&self) -> Self { *self }
+ }
+ #[repr(C)]
+ #[derive(Debug, Copy)]
+ pub struct bidirectional_iterator_tag {
+ pub _address: u8,
+ }
+ #[test]
+ fn bindgen_test_layout_bidirectional_iterator_tag() {
+ assert_eq!(::std::mem::size_of::<bidirectional_iterator_tag>() ,
+ 1usize , concat ! (
+ "Size of: " , stringify ! ( bidirectional_iterator_tag
+ ) ));
+ assert_eq! (::std::mem::align_of::<bidirectional_iterator_tag>() ,
+ 1usize , concat ! (
+ "Alignment of " , stringify ! (
+ bidirectional_iterator_tag ) ));
+ }
+ impl Clone for bidirectional_iterator_tag {
+ fn clone(&self) -> Self { *self }
+ }
+ #[repr(C)]
+ #[derive(Debug, Copy)]
+ pub struct random_access_iterator_tag {
+ pub _address: u8,
+ }
+ #[test]
+ fn bindgen_test_layout_random_access_iterator_tag() {
+ assert_eq!(::std::mem::size_of::<random_access_iterator_tag>() ,
+ 1usize , concat ! (
+ "Size of: " , stringify ! ( random_access_iterator_tag
+ ) ));
+ assert_eq! (::std::mem::align_of::<random_access_iterator_tag>() ,
+ 1usize , concat ! (
+ "Alignment of " , stringify ! (
+ random_access_iterator_tag ) ));
+ }
+ impl Clone for random_access_iterator_tag {
+ fn clone(&self) -> Self { *self }
+ }
+ #[repr(C)]
+ #[derive(Debug, Copy, Clone)]
+ pub struct iterator<_Category, _Tp, _Distance, _Pointer, _Reference> {
+ pub _address: u8,
+ pub _phantom_0: ::std::marker::PhantomData<_Category>,
+ pub _phantom_1: ::std::marker::PhantomData<_Tp>,
+ pub _phantom_2: ::std::marker::PhantomData<_Distance>,
+ pub _phantom_3: ::std::marker::PhantomData<_Pointer>,
+ pub _phantom_4: ::std::marker::PhantomData<_Reference>,
+ }
+ pub type iterator_value_type<_Tp> = _Tp;
+ pub type iterator_difference_type<_Distance> = _Distance;
+ pub type iterator_pointer<_Pointer> = _Pointer;
+ pub type iterator_reference<_Reference> = _Reference;
+ pub type iterator_iterator_category<_Category> = _Category;
+ #[repr(C)]
+ #[derive(Debug, Copy, Clone)]
+ pub struct __bit_const_reference<_Cp> {
+ pub __seg_: root::std::__bit_const_reference___storage_pointer<_Cp>,
+ pub __mask_: root::std::__bit_const_reference___storage_type<_Cp>,
+ }
+ pub type __bit_const_reference___storage_type<_Cp> = _Cp;
+ pub type __bit_const_reference___storage_pointer<_Cp> = _Cp;
}
- pub mod __gnu_cxx {
- #[allow(unused_imports)]
- use self::super::super::root;
- }
- pub type __off_t = ::std::os::raw::c_long;
- pub type __off64_t = ::std::os::raw::c_long;
+ pub type __int64_t = ::std::os::raw::c_longlong;
+ pub type __darwin_va_list = root::__builtin_va_list;
+ pub type __darwin_off_t = root::__int64_t;
+ pub type va_list = root::__darwin_va_list;
+ pub type fpos_t = root::__darwin_off_t;
#[repr(C)]
#[derive(Debug, Copy)]
- pub struct _IO_FILE {
- pub _flags: ::std::os::raw::c_int,
- pub _IO_read_ptr: *mut ::std::os::raw::c_char,
- pub _IO_read_end: *mut ::std::os::raw::c_char,
- pub _IO_read_base: *mut ::std::os::raw::c_char,
- pub _IO_write_base: *mut ::std::os::raw::c_char,
- pub _IO_write_ptr: *mut ::std::os::raw::c_char,
- pub _IO_write_end: *mut ::std::os::raw::c_char,
- pub _IO_buf_base: *mut ::std::os::raw::c_char,
- pub _IO_buf_end: *mut ::std::os::raw::c_char,
- pub _IO_save_base: *mut ::std::os::raw::c_char,
- pub _IO_backup_base: *mut ::std::os::raw::c_char,
- pub _IO_save_end: *mut ::std::os::raw::c_char,
- pub _markers: *mut root::_IO_marker,
- pub _chain: *mut root::_IO_FILE,
- pub _fileno: ::std::os::raw::c_int,
- pub _flags2: ::std::os::raw::c_int,
- pub _old_offset: root::__off_t,
- pub _cur_column: ::std::os::raw::c_ushort,
- pub _vtable_offset: ::std::os::raw::c_char,
- pub _shortbuf: [::std::os::raw::c_char; 1usize],
- pub _lock: *mut root::_IO_lock_t,
- pub _offset: root::__off64_t,
- pub __pad1: *mut ::std::os::raw::c_void,
- pub __pad2: *mut ::std::os::raw::c_void,
- pub __pad3: *mut ::std::os::raw::c_void,
- pub __pad4: *mut ::std::os::raw::c_void,
- pub __pad5: usize,
- pub _mode: ::std::os::raw::c_int,
- pub _unused2: [::std::os::raw::c_char; 20usize],
- }
- #[test]
- fn bindgen_test_layout__IO_FILE() {
- assert_eq!(::std::mem::size_of::<_IO_FILE>() , 216usize , concat ! (
- "Size of: " , stringify ! ( _IO_FILE ) ));
- assert_eq! (::std::mem::align_of::<_IO_FILE>() , 8usize , concat ! (
- "Alignment of " , stringify ! ( _IO_FILE ) ));
- assert_eq! (unsafe {
- & ( * ( 0 as * const _IO_FILE ) ) . _flags as * const _ as
- usize } , 0usize , concat ! (
- "Alignment of field: " , stringify ! ( _IO_FILE ) , "::" ,
- stringify ! ( _flags ) ));
- assert_eq! (unsafe {
- & ( * ( 0 as * const _IO_FILE ) ) . _IO_read_ptr as *
- const _ as usize } , 8usize , concat ! (
- "Alignment of field: " , stringify ! ( _IO_FILE ) , "::" ,
- stringify ! ( _IO_read_ptr ) ));
- assert_eq! (unsafe {
- & ( * ( 0 as * const _IO_FILE ) ) . _IO_read_end as *
- const _ as usize } , 16usize , concat ! (
- "Alignment of field: " , stringify ! ( _IO_FILE ) , "::" ,
- stringify ! ( _IO_read_end ) ));
- assert_eq! (unsafe {
- & ( * ( 0 as * const _IO_FILE ) ) . _IO_read_base as *
- const _ as usize } , 24usize , concat ! (
- "Alignment of field: " , stringify ! ( _IO_FILE ) , "::" ,
- stringify ! ( _IO_read_base ) ));
+ pub struct __sbuf {
+ pub _base: *mut ::std::os::raw::c_uchar,
+ pub _size: ::std::os::raw::c_int,
+ }
+ #[test]
+ fn bindgen_test_layout___sbuf() {
+ assert_eq!(::std::mem::size_of::<__sbuf>() , 16usize , concat ! (
+ "Size of: " , stringify ! ( __sbuf ) ));
+ assert_eq! (::std::mem::align_of::<__sbuf>() , 8usize , concat ! (
+ "Alignment of " , stringify ! ( __sbuf ) ));
assert_eq! (unsafe {
- & ( * ( 0 as * const _IO_FILE ) ) . _IO_write_base as *
- const _ as usize } , 32usize , concat ! (
- "Alignment of field: " , stringify ! ( _IO_FILE ) , "::" ,
- stringify ! ( _IO_write_base ) ));
+ & ( * ( 0 as * const __sbuf ) ) . _base as * const _ as
+ usize } , 0usize , concat ! (
+ "Alignment of field: " , stringify ! ( __sbuf ) , "::" ,
+ stringify ! ( _base ) ));
assert_eq! (unsafe {
- & ( * ( 0 as * const _IO_FILE ) ) . _IO_write_ptr as *
- const _ as usize } , 40usize , concat ! (
- "Alignment of field: " , stringify ! ( _IO_FILE ) , "::" ,
- stringify ! ( _IO_write_ptr ) ));
+ & ( * ( 0 as * const __sbuf ) ) . _size as * const _ as
+ usize } , 8usize , concat ! (
+ "Alignment of field: " , stringify ! ( __sbuf ) , "::" ,
+ stringify ! ( _size ) ));
+ }
+ impl Clone for __sbuf {
+ fn clone(&self) -> Self { *self }
+ }
+ #[repr(C)]
+ #[derive(Debug, Copy, Clone)]
+ pub struct __sFILEX([u8; 0]);
+ #[repr(C)]
+ #[derive(Debug, Copy)]
+ pub struct __sFILE {
+ pub _p: *mut ::std::os::raw::c_uchar,
+ pub _r: ::std::os::raw::c_int,
+ pub _w: ::std::os::raw::c_int,
+ pub _flags: ::std::os::raw::c_short,
+ pub _file: ::std::os::raw::c_short,
+ pub _bf: root::__sbuf,
+ pub _lbfsize: ::std::os::raw::c_int,
+ pub _cookie: *mut ::std::os::raw::c_void,
+ pub _close: ::std::option::Option<unsafe extern "C" fn(arg1:
+ *mut ::std::os::raw::c_void)
+ -> ::std::os::raw::c_int>,
+ pub _read: ::std::option::Option<unsafe extern "C" fn(arg1:
+ *mut ::std::os::raw::c_void,
+ arg2:
+ *mut ::std::os::raw::c_char,
+ arg3:
+ ::std::os::raw::c_int)
+ -> ::std::os::raw::c_int>,
+ pub _seek: ::std::option::Option<unsafe extern "C" fn(arg1:
+ *mut ::std::os::raw::c_void,
+ arg2:
+ root::fpos_t,
+ arg3:
+ ::std::os::raw::c_int)
+ -> ::std::os::raw::c_longlong>,
+ pub _write: ::std::option::Option<unsafe extern "C" fn(arg1:
+ *mut ::std::os::raw::c_void,
+ arg2:
+ *const ::std::os::raw::c_char,
+ arg3:
+ ::std::os::raw::c_int)
+ -> ::std::os::raw::c_int>,
+ pub _ub: root::__sbuf,
+ pub _extra: *mut root::__sFILEX,
+ pub _ur: ::std::os::raw::c_int,
+ pub _ubuf: [::std::os::raw::c_uchar; 3usize],
+ pub _nbuf: [::std::os::raw::c_uchar; 1usize],
+ pub _lb: root::__sbuf,
+ pub _blksize: ::std::os::raw::c_int,
+ pub _offset: root::fpos_t,
+ }
+ #[test]
+ fn bindgen_test_layout___sFILE() {
+ assert_eq!(::std::mem::size_of::<__sFILE>() , 152usize , concat ! (
+ "Size of: " , stringify ! ( __sFILE ) ));
+ assert_eq! (::std::mem::align_of::<__sFILE>() , 8usize , concat ! (
+ "Alignment of " , stringify ! ( __sFILE ) ));
+ assert_eq! (unsafe {
+ & ( * ( 0 as * const __sFILE ) ) . _p as * const _ as
+ usize } , 0usize , concat ! (
+ "Alignment of field: " , stringify ! ( __sFILE ) , "::" ,
+ stringify ! ( _p ) ));
assert_eq! (unsafe {
- & ( * ( 0 as * const _IO_FILE ) ) . _IO_write_end as *
- const _ as usize } , 48usize , concat ! (
- "Alignment of field: " , stringify ! ( _IO_FILE ) , "::" ,
- stringify ! ( _IO_write_end ) ));
+ & ( * ( 0 as * const __sFILE ) ) . _r as * const _ as
+ usize } , 8usize , concat ! (
+ "Alignment of field: " , stringify ! ( __sFILE ) , "::" ,
+ stringify ! ( _r ) ));
assert_eq! (unsafe {
- & ( * ( 0 as * const _IO_FILE ) ) . _IO_buf_base as *
- const _ as usize } , 56usize , concat ! (
- "Alignment of field: " , stringify ! ( _IO_FILE ) , "::" ,
- stringify ! ( _IO_buf_base ) ));
+ & ( * ( 0 as * const __sFILE ) ) . _w as * const _ as
+ usize } , 12usize , concat ! (
+ "Alignment of field: " , stringify ! ( __sFILE ) , "::" ,
+ stringify ! ( _w ) ));
assert_eq! (unsafe {
- & ( * ( 0 as * const _IO_FILE ) ) . _IO_buf_end as * const
- _ as usize } , 64usize , concat ! (
- "Alignment of field: " , stringify ! ( _IO_FILE ) , "::" ,
- stringify ! ( _IO_buf_end ) ));
+ & ( * ( 0 as * const __sFILE ) ) . _flags as * const _ as
+ usize } , 16usize , concat ! (
+ "Alignment of field: " , stringify ! ( __sFILE ) , "::" ,
+ stringify ! ( _flags ) ));
assert_eq! (unsafe {
- & ( * ( 0 as * const _IO_FILE ) ) . _IO_save_base as *
- const _ as usize } , 72usize , concat ! (
- "Alignment of field: " , stringify ! ( _IO_FILE ) , "::" ,
- stringify ! ( _IO_save_base ) ));
+ & ( * ( 0 as * const __sFILE ) ) . _file as * const _ as
+ usize } , 18usize , concat ! (
+ "Alignment of field: " , stringify ! ( __sFILE ) , "::" ,
+ stringify ! ( _file ) ));
assert_eq! (unsafe {
- & ( * ( 0 as * const _IO_FILE ) ) . _IO_backup_base as *
- const _ as usize } , 80usize , concat ! (
- "Alignment of field: " , stringify ! ( _IO_FILE ) , "::" ,
- stringify ! ( _IO_backup_base ) ));
+ & ( * ( 0 as * const __sFILE ) ) . _bf as * const _ as
+ usize } , 24usize , concat ! (
+ "Alignment of field: " , stringify ! ( __sFILE ) , "::" ,
+ stringify ! ( _bf ) ));
assert_eq! (unsafe {
- & ( * ( 0 as * const _IO_FILE ) ) . _IO_save_end as *
- const _ as usize } , 88usize , concat ! (
- "Alignment of field: " , stringify ! ( _IO_FILE ) , "::" ,
- stringify ! ( _IO_save_end ) ));
+ & ( * ( 0 as * const __sFILE ) ) . _lbfsize as * const _
+ as usize } , 40usize , concat ! (
+ "Alignment of field: " , stringify ! ( __sFILE ) , "::" ,
+ stringify ! ( _lbfsize ) ));
assert_eq! (unsafe {
- & ( * ( 0 as * const _IO_FILE ) ) . _markers as * const _
- as usize } , 96usize , concat ! (
- "Alignment of field: " , stringify ! ( _IO_FILE ) , "::" ,
- stringify ! ( _markers ) ));
+ & ( * ( 0 as * const __sFILE ) ) . _cookie as * const _ as
+ usize } , 48usize , concat ! (
+ "Alignment of field: " , stringify ! ( __sFILE ) , "::" ,
+ stringify ! ( _cookie ) ));
+ assert_eq! (unsafe {
+ & ( * ( 0 as * const __sFILE ) ) . _close as * const _ as
+ usize } , 56usize , concat ! (
+ "Alignment of field: " , stringify ! ( __sFILE ) , "::" ,
+ stringify ! ( _close ) ));
+ assert_eq! (unsafe {
+ & ( * ( 0 as * const __sFILE ) ) . _read as * const _ as
+ usize } , 64usize , concat ! (
+ "Alignment of field: " , stringify ! ( __sFILE ) , "::" ,
+ stringify ! ( _read ) ));
+ assert_eq! (unsafe {
+ & ( * ( 0 as * const __sFILE ) ) . _seek as * const _ as
+ usize } , 72usize , concat ! (
+ "Alignment of field: " , stringify ! ( __sFILE ) , "::" ,
+ stringify ! ( _seek ) ));
+ assert_eq! (unsafe {
+ & ( * ( 0 as * const __sFILE ) ) . _write as * const _ as
+ usize } , 80usize , concat ! (
+ "Alignment of field: " , stringify ! ( __sFILE ) , "::" ,
+ stringify ! ( _write ) ));
+ assert_eq! (unsafe {
+ & ( * ( 0 as * const __sFILE ) ) . _ub as * const _ as
+ usize } , 88usize , concat ! (
+ "Alignment of field: " , stringify ! ( __sFILE ) , "::" ,
+ stringify ! ( _ub ) ));
assert_eq! (unsafe {
- & ( * ( 0 as * const _IO_FILE ) ) . _chain as * const _ as
+ & ( * ( 0 as * const __sFILE ) ) . _extra as * const _ as
usize } , 104usize , concat ! (
- "Alignment of field: " , stringify ! ( _IO_FILE ) , "::" ,
- stringify ! ( _chain ) ));
- assert_eq! (unsafe {
- & ( * ( 0 as * const _IO_FILE ) ) . _fileno as * const _
- as usize } , 112usize , concat ! (
- "Alignment of field: " , stringify ! ( _IO_FILE ) , "::" ,
- stringify ! ( _fileno ) ));
- assert_eq! (unsafe {
- & ( * ( 0 as * const _IO_FILE ) ) . _flags2 as * const _
- as usize } , 116usize , concat ! (
- "Alignment of field: " , stringify ! ( _IO_FILE ) , "::" ,
- stringify ! ( _flags2 ) ));
- assert_eq! (unsafe {
- & ( * ( 0 as * const _IO_FILE ) ) . _old_offset as * const
- _ as usize } , 120usize , concat ! (
- "Alignment of field: " , stringify ! ( _IO_FILE ) , "::" ,
- stringify ! ( _old_offset ) ));
- assert_eq! (unsafe {
- & ( * ( 0 as * const _IO_FILE ) ) . _cur_column as * const
- _ as usize } , 128usize , concat ! (
- "Alignment of field: " , stringify ! ( _IO_FILE ) , "::" ,
- stringify ! ( _cur_column ) ));
- assert_eq! (unsafe {
- & ( * ( 0 as * const _IO_FILE ) ) . _vtable_offset as *
- const _ as usize } , 130usize , concat ! (
- "Alignment of field: " , stringify ! ( _IO_FILE ) , "::" ,
- stringify ! ( _vtable_offset ) ));
- assert_eq! (unsafe {
- & ( * ( 0 as * const _IO_FILE ) ) . _shortbuf as * const _
- as usize } , 131usize , concat ! (
- "Alignment of field: " , stringify ! ( _IO_FILE ) , "::" ,
- stringify ! ( _shortbuf ) ));
- assert_eq! (unsafe {
- & ( * ( 0 as * const _IO_FILE ) ) . _lock as * const _ as
- usize } , 136usize , concat ! (
- "Alignment of field: " , stringify ! ( _IO_FILE ) , "::" ,
- stringify ! ( _lock ) ));
- assert_eq! (unsafe {
- & ( * ( 0 as * const _IO_FILE ) ) . _offset as * const _
- as usize } , 144usize , concat ! (
- "Alignment of field: " , stringify ! ( _IO_FILE ) , "::" ,
+ "Alignment of field: " , stringify ! ( __sFILE ) , "::" ,
+ stringify ! ( _extra ) ));
+ assert_eq! (unsafe {
+ & ( * ( 0 as * const __sFILE ) ) . _ur as * const _ as
+ usize } , 112usize , concat ! (
+ "Alignment of field: " , stringify ! ( __sFILE ) , "::" ,
+ stringify ! ( _ur ) ));
+ assert_eq! (unsafe {
+ & ( * ( 0 as * const __sFILE ) ) . _ubuf as * const _ as
+ usize } , 116usize , concat ! (
+ "Alignment of field: " , stringify ! ( __sFILE ) , "::" ,
+ stringify ! ( _ubuf ) ));
+ assert_eq! (unsafe {
+ & ( * ( 0 as * const __sFILE ) ) . _nbuf as * const _ as
+ usize } , 119usize , concat ! (
+ "Alignment of field: " , stringify ! ( __sFILE ) , "::" ,
+ stringify ! ( _nbuf ) ));
+ assert_eq! (unsafe {
+ & ( * ( 0 as * const __sFILE ) ) . _lb as * const _ as
+ usize } , 120usize , concat ! (
+ "Alignment of field: " , stringify ! ( __sFILE ) , "::" ,
+ stringify ! ( _lb ) ));
+ assert_eq! (unsafe {
+ & ( * ( 0 as * const __sFILE ) ) . _blksize as * const _
+ as usize } , 136usize , concat ! (
+ "Alignment of field: " , stringify ! ( __sFILE ) , "::" ,
+ stringify ! ( _blksize ) ));
+ assert_eq! (unsafe {
+ & ( * ( 0 as * const __sFILE ) ) . _offset as * const _ as
+ usize } , 144usize , concat ! (
+ "Alignment of field: " , stringify ! ( __sFILE ) , "::" ,
stringify ! ( _offset ) ));
- assert_eq! (unsafe {
- & ( * ( 0 as * const _IO_FILE ) ) . __pad1 as * const _ as
- usize } , 152usize , concat ! (
- "Alignment of field: " , stringify ! ( _IO_FILE ) , "::" ,
- stringify ! ( __pad1 ) ));
- assert_eq! (unsafe {
- & ( * ( 0 as * const _IO_FILE ) ) . __pad2 as * const _ as
- usize } , 160usize , concat ! (
- "Alignment of field: " , stringify ! ( _IO_FILE ) , "::" ,
- stringify ! ( __pad2 ) ));
- assert_eq! (unsafe {
- & ( * ( 0 as * const _IO_FILE ) ) . __pad3 as * const _ as
- usize } , 168usize , concat ! (
- "Alignment of field: " , stringify ! ( _IO_FILE ) , "::" ,
- stringify ! ( __pad3 ) ));
- assert_eq! (unsafe {
- & ( * ( 0 as * const _IO_FILE ) ) . __pad4 as * const _ as
- usize } , 176usize , concat ! (
- "Alignment of field: " , stringify ! ( _IO_FILE ) , "::" ,
- stringify ! ( __pad4 ) ));
- assert_eq! (unsafe {
- & ( * ( 0 as * const _IO_FILE ) ) . __pad5 as * const _ as
- usize } , 184usize , concat ! (
- "Alignment of field: " , stringify ! ( _IO_FILE ) , "::" ,
- stringify ! ( __pad5 ) ));
- assert_eq! (unsafe {
- & ( * ( 0 as * const _IO_FILE ) ) . _mode as * const _ as
- usize } , 192usize , concat ! (
- "Alignment of field: " , stringify ! ( _IO_FILE ) , "::" ,
- stringify ! ( _mode ) ));
- assert_eq! (unsafe {
- & ( * ( 0 as * const _IO_FILE ) ) . _unused2 as * const _
- as usize } , 196usize , concat ! (
- "Alignment of field: " , stringify ! ( _IO_FILE ) , "::" ,
- stringify ! ( _unused2 ) ));
- }
- impl Clone for _IO_FILE {
- fn clone(&self) -> Self { *self }
- }
- pub type FILE = root::_IO_FILE;
- pub type va_list = root::__builtin_va_list;
- pub type _IO_lock_t = ::std::os::raw::c_void;
- #[repr(C)]
- #[derive(Debug, Copy)]
- pub struct _IO_marker {
- pub _next: *mut root::_IO_marker,
- pub _sbuf: *mut root::_IO_FILE,
- pub _pos: ::std::os::raw::c_int,
}
- #[test]
- fn bindgen_test_layout__IO_marker() {
- assert_eq!(::std::mem::size_of::<_IO_marker>() , 24usize , concat ! (
- "Size of: " , stringify ! ( _IO_marker ) ));
- assert_eq! (::std::mem::align_of::<_IO_marker>() , 8usize , concat ! (
- "Alignment of " , stringify ! ( _IO_marker ) ));
- assert_eq! (unsafe {
- & ( * ( 0 as * const _IO_marker ) ) . _next as * const _
- as usize } , 0usize , concat ! (
- "Alignment of field: " , stringify ! ( _IO_marker ) , "::"
- , stringify ! ( _next ) ));
- assert_eq! (unsafe {
- & ( * ( 0 as * const _IO_marker ) ) . _sbuf as * const _
- as usize } , 8usize , concat ! (
- "Alignment of field: " , stringify ! ( _IO_marker ) , "::"
- , stringify ! ( _sbuf ) ));
- assert_eq! (unsafe {
- & ( * ( 0 as * const _IO_marker ) ) . _pos as * const _ as
- usize } , 16usize , concat ! (
- "Alignment of field: " , stringify ! ( _IO_marker ) , "::"
- , stringify ! ( _pos ) ));
- }
- impl Clone for _IO_marker {
+ impl Clone for __sFILE {
fn clone(&self) -> Self { *self }
}
+ pub type FILE = root::__sFILE;
/**
* MozRefCountType is Mozilla's reference count type.
*
@@ -8158,6 +8166,7 @@ pub mod root {
NS_ERROR_UNSAFE_CONTENT_TYPE = 2152398922,
NS_ERROR_REMOTE_XUL = 2152398923,
NS_ERROR_LOAD_SHOWED_ERRORPAGE = 2152398925,
+ NS_ERROR_DOCSHELL_DYING = 2152398926,
NS_ERROR_FTP_LOGIN = 2152398869,
NS_ERROR_FTP_CWD = 2152398870,
NS_ERROR_FTP_PASV = 2152398871,
@@ -8305,25 +8314,22 @@ pub mod root {
NS_ERROR_DOM_BAD_URI = 2152924148,
NS_ERROR_DOM_RETVAL_UNDEFINED = 2152924149,
NS_ERROR_DOM_QUOTA_REACHED = 2152924150,
- NS_ERROR_DOM_JS_EXCEPTION = 2152924151,
- NS_ERROR_UNCATCHABLE_EXCEPTION = 2152924152,
- NS_ERROR_DOM_DOMEXCEPTION = 2152924153,
- NS_ERROR_DOM_EXCEPTION_ON_JSCONTEXT = 2152924154,
- NS_ERROR_DOM_MALFORMED_URI = 2152924155,
- NS_ERROR_DOM_INVALID_HEADER_NAME = 2152924156,
- NS_ERROR_DOM_INVALID_STATE_XHR_HAS_INVALID_CONTEXT = 2152924157,
- NS_ERROR_DOM_INVALID_STATE_XHR_MUST_BE_OPENED = 2152924158,
- NS_ERROR_DOM_INVALID_STATE_XHR_MUST_NOT_BE_SENDING = 2152924159,
+ NS_ERROR_UNCATCHABLE_EXCEPTION = 2152924151,
+ NS_ERROR_DOM_MALFORMED_URI = 2152924152,
+ NS_ERROR_DOM_INVALID_HEADER_NAME = 2152924153,
+ NS_ERROR_DOM_INVALID_STATE_XHR_HAS_INVALID_CONTEXT = 2152924154,
+ NS_ERROR_DOM_INVALID_STATE_XHR_MUST_BE_OPENED = 2152924155,
+ NS_ERROR_DOM_INVALID_STATE_XHR_MUST_NOT_BE_SENDING = 2152924156,
NS_ERROR_DOM_INVALID_STATE_XHR_MUST_NOT_BE_LOADING_OR_DONE =
- 2152924160,
+ 2152924157,
NS_ERROR_DOM_INVALID_STATE_XHR_HAS_WRONG_RESPONSETYPE_FOR_RESPONSEXML
- = 2152924161,
+ = 2152924158,
NS_ERROR_DOM_INVALID_STATE_XHR_HAS_WRONG_RESPONSETYPE_FOR_RESPONSETEXT
- = 2152924162,
+ = 2152924159,
NS_ERROR_DOM_INVALID_STATE_XHR_CHUNKED_RESPONSETYPES_UNSUPPORTED_FOR_SYNC
- = 2152924163,
+ = 2152924160,
NS_ERROR_DOM_INVALID_ACCESS_XHR_TIMEOUT_AND_RESPONSETYPE_UNSUPPORTED_FOR_SYNC
- = 2152924164,
+ = 2152924161,
NS_SUCCESS_DOM_NO_OPERATION = 5439489,
NS_SUCCESS_DOM_SCRIPT_EVALUATION_THREW = 5439490,
NS_SUCCESS_DOM_SCRIPT_EVALUATION_THREW_UNCATCHABLE = 5439491,
@@ -8546,6 +8552,11 @@ pub mod root {
NS_ERROR_UC_UPDATE_WRONG_REMOVAL_INDICES = 2154758148,
NS_ERROR_UC_UPDATE_CHECKSUM_MISMATCH = 2154758149,
NS_ERROR_UC_UPDATE_MISSING_CHECKSUM = 2154758150,
+ NS_ERROR_INTERNAL_ERRORRESULT_JS_EXCEPTION = 2154823681,
+ NS_ERROR_INTERNAL_ERRORRESULT_DOMEXCEPTION = 2154823682,
+ NS_ERROR_INTERNAL_ERRORRESULT_EXCEPTION_ON_JSCONTEXT = 2154823683,
+ NS_ERROR_INTERNAL_ERRORRESULT_TYPEERROR = 2154823684,
+ NS_ERROR_INTERNAL_ERRORRESULT_RANGEERROR = 2154823685,
NS_ERROR_DOWNLOAD_COMPLETE = 2155347969,
NS_ERROR_DOWNLOAD_NOT_PARTIAL = 2155347970,
NS_ERROR_UNORM_MOREOUTPUT = 2155348001,
@@ -9112,6 +9123,29 @@ pub mod root {
#[repr(i32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum TenuredHeap__bindgen_ty_1 { maskBits = 0, }
+ #[repr(C)]
+ #[derive(Debug, Copy)]
+ pub struct ConstUTF8CharsZ {
+ pub data_: *const ::std::os::raw::c_char,
+ }
+ pub type ConstUTF8CharsZ_CharT = ::std::os::raw::c_uchar;
+ #[test]
+ fn bindgen_test_layout_ConstUTF8CharsZ() {
+ assert_eq!(::std::mem::size_of::<ConstUTF8CharsZ>() , 8usize ,
+ concat ! (
+ "Size of: " , stringify ! ( ConstUTF8CharsZ ) ));
+ assert_eq! (::std::mem::align_of::<ConstUTF8CharsZ>() , 8usize ,
+ concat ! (
+ "Alignment of " , stringify ! ( ConstUTF8CharsZ ) ));
+ assert_eq! (unsafe {
+ & ( * ( 0 as * const ConstUTF8CharsZ ) ) . data_ as *
+ const _ as usize } , 0usize , concat ! (
+ "Alignment of field: " , stringify ! ( ConstUTF8CharsZ
+ ) , "::" , stringify ! ( data_ ) ));
+ }
+ impl Clone for ConstUTF8CharsZ {
+ fn clone(&self) -> Self { *self }
+ }
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
@@ -9160,6 +9194,24 @@ pub mod root {
pub struct Statistics([u8; 0]);
}
#[repr(C)]
+ #[derive(Debug, Copy)]
+ pub struct SystemAllocPolicy {
+ pub _address: u8,
+ }
+ #[test]
+ fn bindgen_test_layout_SystemAllocPolicy() {
+ assert_eq!(::std::mem::size_of::<SystemAllocPolicy>() , 1usize ,
+ concat ! (
+ "Size of: " , stringify ! ( SystemAllocPolicy ) ));
+ assert_eq! (::std::mem::align_of::<SystemAllocPolicy>() , 1usize ,
+ concat ! (
+ "Alignment of " , stringify ! ( SystemAllocPolicy )
+ ));
+ }
+ impl Clone for SystemAllocPolicy {
+ fn clone(&self) -> Self { *self }
+ }
+ #[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct WrappedPtrOperations<Element, Wrapper> {
pub _address: u8,
@@ -9788,22 +9840,6 @@ pub mod root {
impl Clone for nsCycleCollectingAutoRefCnt {
fn clone(&self) -> Self { *self }
}
- pub type PRUint32 = ::std::os::raw::c_uint;
- pub type PRInt32 = ::std::os::raw::c_int;
- pub type PRInt64 = ::std::os::raw::c_long;
- pub type PRIntn = ::std::os::raw::c_int;
- pub type PRUintn = ::std::os::raw::c_uint;
- /************************************************************************
-** TYPES: PRSize
-** DESCRIPTION:
-** A type for representing the size of objects.
-************************************************************************/
- pub type PRSize = usize;
- #[repr(i32)]
- #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
- pub enum PRStatus { PR_FAILURE = -1, PR_SUCCESS = 0, }
- pub type PRUword = ::std::os::raw::c_ulong;
- pub type PRTime = root::PRInt64;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct nsCharTraits<CharT> {
@@ -10049,6 +10085,20 @@ pub mod root {
"Alignment of field: " , stringify ! ( nsFixedString ) ,
"::" , stringify ! ( mFixedBuf ) ));
}
+ pub type PRUint32 = ::std::os::raw::c_uint;
+ pub type PRInt32 = ::std::os::raw::c_int;
+ pub type PRIntn = ::std::os::raw::c_int;
+ pub type PRUintn = ::std::os::raw::c_uint;
+ /************************************************************************
+** TYPES: PRSize
+** DESCRIPTION:
+** A type for representing the size of objects.
+************************************************************************/
+ pub type PRSize = usize;
+ #[repr(i32)]
+ #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+ pub enum PRStatus { PR_FAILURE = -1, PR_SUCCESS = 0, }
+ pub type PRUword = ::std::os::raw::c_ulong;
#[repr(C)]
#[derive(Debug, Copy)]
pub struct PLHashEntry {
@@ -10215,6 +10265,7 @@ pub mod root {
impl Clone for PLHashAllocOps {
fn clone(&self) -> Self { *self }
}
+ pub type PRTime = i64;
/**
* A "unique identifier". This is modeled after OSF DCE UUIDs.
*/
@@ -10927,6 +10978,158 @@ pub mod root {
}
#[repr(C)]
#[derive(Debug, Copy)]
+ pub struct JSErrorFormatString {
+ /** The error message name in ASCII. */
+ pub name: *const ::std::os::raw::c_char,
+ /** The error format string in ASCII. */
+ pub format: *const ::std::os::raw::c_char,
+ /** The number of arguments to expand in the formatted error message. */
+ pub argCount: u16,
+ /** One of the JSExnType constants above. */
+ pub exnType: i16,
+ }
+ #[test]
+ fn bindgen_test_layout_JSErrorFormatString() {
+ assert_eq!(::std::mem::size_of::<JSErrorFormatString>() , 24usize ,
+ concat ! (
+ "Size of: " , stringify ! ( JSErrorFormatString ) ));
+ assert_eq! (::std::mem::align_of::<JSErrorFormatString>() , 8usize ,
+ concat ! (
+ "Alignment of " , stringify ! ( JSErrorFormatString ) ));
+ assert_eq! (unsafe {
+ & ( * ( 0 as * const JSErrorFormatString ) ) . name as *
+ const _ as usize } , 0usize , concat ! (
+ "Alignment of field: " , stringify ! ( JSErrorFormatString
+ ) , "::" , stringify ! ( name ) ));
+ assert_eq! (unsafe {
+ & ( * ( 0 as * const JSErrorFormatString ) ) . format as *
+ const _ as usize } , 8usize , concat ! (
+ "Alignment of field: " , stringify ! ( JSErrorFormatString
+ ) , "::" , stringify ! ( format ) ));
+ assert_eq! (unsafe {
+ & ( * ( 0 as * const JSErrorFormatString ) ) . argCount as
+ * const _ as usize } , 16usize , concat ! (
+ "Alignment of field: " , stringify ! ( JSErrorFormatString
+ ) , "::" , stringify ! ( argCount ) ));
+ assert_eq! (unsafe {
+ & ( * ( 0 as * const JSErrorFormatString ) ) . exnType as
+ * const _ as usize } , 18usize , concat ! (
+ "Alignment of field: " , stringify ! ( JSErrorFormatString
+ ) , "::" , stringify ! ( exnType ) ));
+ }
+ impl Clone for JSErrorFormatString {
+ fn clone(&self) -> Self { *self }
+ }
+ pub type JSErrorCallback =
+ ::std::option::Option<unsafe extern "C" fn(userRef:
+ *mut ::std::os::raw::c_void,
+ errorNumber:
+ ::std::os::raw::c_uint)
+ -> *const root::JSErrorFormatString>;
+ /**
+ * Base class that implements parts shared by JSErrorReport and
+ * JSErrorNotes::Note.
+ */
+ #[repr(C)]
+ #[derive(Debug)]
+ pub struct JSErrorBase {
+ pub message_: root::JS::ConstUTF8CharsZ,
+ pub filename: *const ::std::os::raw::c_char,
+ pub lineno: ::std::os::raw::c_uint,
+ pub column: ::std::os::raw::c_uint,
+ pub errorNumber: ::std::os::raw::c_uint,
+ pub _bitfield_1: u8,
+ pub __bindgen_padding_0: [u8; 3usize],
+ }
+ #[test]
+ fn bindgen_test_layout_JSErrorBase() {
+ assert_eq!(::std::mem::size_of::<JSErrorBase>() , 32usize , concat ! (
+ "Size of: " , stringify ! ( JSErrorBase ) ));
+ assert_eq! (::std::mem::align_of::<JSErrorBase>() , 8usize , concat !
+ ( "Alignment of " , stringify ! ( JSErrorBase ) ));
+ assert_eq! (unsafe {
+ & ( * ( 0 as * const JSErrorBase ) ) . message_ as * const
+ _ as usize } , 0usize , concat ! (
+ "Alignment of field: " , stringify ! ( JSErrorBase ) ,
+ "::" , stringify ! ( message_ ) ));
+ assert_eq! (unsafe {
+ & ( * ( 0 as * const JSErrorBase ) ) . filename as * const
+ _ as usize } , 8usize , concat ! (
+ "Alignment of field: " , stringify ! ( JSErrorBase ) ,
+ "::" , stringify ! ( filename ) ));
+ assert_eq! (unsafe {
+ & ( * ( 0 as * const JSErrorBase ) ) . lineno as * const _
+ as usize } , 16usize , concat ! (
+ "Alignment of field: " , stringify ! ( JSErrorBase ) ,
+ "::" , stringify ! ( lineno ) ));
+ assert_eq! (unsafe {
+ & ( * ( 0 as * const JSErrorBase ) ) . column as * const _
+ as usize } , 20usize , concat ! (
+ "Alignment of field: " , stringify ! ( JSErrorBase ) ,
+ "::" , stringify ! ( column ) ));
+ assert_eq! (unsafe {
+ & ( * ( 0 as * const JSErrorBase ) ) . errorNumber as *
+ const _ as usize } , 24usize , concat ! (
+ "Alignment of field: " , stringify ! ( JSErrorBase ) ,
+ "::" , stringify ! ( errorNumber ) ));
+ }
+ /**
+ * Notes associated with JSErrorReport.
+ */
+ #[repr(C)]
+ #[derive(Debug)]
+ pub struct JSErrorNotes {
+ pub notes_: [u64; 6usize],
+ }
+ #[repr(C)]
+ #[derive(Debug)]
+ pub struct JSErrorNotes_Note {
+ pub _base: root::JSErrorBase,
+ }
+ #[test]
+ fn bindgen_test_layout_JSErrorNotes_Note() {
+ assert_eq!(::std::mem::size_of::<JSErrorNotes_Note>() , 32usize ,
+ concat ! ( "Size of: " , stringify ! ( JSErrorNotes_Note )
+ ));
+ assert_eq! (::std::mem::align_of::<JSErrorNotes_Note>() , 8usize ,
+ concat ! (
+ "Alignment of " , stringify ! ( JSErrorNotes_Note ) ));
+ }
+ #[repr(C)]
+ #[derive(Debug)]
+ pub struct JSErrorNotes_iterator {
+ pub note_: *mut root::mozilla::UniquePtr<root::JSErrorNotes_Note,
+ root::JS::DeletePolicy<root::JSErrorNotes_Note>>,
+ }
+ #[test]
+ fn bindgen_test_layout_JSErrorNotes_iterator() {
+ assert_eq!(::std::mem::size_of::<JSErrorNotes_iterator>() , 8usize ,
+ concat ! (
+ "Size of: " , stringify ! ( JSErrorNotes_iterator ) ));
+ assert_eq! (::std::mem::align_of::<JSErrorNotes_iterator>() , 8usize ,
+ concat ! (
+ "Alignment of " , stringify ! ( JSErrorNotes_iterator )
+ ));
+ assert_eq! (unsafe {
+ & ( * ( 0 as * const JSErrorNotes_iterator ) ) . note_ as
+ * const _ as usize } , 0usize , concat ! (
+ "Alignment of field: " , stringify ! (
+ JSErrorNotes_iterator ) , "::" , stringify ! ( note_ ) ));
+ }
+ #[test]
+ fn bindgen_test_layout_JSErrorNotes() {
+ assert_eq!(::std::mem::size_of::<JSErrorNotes>() , 48usize , concat !
+ ( "Size of: " , stringify ! ( JSErrorNotes ) ));
+ assert_eq! (::std::mem::align_of::<JSErrorNotes>() , 8usize , concat !
+ ( "Alignment of " , stringify ! ( JSErrorNotes ) ));
+ assert_eq! (unsafe {
+ & ( * ( 0 as * const JSErrorNotes ) ) . notes_ as * const
+ _ as usize } , 0usize , concat ! (
+ "Alignment of field: " , stringify ! ( JSErrorNotes ) ,
+ "::" , stringify ! ( notes_ ) ));
+ }
+ #[repr(C)]
+ #[derive(Debug, Copy)]
pub struct nsIEventTarget {
pub _base: root::nsISupports,
}
@@ -11484,14 +11687,6 @@ pub mod root {
eDetached = 2,
eAttributeChanged = 3,
}
- #[repr(i32)]
- #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
- pub enum nsIDocument_FlashClassification {
- Unclassified = 0,
- Unknown = 1,
- Allowed = 2,
- Denied = 3,
- }
#[repr(u32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum nsIDocument_Type {
@@ -12014,7 +12209,7 @@ pub mod root {
pub mEffectCompositor: root::RefPtr<root::mozilla::EffectCompositor>,
pub mTransitionManager: root::RefPtr<root::nsTransitionManager>,
pub mAnimationManager: root::RefPtr<root::nsAnimationManager>,
- pub mRestyleManager: root::mozilla::RestyleManagerHandle_RefPtr,
+ pub mRestyleManager: root::RefPtr<root::mozilla::RestyleManager>,
pub mCounterStyleManager: root::RefPtr<root::mozilla::CounterStyleManager>,
pub mMedium: *mut root::nsIAtom,
pub mMediaEmulated: root::nsCOMPtr<root::nsIAtom>,
@@ -12034,8 +12229,7 @@ pub mod root {
pub mPrintSettings: root::nsCOMPtr<root::nsIPrintSettings>,
pub mPrefChangedTimer: root::nsCOMPtr<root::nsITimer>,
pub mPropertyTable: root::nsPresContext_FramePropertyTable,
- pub mInvalidateRequestsSinceLastPaint: root::nsInvalidateRequestList,
- pub mUndeliveredInvalidateRequestsBeforeLastPaint: root::nsInvalidateRequestList,
+ pub mTransactions: [u64; 10usize],
pub mTextPerf: root::nsAutoPtr<root::gfxTextPerfMetrics>,
pub mMissingFonts: root::nsAutoPtr<root::gfxMissingFontRecorder>,
pub mVisibleArea: root::nsRect,
@@ -12062,7 +12256,7 @@ pub mod root {
pub mFramesConstructed: u64,
pub mFramesReflowed: u64,
pub mReflowStartTime: root::mozilla::TimeStamp,
- pub mFirstPaintTime: root::mozilla::TimeStamp,
+ pub mFirstNonBlankPaintTime: root::mozilla::TimeStamp,
pub mFirstClickTime: root::mozilla::TimeStamp,
pub mFirstKeyTime: root::mozilla::TimeStamp,
pub mFirstMouseMoveTime: root::mozilla::TimeStamp,
@@ -12158,6 +12352,39 @@ pub mod root {
nsPresContext_InterruptPreventer ) , "::" , stringify ! (
mHasPendingInterrupt ) ));
}
+ #[repr(C)]
+ #[derive(Debug)]
+ pub struct nsPresContext_TransactionInvalidations {
+ pub mTransactionId: u64,
+ pub mInvalidations: root::nsTArray<root::nsRect>,
+ }
+ #[test]
+ fn bindgen_test_layout_nsPresContext_TransactionInvalidations() {
+ assert_eq!(::std::mem::size_of::<nsPresContext_TransactionInvalidations>()
+ , 16usize , concat ! (
+ "Size of: " , stringify ! (
+ nsPresContext_TransactionInvalidations ) ));
+ assert_eq! (::std::mem::align_of::<nsPresContext_TransactionInvalidations>()
+ , 8usize , concat ! (
+ "Alignment of " , stringify ! (
+ nsPresContext_TransactionInvalidations ) ));
+ assert_eq! (unsafe {
+ & (
+ * ( 0 as * const nsPresContext_TransactionInvalidations )
+ ) . mTransactionId as * const _ as usize } , 0usize ,
+ concat ! (
+ "Alignment of field: " , stringify ! (
+ nsPresContext_TransactionInvalidations ) , "::" ,
+ stringify ! ( mTransactionId ) ));
+ assert_eq! (unsafe {
+ & (
+ * ( 0 as * const nsPresContext_TransactionInvalidations )
+ ) . mInvalidations as * const _ as usize } , 8usize ,
+ concat ! (
+ "Alignment of field: " , stringify ! (
+ nsPresContext_TransactionInvalidations ) , "::" ,
+ stringify ! ( mInvalidations ) ));
+ }
extern "C" {
#[link_name = "_ZN13nsPresContext21_cycleCollectorGlobalE"]
pub static mut nsPresContext__cycleCollectorGlobal:
@@ -12165,7 +12392,7 @@ pub mod root {
}
#[test]
fn bindgen_test_layout_nsPresContext() {
- assert_eq!(::std::mem::size_of::<nsPresContext>() , 1296usize , concat
+ assert_eq!(::std::mem::size_of::<nsPresContext>() , 1360usize , concat
! ( "Size of: " , stringify ! ( nsPresContext ) ));
assert_eq! (::std::mem::align_of::<nsPresContext>() , 8usize , concat
! ( "Alignment of " , stringify ! ( nsPresContext ) ));
@@ -12332,210 +12559,202 @@ pub mod root {
"Alignment of field: " , stringify ! ( nsPresContext ) ,
"::" , stringify ! ( mPropertyTable ) ));
assert_eq! (unsafe {
- & ( * ( 0 as * const nsPresContext ) ) .
- mInvalidateRequestsSinceLastPaint as * const _ as usize }
- , 304usize , concat ! (
- "Alignment of field: " , stringify ! ( nsPresContext ) ,
- "::" , stringify ! ( mInvalidateRequestsSinceLastPaint )
- ));
- assert_eq! (unsafe {
- & ( * ( 0 as * const nsPresContext ) ) .
- mUndeliveredInvalidateRequestsBeforeLastPaint as * const _
- as usize } , 312usize , concat ! (
+ & ( * ( 0 as * const nsPresContext ) ) . mTransactions as
+ * const _ as usize } , 304usize , concat ! (
"Alignment of field: " , stringify ! ( nsPresContext ) ,
- "::" , stringify ! (
- mUndeliveredInvalidateRequestsBeforeLastPaint ) ));
+ "::" , stringify ! ( mTransactions ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const nsPresContext ) ) . mTextPerf as *
- const _ as usize } , 320usize , concat ! (
+ const _ as usize } , 384usize , concat ! (
"Alignment of field: " , stringify ! ( nsPresContext ) ,
"::" , stringify ! ( mTextPerf ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const nsPresContext ) ) . mMissingFonts as
- * const _ as usize } , 328usize , concat ! (
+ * const _ as usize } , 392usize , concat ! (
"Alignment of field: " , stringify ! ( nsPresContext ) ,
"::" , stringify ! ( mMissingFonts ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const nsPresContext ) ) . mVisibleArea as *
- const _ as usize } , 336usize , concat ! (
+ const _ as usize } , 400usize , concat ! (
"Alignment of field: " , stringify ! ( nsPresContext ) ,
"::" , stringify ! ( mVisibleArea ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const nsPresContext ) ) . mPageSize as *
- const _ as usize } , 352usize , concat ! (
+ const _ as usize } , 416usize , concat ! (
"Alignment of field: " , stringify ! ( nsPresContext ) ,
"::" , stringify ! ( mPageSize ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const nsPresContext ) ) . mPageScale as *
- const _ as usize } , 360usize , concat ! (
+ const _ as usize } , 424usize , concat ! (
"Alignment of field: " , stringify ! ( nsPresContext ) ,
"::" , stringify ! ( mPageScale ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const nsPresContext ) ) . mPPScale as *
- const _ as usize } , 364usize , concat ! (
+ const _ as usize } , 428usize , concat ! (
"Alignment of field: " , stringify ! ( nsPresContext ) ,
"::" , stringify ! ( mPPScale ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const nsPresContext ) ) . mDefaultColor as
- * const _ as usize } , 368usize , concat ! (
+ * const _ as usize } , 432usize , concat ! (
"Alignment of field: " , stringify ! ( nsPresContext ) ,
"::" , stringify ! ( mDefaultColor ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const nsPresContext ) ) . mBackgroundColor
- as * const _ as usize } , 372usize , concat ! (
+ as * const _ as usize } , 436usize , concat ! (
"Alignment of field: " , stringify ! ( nsPresContext ) ,
"::" , stringify ! ( mBackgroundColor ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const nsPresContext ) ) . mLinkColor as *
- const _ as usize } , 376usize , concat ! (
+ const _ as usize } , 440usize , concat ! (
"Alignment of field: " , stringify ! ( nsPresContext ) ,
"::" , stringify ! ( mLinkColor ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const nsPresContext ) ) . mActiveLinkColor
- as * const _ as usize } , 380usize , concat ! (
+ as * const _ as usize } , 444usize , concat ! (
"Alignment of field: " , stringify ! ( nsPresContext ) ,
"::" , stringify ! ( mActiveLinkColor ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const nsPresContext ) ) . mVisitedLinkColor
- as * const _ as usize } , 384usize , concat ! (
+ as * const _ as usize } , 448usize , concat ! (
"Alignment of field: " , stringify ! ( nsPresContext ) ,
"::" , stringify ! ( mVisitedLinkColor ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const nsPresContext ) ) .
- mFocusBackgroundColor as * const _ as usize } , 388usize ,
+ mFocusBackgroundColor as * const _ as usize } , 452usize ,
concat ! (
"Alignment of field: " , stringify ! ( nsPresContext ) ,
"::" , stringify ! ( mFocusBackgroundColor ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const nsPresContext ) ) . mFocusTextColor
- as * const _ as usize } , 392usize , concat ! (
+ as * const _ as usize } , 456usize , concat ! (
"Alignment of field: " , stringify ! ( nsPresContext ) ,
"::" , stringify ! ( mFocusTextColor ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const nsPresContext ) ) . mBodyTextColor as
- * const _ as usize } , 396usize , concat ! (
+ * const _ as usize } , 460usize , concat ! (
"Alignment of field: " , stringify ! ( nsPresContext ) ,
"::" , stringify ! ( mBodyTextColor ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const nsPresContext ) ) .
- mViewportStyleScrollbar as * const _ as usize } , 400usize
+ mViewportStyleScrollbar as * const _ as usize } , 464usize
, concat ! (
"Alignment of field: " , stringify ! ( nsPresContext ) ,
"::" , stringify ! ( mViewportStyleScrollbar ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const nsPresContext ) ) . mFocusRingWidth
- as * const _ as usize } , 464usize , concat ! (
+ as * const _ as usize } , 528usize , concat ! (
"Alignment of field: " , stringify ! ( nsPresContext ) ,
"::" , stringify ! ( mFocusRingWidth ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const nsPresContext ) ) .
- mExistThrottledUpdates as * const _ as usize } , 465usize
+ mExistThrottledUpdates as * const _ as usize } , 529usize
, concat ! (
"Alignment of field: " , stringify ! ( nsPresContext ) ,
"::" , stringify ! ( mExistThrottledUpdates ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const nsPresContext ) ) .
- mImageAnimationMode as * const _ as usize } , 466usize ,
+ mImageAnimationMode as * const _ as usize } , 530usize ,
concat ! (
"Alignment of field: " , stringify ! ( nsPresContext ) ,
"::" , stringify ! ( mImageAnimationMode ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const nsPresContext ) ) .
- mImageAnimationModePref as * const _ as usize } , 468usize
+ mImageAnimationModePref as * const _ as usize } , 532usize
, concat ! (
"Alignment of field: " , stringify ! ( nsPresContext ) ,
"::" , stringify ! ( mImageAnimationModePref ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const nsPresContext ) ) .
- mLangGroupFontPrefs as * const _ as usize } , 472usize ,
+ mLangGroupFontPrefs as * const _ as usize } , 536usize ,
concat ! (
"Alignment of field: " , stringify ! ( nsPresContext ) ,
"::" , stringify ! ( mLangGroupFontPrefs ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const nsPresContext ) ) . mBorderWidthTable
- as * const _ as usize } , 1168usize , concat ! (
+ as * const _ as usize } , 1232usize , concat ! (
"Alignment of field: " , stringify ! ( nsPresContext ) ,
"::" , stringify ! ( mBorderWidthTable ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const nsPresContext ) ) .
- mInterruptChecksToSkip as * const _ as usize } , 1180usize
+ mInterruptChecksToSkip as * const _ as usize } , 1244usize
, concat ! (
"Alignment of field: " , stringify ! ( nsPresContext ) ,
"::" , stringify ! ( mInterruptChecksToSkip ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const nsPresContext ) ) . mElementsRestyled
- as * const _ as usize } , 1184usize , concat ! (
+ as * const _ as usize } , 1248usize , concat ! (
"Alignment of field: " , stringify ! ( nsPresContext ) ,
"::" , stringify ! ( mElementsRestyled ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const nsPresContext ) ) .
- mFramesConstructed as * const _ as usize } , 1192usize ,
+ mFramesConstructed as * const _ as usize } , 1256usize ,
concat ! (
"Alignment of field: " , stringify ! ( nsPresContext ) ,
"::" , stringify ! ( mFramesConstructed ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const nsPresContext ) ) . mFramesReflowed
- as * const _ as usize } , 1200usize , concat ! (
+ as * const _ as usize } , 1264usize , concat ! (
"Alignment of field: " , stringify ! ( nsPresContext ) ,
"::" , stringify ! ( mFramesReflowed ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const nsPresContext ) ) . mReflowStartTime
- as * const _ as usize } , 1208usize , concat ! (
+ as * const _ as usize } , 1272usize , concat ! (
"Alignment of field: " , stringify ! ( nsPresContext ) ,
"::" , stringify ! ( mReflowStartTime ) ));
assert_eq! (unsafe {
- & ( * ( 0 as * const nsPresContext ) ) . mFirstPaintTime
- as * const _ as usize } , 1216usize , concat ! (
+ & ( * ( 0 as * const nsPresContext ) ) .
+ mFirstNonBlankPaintTime as * const _ as usize } ,
+ 1280usize , concat ! (
"Alignment of field: " , stringify ! ( nsPresContext ) ,
- "::" , stringify ! ( mFirstPaintTime ) ));
+ "::" , stringify ! ( mFirstNonBlankPaintTime ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const nsPresContext ) ) . mFirstClickTime
- as * const _ as usize } , 1224usize , concat ! (
+ as * const _ as usize } , 1288usize , concat ! (
"Alignment of field: " , stringify ! ( nsPresContext ) ,
"::" , stringify ! ( mFirstClickTime ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const nsPresContext ) ) . mFirstKeyTime as
- * const _ as usize } , 1232usize , concat ! (
+ * const _ as usize } , 1296usize , concat ! (
"Alignment of field: " , stringify ! ( nsPresContext ) ,
"::" , stringify ! ( mFirstKeyTime ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const nsPresContext ) ) .
- mFirstMouseMoveTime as * const _ as usize } , 1240usize ,
+ mFirstMouseMoveTime as * const _ as usize } , 1304usize ,
concat ! (
"Alignment of field: " , stringify ! ( nsPresContext ) ,
"::" , stringify ! ( mFirstMouseMoveTime ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const nsPresContext ) ) . mFirstScrollTime
- as * const _ as usize } , 1248usize , concat ! (
+ as * const _ as usize } , 1312usize , concat ! (
"Alignment of field: " , stringify ! ( nsPresContext ) ,
"::" , stringify ! ( mFirstScrollTime ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const nsPresContext ) ) .
mInteractionTimeEnabled as * const _ as usize } ,
- 1256usize , concat ! (
+ 1320usize , concat ! (
"Alignment of field: " , stringify ! ( nsPresContext ) ,
"::" , stringify ! ( mInteractionTimeEnabled ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const nsPresContext ) ) .
mLastStyleUpdateForAllAnimations as * const _ as usize } ,
- 1264usize , concat ! (
+ 1328usize , concat ! (
"Alignment of field: " , stringify ! ( nsPresContext ) ,
"::" , stringify ! ( mLastStyleUpdateForAllAnimations )
));
assert_eq! (unsafe {
& ( * ( 0 as * const nsPresContext ) ) .
- mRestyleLoggingEnabled as * const _ as usize } , 1278usize
+ mRestyleLoggingEnabled as * const _ as usize } , 1342usize
, concat ! (
"Alignment of field: " , stringify ! ( nsPresContext ) ,
"::" , stringify ! ( mRestyleLoggingEnabled ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const nsPresContext ) ) . mInitialized as *
- const _ as usize } , 1279usize , concat ! (
+ const _ as usize } , 1343usize , concat ! (
"Alignment of field: " , stringify ! ( nsPresContext ) ,
"::" , stringify ! ( mInitialized ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const nsPresContext ) ) . mLayoutPhaseCount
- as * const _ as usize } , 1280usize , concat ! (
+ as * const _ as usize } , 1344usize , concat ! (
"Alignment of field: " , stringify ! ( nsPresContext ) ,
"::" , stringify ! ( mLayoutPhaseCount ) ));
}
@@ -12985,6 +13204,57 @@ pub mod root {
fn clone(&self) -> Self { *self }
}
pub type nsWeakPtr = root::nsCOMPtr<root::nsIWeakReference>;
+ pub mod xpc {
+ #[allow(unused_imports)]
+ use self::super::super::root;
+ #[repr(C)]
+ #[derive(Debug)]
+ pub struct ErrorBase {
+ pub mErrorMsg: ::nsstring::nsStringRepr,
+ pub mFileName: ::nsstring::nsStringRepr,
+ pub mLineNumber: u32,
+ pub mColumn: u32,
+ }
+ #[test]
+ fn bindgen_test_layout_ErrorBase() {
+ assert_eq!(::std::mem::size_of::<ErrorBase>() , 40usize , concat !
+ ( "Size of: " , stringify ! ( ErrorBase ) ));
+ assert_eq! (::std::mem::align_of::<ErrorBase>() , 8usize , concat
+ ! ( "Alignment of " , stringify ! ( ErrorBase ) ));
+ assert_eq! (unsafe {
+ & ( * ( 0 as * const ErrorBase ) ) . mErrorMsg as *
+ const _ as usize } , 0usize , concat ! (
+ "Alignment of field: " , stringify ! ( ErrorBase ) ,
+ "::" , stringify ! ( mErrorMsg ) ));
+ assert_eq! (unsafe {
+ & ( * ( 0 as * const ErrorBase ) ) . mFileName as *
+ const _ as usize } , 16usize , concat ! (
+ "Alignment of field: " , stringify ! ( ErrorBase ) ,
+ "::" , stringify ! ( mFileName ) ));
+ assert_eq! (unsafe {
+ & ( * ( 0 as * const ErrorBase ) ) . mLineNumber as *
+ const _ as usize } , 32usize , concat ! (
+ "Alignment of field: " , stringify ! ( ErrorBase ) ,
+ "::" , stringify ! ( mLineNumber ) ));
+ assert_eq! (unsafe {
+ & ( * ( 0 as * const ErrorBase ) ) . mColumn as *
+ const _ as usize } , 36usize , concat ! (
+ "Alignment of field: " , stringify ! ( ErrorBase ) ,
+ "::" , stringify ! ( mColumn ) ));
+ }
+ #[repr(C)]
+ #[derive(Debug)]
+ pub struct ErrorNote {
+ pub _base: root::xpc::ErrorBase,
+ }
+ #[test]
+ fn bindgen_test_layout_ErrorNote() {
+ assert_eq!(::std::mem::size_of::<ErrorNote>() , 40usize , concat !
+ ( "Size of: " , stringify ! ( ErrorNote ) ));
+ assert_eq! (::std::mem::align_of::<ErrorNote>() , 8usize , concat
+ ! ( "Alignment of " , stringify ! ( ErrorNote ) ));
+ }
+ }
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct PRLock([u8; 0]);
@@ -13382,15 +13652,15 @@ pub mod root {
ParentIsContent = 2,
NodeIsElement = 3,
ElementHasID = 4,
- ElementMayHaveStyle = 5,
- ElementHasName = 6,
- ElementMayHaveContentEditableAttr = 7,
- NodeIsCommonAncestorForRangeInSelection = 8,
- NodeIsDescendantOfCommonAncestorForRangeInSelection = 9,
- NodeIsCCMarkedRoot = 10,
- NodeIsCCBlackTree = 11,
- NodeIsPurpleRoot = 12,
- NodeHasExplicitBaseURI = 13,
+ ElementMayHaveClass = 5,
+ ElementMayHaveStyle = 6,
+ ElementHasName = 7,
+ ElementMayHaveContentEditableAttr = 8,
+ NodeIsCommonAncestorForRangeInSelection = 9,
+ NodeIsDescendantOfCommonAncestorForRangeInSelection = 10,
+ NodeIsCCMarkedRoot = 11,
+ NodeIsCCBlackTree = 12,
+ NodeIsPurpleRoot = 13,
ElementHasLockedStyleStates = 14,
ElementHasPointerLock = 15,
NodeMayHaveDOMMutationObserver = 16,
@@ -14462,7 +14732,6 @@ pub mod root {
pub mSelection: root::RefPtr<root::nsFrameSelection>,
pub mFrameManager: *mut root::nsFrameManagerBase,
pub mForwardingContainer: u64,
- pub mHiddenInvalidationObserverRefreshDriver: *mut root::nsRefreshDriver,
pub mDocAccessible: *mut root::mozilla::a11y::DocAccessible,
pub mReflowContinueTimer: root::nsCOMPtr<root::nsITimer>,
pub mDrawEventTargetFrame: *mut root::nsIFrame,
@@ -14487,6 +14756,7 @@ pub mod root {
pub mPaintingIsFrozen: bool,
pub mFontSizeInflationEnabledIsDirty: bool,
pub mIsNeverPainting: bool,
+ pub mInFlush: bool,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
@@ -14804,7 +15074,7 @@ pub mod root {
}
#[test]
fn bindgen_test_layout_nsIPresShell() {
- assert_eq!(::std::mem::size_of::<nsIPresShell>() , 416usize , concat !
+ assert_eq!(::std::mem::size_of::<nsIPresShell>() , 408usize , concat !
( "Size of: " , stringify ! ( nsIPresShell ) ));
assert_eq! (::std::mem::align_of::<nsIPresShell>() , 8usize , concat !
( "Alignment of " , stringify ! ( nsIPresShell ) ));
@@ -14855,137 +15125,135 @@ pub mod root {
"Alignment of field: " , stringify ! ( nsIPresShell ) ,
"::" , stringify ! ( mForwardingContainer ) ));
assert_eq! (unsafe {
- & ( * ( 0 as * const nsIPresShell ) ) .
- mHiddenInvalidationObserverRefreshDriver as * const _ as
- usize } , 224usize , concat ! (
- "Alignment of field: " , stringify ! ( nsIPresShell ) ,
- "::" , stringify ! (
- mHiddenInvalidationObserverRefreshDriver ) ));
- assert_eq! (unsafe {
& ( * ( 0 as * const nsIPresShell ) ) . mDocAccessible as
- * const _ as usize } , 232usize , concat ! (
+ * const _ as usize } , 224usize , concat ! (
"Alignment of field: " , stringify ! ( nsIPresShell ) ,
"::" , stringify ! ( mDocAccessible ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const nsIPresShell ) ) .
- mReflowContinueTimer as * const _ as usize } , 240usize ,
+ mReflowContinueTimer as * const _ as usize } , 232usize ,
concat ! (
"Alignment of field: " , stringify ! ( nsIPresShell ) ,
"::" , stringify ! ( mReflowContinueTimer ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const nsIPresShell ) ) .
- mDrawEventTargetFrame as * const _ as usize } , 248usize ,
+ mDrawEventTargetFrame as * const _ as usize } , 240usize ,
concat ! (
"Alignment of field: " , stringify ! ( nsIPresShell ) ,
"::" , stringify ! ( mDrawEventTargetFrame ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const nsIPresShell ) ) . mAllocatedPointers
- as * const _ as usize } , 256usize , concat ! (
+ as * const _ as usize } , 248usize , concat ! (
"Alignment of field: " , stringify ! ( nsIPresShell ) ,
"::" , stringify ! ( mAllocatedPointers ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const nsIPresShell ) ) . mPaintCount as *
- const _ as usize } , 304usize , concat ! (
+ const _ as usize } , 296usize , concat ! (
"Alignment of field: " , stringify ! ( nsIPresShell ) ,
"::" , stringify ! ( mPaintCount ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const nsIPresShell ) ) .
mScrollPositionClampingScrollPortSize as * const _ as
- usize } , 312usize , concat ! (
+ usize } , 304usize , concat ! (
"Alignment of field: " , stringify ! ( nsIPresShell ) ,
"::" , stringify ! ( mScrollPositionClampingScrollPortSize
) ));
assert_eq! (unsafe {
& ( * ( 0 as * const nsIPresShell ) ) . mWeakFrames as *
- const _ as usize } , 320usize , concat ! (
+ const _ as usize } , 312usize , concat ! (
"Alignment of field: " , stringify ! ( nsIPresShell ) ,
"::" , stringify ! ( mWeakFrames ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const nsIPresShell ) ) .
- mCanvasBackgroundColor as * const _ as usize } , 328usize
+ mCanvasBackgroundColor as * const _ as usize } , 320usize
, concat ! (
"Alignment of field: " , stringify ! ( nsIPresShell ) ,
"::" , stringify ! ( mCanvasBackgroundColor ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const nsIPresShell ) ) . mResolution as *
- const _ as usize } , 336usize , concat ! (
+ const _ as usize } , 328usize , concat ! (
"Alignment of field: " , stringify ! ( nsIPresShell ) ,
"::" , stringify ! ( mResolution ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const nsIPresShell ) ) . mSelectionFlags as
- * const _ as usize } , 352usize , concat ! (
+ * const _ as usize } , 344usize , concat ! (
"Alignment of field: " , stringify ! ( nsIPresShell ) ,
"::" , stringify ! ( mSelectionFlags ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const nsIPresShell ) ) . mRenderFlags as *
- const _ as usize } , 354usize , concat ! (
+ const _ as usize } , 346usize , concat ! (
"Alignment of field: " , stringify ! ( nsIPresShell ) ,
"::" , stringify ! ( mRenderFlags ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const nsIPresShell ) ) . mPresShellId as *
- const _ as usize } , 360usize , concat ! (
+ const _ as usize } , 352usize , concat ! (
"Alignment of field: " , stringify ! ( nsIPresShell ) ,
"::" , stringify ! ( mPresShellId ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const nsIPresShell ) ) .
- mChangedScopeStyleRoots as * const _ as usize } , 368usize
+ mChangedScopeStyleRoots as * const _ as usize } , 360usize
, concat ! (
"Alignment of field: " , stringify ! ( nsIPresShell ) ,
"::" , stringify ! ( mChangedScopeStyleRoots ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const nsIPresShell ) ) .
mFontSizeInflationEmPerLine as * const _ as usize } ,
- 392usize , concat ! (
+ 384usize , concat ! (
"Alignment of field: " , stringify ! ( nsIPresShell ) ,
"::" , stringify ! ( mFontSizeInflationEmPerLine ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const nsIPresShell ) ) .
mFontSizeInflationMinTwips as * const _ as usize } ,
- 396usize , concat ! (
+ 388usize , concat ! (
"Alignment of field: " , stringify ! ( nsIPresShell ) ,
"::" , stringify ! ( mFontSizeInflationMinTwips ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const nsIPresShell ) ) .
mFontSizeInflationLineThreshold as * const _ as usize } ,
- 400usize , concat ! (
+ 392usize , concat ! (
"Alignment of field: " , stringify ! ( nsIPresShell ) ,
"::" , stringify ! ( mFontSizeInflationLineThreshold ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const nsIPresShell ) ) .
mFontSizeInflationForceEnabled as * const _ as usize } ,
- 404usize , concat ! (
+ 396usize , concat ! (
"Alignment of field: " , stringify ! ( nsIPresShell ) ,
"::" , stringify ! ( mFontSizeInflationForceEnabled ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const nsIPresShell ) ) .
mFontSizeInflationDisabledInMasterProcess as * const _ as
- usize } , 405usize , concat ! (
+ usize } , 397usize , concat ! (
"Alignment of field: " , stringify ! ( nsIPresShell ) ,
"::" , stringify ! (
mFontSizeInflationDisabledInMasterProcess ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const nsIPresShell ) ) .
mFontSizeInflationEnabled as * const _ as usize } ,
- 406usize , concat ! (
+ 398usize , concat ! (
"Alignment of field: " , stringify ! ( nsIPresShell ) ,
"::" , stringify ! ( mFontSizeInflationEnabled ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const nsIPresShell ) ) . mPaintingIsFrozen
- as * const _ as usize } , 407usize , concat ! (
+ as * const _ as usize } , 399usize , concat ! (
"Alignment of field: " , stringify ! ( nsIPresShell ) ,
"::" , stringify ! ( mPaintingIsFrozen ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const nsIPresShell ) ) .
mFontSizeInflationEnabledIsDirty as * const _ as usize } ,
- 408usize , concat ! (
+ 400usize , concat ! (
"Alignment of field: " , stringify ! ( nsIPresShell ) ,
"::" , stringify ! ( mFontSizeInflationEnabledIsDirty )
));
assert_eq! (unsafe {
& ( * ( 0 as * const nsIPresShell ) ) . mIsNeverPainting
- as * const _ as usize } , 409usize , concat ! (
+ as * const _ as usize } , 401usize , concat ! (
"Alignment of field: " , stringify ! ( nsIPresShell ) ,
"::" , stringify ! ( mIsNeverPainting ) ));
+ assert_eq! (unsafe {
+ & ( * ( 0 as * const nsIPresShell ) ) . mInFlush as *
+ const _ as usize } , 402usize , concat ! (
+ "Alignment of field: " , stringify ! ( nsIPresShell ) ,
+ "::" , stringify ! ( mInFlush ) ));
}
/**
* A class that implements nsIWeakReference
@@ -15028,63 +15296,63 @@ pub mod root {
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct nsDOMMutationObserver([u8; 0]);
- pub const NODE_HAS_LISTENERMANAGER: root::_bindgen_ty_110 =
- _bindgen_ty_110::NODE_HAS_LISTENERMANAGER;
- pub const NODE_HAS_PROPERTIES: root::_bindgen_ty_110 =
- _bindgen_ty_110::NODE_HAS_PROPERTIES;
- pub const NODE_IS_ANONYMOUS_ROOT: root::_bindgen_ty_110 =
- _bindgen_ty_110::NODE_IS_ANONYMOUS_ROOT;
- pub const NODE_IS_IN_NATIVE_ANONYMOUS_SUBTREE: root::_bindgen_ty_110 =
- _bindgen_ty_110::NODE_IS_IN_NATIVE_ANONYMOUS_SUBTREE;
- pub const NODE_IS_NATIVE_ANONYMOUS_ROOT: root::_bindgen_ty_110 =
- _bindgen_ty_110::NODE_IS_NATIVE_ANONYMOUS_ROOT;
- pub const NODE_FORCE_XBL_BINDINGS: root::_bindgen_ty_110 =
- _bindgen_ty_110::NODE_FORCE_XBL_BINDINGS;
- pub const NODE_MAY_BE_IN_BINDING_MNGR: root::_bindgen_ty_110 =
- _bindgen_ty_110::NODE_MAY_BE_IN_BINDING_MNGR;
- pub const NODE_IS_EDITABLE: root::_bindgen_ty_110 =
- _bindgen_ty_110::NODE_IS_EDITABLE;
- pub const NODE_MAY_HAVE_CLASS: root::_bindgen_ty_110 =
- _bindgen_ty_110::NODE_MAY_HAVE_CLASS;
- pub const NODE_IS_IN_SHADOW_TREE: root::_bindgen_ty_110 =
- _bindgen_ty_110::NODE_IS_IN_SHADOW_TREE;
- pub const NODE_HAS_EMPTY_SELECTOR: root::_bindgen_ty_110 =
- _bindgen_ty_110::NODE_HAS_EMPTY_SELECTOR;
- pub const NODE_HAS_SLOW_SELECTOR: root::_bindgen_ty_110 =
- _bindgen_ty_110::NODE_HAS_SLOW_SELECTOR;
- pub const NODE_HAS_EDGE_CHILD_SELECTOR: root::_bindgen_ty_110 =
- _bindgen_ty_110::NODE_HAS_EDGE_CHILD_SELECTOR;
- pub const NODE_HAS_SLOW_SELECTOR_LATER_SIBLINGS: root::_bindgen_ty_110 =
- _bindgen_ty_110::NODE_HAS_SLOW_SELECTOR_LATER_SIBLINGS;
- pub const NODE_ALL_SELECTOR_FLAGS: root::_bindgen_ty_110 =
- _bindgen_ty_110::NODE_ALL_SELECTOR_FLAGS;
- pub const NODE_NEEDS_FRAME: root::_bindgen_ty_110 =
- _bindgen_ty_110::NODE_NEEDS_FRAME;
- pub const NODE_DESCENDANTS_NEED_FRAMES: root::_bindgen_ty_110 =
- _bindgen_ty_110::NODE_DESCENDANTS_NEED_FRAMES;
- pub const NODE_HAS_ACCESSKEY: root::_bindgen_ty_110 =
- _bindgen_ty_110::NODE_HAS_ACCESSKEY;
- pub const NODE_HAS_DIRECTION_RTL: root::_bindgen_ty_110 =
- _bindgen_ty_110::NODE_HAS_DIRECTION_RTL;
- pub const NODE_HAS_DIRECTION_LTR: root::_bindgen_ty_110 =
- _bindgen_ty_110::NODE_HAS_DIRECTION_LTR;
- pub const NODE_ALL_DIRECTION_FLAGS: root::_bindgen_ty_110 =
- _bindgen_ty_110::NODE_ALL_DIRECTION_FLAGS;
- pub const NODE_CHROME_ONLY_ACCESS: root::_bindgen_ty_110 =
- _bindgen_ty_110::NODE_CHROME_ONLY_ACCESS;
- pub const NODE_IS_ROOT_OF_CHROME_ONLY_ACCESS: root::_bindgen_ty_110 =
- _bindgen_ty_110::NODE_IS_ROOT_OF_CHROME_ONLY_ACCESS;
- pub const NODE_SHARED_RESTYLE_BIT_1: root::_bindgen_ty_110 =
- _bindgen_ty_110::NODE_SHARED_RESTYLE_BIT_1;
- pub const NODE_SHARED_RESTYLE_BIT_2: root::_bindgen_ty_110 =
- _bindgen_ty_110::NODE_SHARED_RESTYLE_BIT_2;
- pub const NODE_HAS_DIRTY_DESCENDANTS_FOR_SERVO: root::_bindgen_ty_110 =
- _bindgen_ty_110::NODE_SHARED_RESTYLE_BIT_1;
- pub const NODE_TYPE_SPECIFIC_BITS_OFFSET: root::_bindgen_ty_110 =
- _bindgen_ty_110::NODE_TYPE_SPECIFIC_BITS_OFFSET;
+ pub const NODE_HAS_LISTENERMANAGER: root::_bindgen_ty_28 =
+ _bindgen_ty_28::NODE_HAS_LISTENERMANAGER;
+ pub const NODE_HAS_PROPERTIES: root::_bindgen_ty_28 =
+ _bindgen_ty_28::NODE_HAS_PROPERTIES;
+ pub const NODE_IS_ANONYMOUS_ROOT: root::_bindgen_ty_28 =
+ _bindgen_ty_28::NODE_IS_ANONYMOUS_ROOT;
+ pub const NODE_IS_IN_NATIVE_ANONYMOUS_SUBTREE: root::_bindgen_ty_28 =
+ _bindgen_ty_28::NODE_IS_IN_NATIVE_ANONYMOUS_SUBTREE;
+ pub const NODE_IS_NATIVE_ANONYMOUS_ROOT: root::_bindgen_ty_28 =
+ _bindgen_ty_28::NODE_IS_NATIVE_ANONYMOUS_ROOT;
+ pub const NODE_FORCE_XBL_BINDINGS: root::_bindgen_ty_28 =
+ _bindgen_ty_28::NODE_FORCE_XBL_BINDINGS;
+ pub const NODE_MAY_BE_IN_BINDING_MNGR: root::_bindgen_ty_28 =
+ _bindgen_ty_28::NODE_MAY_BE_IN_BINDING_MNGR;
+ pub const NODE_IS_EDITABLE: root::_bindgen_ty_28 =
+ _bindgen_ty_28::NODE_IS_EDITABLE;
+ pub const NODE_IS_NATIVE_ANONYMOUS: root::_bindgen_ty_28 =
+ _bindgen_ty_28::NODE_IS_NATIVE_ANONYMOUS;
+ pub const NODE_IS_IN_SHADOW_TREE: root::_bindgen_ty_28 =
+ _bindgen_ty_28::NODE_IS_IN_SHADOW_TREE;
+ pub const NODE_HAS_EMPTY_SELECTOR: root::_bindgen_ty_28 =
+ _bindgen_ty_28::NODE_HAS_EMPTY_SELECTOR;
+ pub const NODE_HAS_SLOW_SELECTOR: root::_bindgen_ty_28 =
+ _bindgen_ty_28::NODE_HAS_SLOW_SELECTOR;
+ pub const NODE_HAS_EDGE_CHILD_SELECTOR: root::_bindgen_ty_28 =
+ _bindgen_ty_28::NODE_HAS_EDGE_CHILD_SELECTOR;
+ pub const NODE_HAS_SLOW_SELECTOR_LATER_SIBLINGS: root::_bindgen_ty_28 =
+ _bindgen_ty_28::NODE_HAS_SLOW_SELECTOR_LATER_SIBLINGS;
+ pub const NODE_ALL_SELECTOR_FLAGS: root::_bindgen_ty_28 =
+ _bindgen_ty_28::NODE_ALL_SELECTOR_FLAGS;
+ pub const NODE_NEEDS_FRAME: root::_bindgen_ty_28 =
+ _bindgen_ty_28::NODE_NEEDS_FRAME;
+ pub const NODE_DESCENDANTS_NEED_FRAMES: root::_bindgen_ty_28 =
+ _bindgen_ty_28::NODE_DESCENDANTS_NEED_FRAMES;
+ pub const NODE_HAS_ACCESSKEY: root::_bindgen_ty_28 =
+ _bindgen_ty_28::NODE_HAS_ACCESSKEY;
+ pub const NODE_HAS_DIRECTION_RTL: root::_bindgen_ty_28 =
+ _bindgen_ty_28::NODE_HAS_DIRECTION_RTL;
+ pub const NODE_HAS_DIRECTION_LTR: root::_bindgen_ty_28 =
+ _bindgen_ty_28::NODE_HAS_DIRECTION_LTR;
+ pub const NODE_ALL_DIRECTION_FLAGS: root::_bindgen_ty_28 =
+ _bindgen_ty_28::NODE_ALL_DIRECTION_FLAGS;
+ pub const NODE_CHROME_ONLY_ACCESS: root::_bindgen_ty_28 =
+ _bindgen_ty_28::NODE_CHROME_ONLY_ACCESS;
+ pub const NODE_IS_ROOT_OF_CHROME_ONLY_ACCESS: root::_bindgen_ty_28 =
+ _bindgen_ty_28::NODE_IS_ROOT_OF_CHROME_ONLY_ACCESS;
+ pub const NODE_SHARED_RESTYLE_BIT_1: root::_bindgen_ty_28 =
+ _bindgen_ty_28::NODE_SHARED_RESTYLE_BIT_1;
+ pub const NODE_SHARED_RESTYLE_BIT_2: root::_bindgen_ty_28 =
+ _bindgen_ty_28::NODE_SHARED_RESTYLE_BIT_2;
+ pub const NODE_HAS_DIRTY_DESCENDANTS_FOR_SERVO: root::_bindgen_ty_28 =
+ _bindgen_ty_28::NODE_SHARED_RESTYLE_BIT_1;
+ pub const NODE_TYPE_SPECIFIC_BITS_OFFSET: root::_bindgen_ty_28 =
+ _bindgen_ty_28::NODE_TYPE_SPECIFIC_BITS_OFFSET;
#[repr(u32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
- pub enum _bindgen_ty_110 {
+ pub enum _bindgen_ty_28 {
NODE_HAS_LISTENERMANAGER = 4,
NODE_HAS_PROPERTIES = 8,
NODE_IS_ANONYMOUS_ROOT = 16,
@@ -15093,7 +15361,7 @@ pub mod root {
NODE_FORCE_XBL_BINDINGS = 128,
NODE_MAY_BE_IN_BINDING_MNGR = 256,
NODE_IS_EDITABLE = 512,
- NODE_MAY_HAVE_CLASS = 1024,
+ NODE_IS_NATIVE_ANONYMOUS = 1024,
NODE_IS_IN_SHADOW_TREE = 2048,
NODE_HAS_EMPTY_SELECTOR = 4096,
NODE_HAS_SLOW_SELECTOR = 8192,
@@ -21382,62 +21650,9 @@ pub mod root {
pub struct gfxMissingFontRecorder([u8; 0]);
#[repr(C)]
#[derive(Debug)]
- pub struct nsInvalidateRequestList {
- pub mRequests: root::nsTArray<root::nsInvalidateRequestList_Request>,
- }
- #[repr(C)]
- #[derive(Debug, Copy)]
- pub struct nsInvalidateRequestList_Request {
- pub mRect: root::nsRect,
- pub mFlags: u32,
- }
- #[test]
- fn bindgen_test_layout_nsInvalidateRequestList_Request() {
- assert_eq!(::std::mem::size_of::<nsInvalidateRequestList_Request>() ,
- 20usize , concat ! (
- "Size of: " , stringify ! ( nsInvalidateRequestList_Request
- ) ));
- assert_eq! (::std::mem::align_of::<nsInvalidateRequestList_Request>()
- , 4usize , concat ! (
- "Alignment of " , stringify ! (
- nsInvalidateRequestList_Request ) ));
- assert_eq! (unsafe {
- & ( * ( 0 as * const nsInvalidateRequestList_Request ) ) .
- mRect as * const _ as usize } , 0usize , concat ! (
- "Alignment of field: " , stringify ! (
- nsInvalidateRequestList_Request ) , "::" , stringify ! (
- mRect ) ));
- assert_eq! (unsafe {
- & ( * ( 0 as * const nsInvalidateRequestList_Request ) ) .
- mFlags as * const _ as usize } , 16usize , concat ! (
- "Alignment of field: " , stringify ! (
- nsInvalidateRequestList_Request ) , "::" , stringify ! (
- mFlags ) ));
- }
- impl Clone for nsInvalidateRequestList_Request {
- fn clone(&self) -> Self { *self }
- }
- #[test]
- fn bindgen_test_layout_nsInvalidateRequestList() {
- assert_eq!(::std::mem::size_of::<nsInvalidateRequestList>() , 8usize ,
- concat ! (
- "Size of: " , stringify ! ( nsInvalidateRequestList ) ));
- assert_eq! (::std::mem::align_of::<nsInvalidateRequestList>() , 8usize
- , concat ! (
- "Alignment of " , stringify ! ( nsInvalidateRequestList )
- ));
- assert_eq! (unsafe {
- & ( * ( 0 as * const nsInvalidateRequestList ) ) .
- mRequests as * const _ as usize } , 0usize , concat ! (
- "Alignment of field: " , stringify ! (
- nsInvalidateRequestList ) , "::" , stringify ! ( mRequests
- ) ));
- }
- #[repr(C)]
- #[derive(Debug)]
pub struct nsRootPresContext {
pub _base: root::nsPresContext,
- pub mNotifyDidPaintTimer: root::nsCOMPtr<root::nsITimer>,
+ pub mNotifyDidPaintTimers: [u64; 10usize],
pub mApplyPluginGeometryTimer: root::nsCOMPtr<root::nsITimer>,
pub mRegisteredPlugins: [u64; 6usize],
pub mWillPaintObservers: root::nsTArray<root::nsCOMPtr<root::nsIRunnable>>,
@@ -21469,9 +21684,41 @@ pub mod root {
nsRootPresContext_RunWillPaintObservers ) , "::" ,
stringify ! ( mPresContext ) ));
}
+ #[repr(C)]
+ #[derive(Debug)]
+ pub struct nsRootPresContext_NotifyDidPaintTimer {
+ pub mTransactionId: u64,
+ pub mTimer: root::nsCOMPtr<root::nsITimer>,
+ }
+ #[test]
+ fn bindgen_test_layout_nsRootPresContext_NotifyDidPaintTimer() {
+ assert_eq!(::std::mem::size_of::<nsRootPresContext_NotifyDidPaintTimer>()
+ , 16usize , concat ! (
+ "Size of: " , stringify ! (
+ nsRootPresContext_NotifyDidPaintTimer ) ));
+ assert_eq! (::std::mem::align_of::<nsRootPresContext_NotifyDidPaintTimer>()
+ , 8usize , concat ! (
+ "Alignment of " , stringify ! (
+ nsRootPresContext_NotifyDidPaintTimer ) ));
+ assert_eq! (unsafe {
+ & (
+ * ( 0 as * const nsRootPresContext_NotifyDidPaintTimer ) )
+ . mTransactionId as * const _ as usize } , 0usize , concat
+ ! (
+ "Alignment of field: " , stringify ! (
+ nsRootPresContext_NotifyDidPaintTimer ) , "::" , stringify
+ ! ( mTransactionId ) ));
+ assert_eq! (unsafe {
+ & (
+ * ( 0 as * const nsRootPresContext_NotifyDidPaintTimer ) )
+ . mTimer as * const _ as usize } , 8usize , concat ! (
+ "Alignment of field: " , stringify ! (
+ nsRootPresContext_NotifyDidPaintTimer ) , "::" , stringify
+ ! ( mTimer ) ));
+ }
#[test]
fn bindgen_test_layout_nsRootPresContext() {
- assert_eq!(::std::mem::size_of::<nsRootPresContext>() , 1384usize ,
+ assert_eq!(::std::mem::size_of::<nsRootPresContext>() , 1520usize ,
concat ! ( "Size of: " , stringify ! ( nsRootPresContext )
));
assert_eq! (::std::mem::align_of::<nsRootPresContext>() , 8usize ,
@@ -21479,37 +21726,37 @@ pub mod root {
"Alignment of " , stringify ! ( nsRootPresContext ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const nsRootPresContext ) ) .
- mNotifyDidPaintTimer as * const _ as usize } , 1296usize ,
- concat ! (
+ mNotifyDidPaintTimers as * const _ as usize } , 1360usize
+ , concat ! (
"Alignment of field: " , stringify ! ( nsRootPresContext )
- , "::" , stringify ! ( mNotifyDidPaintTimer ) ));
+ , "::" , stringify ! ( mNotifyDidPaintTimers ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const nsRootPresContext ) ) .
mApplyPluginGeometryTimer as * const _ as usize } ,
- 1304usize , concat ! (
+ 1440usize , concat ! (
"Alignment of field: " , stringify ! ( nsRootPresContext )
, "::" , stringify ! ( mApplyPluginGeometryTimer ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const nsRootPresContext ) ) .
- mRegisteredPlugins as * const _ as usize } , 1312usize ,
+ mRegisteredPlugins as * const _ as usize } , 1448usize ,
concat ! (
"Alignment of field: " , stringify ! ( nsRootPresContext )
, "::" , stringify ! ( mRegisteredPlugins ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const nsRootPresContext ) ) .
- mWillPaintObservers as * const _ as usize } , 1360usize ,
+ mWillPaintObservers as * const _ as usize } , 1496usize ,
concat ! (
"Alignment of field: " , stringify ! ( nsRootPresContext )
, "::" , stringify ! ( mWillPaintObservers ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const nsRootPresContext ) ) .
mWillPaintFallbackEvent as * const _ as usize } ,
- 1368usize , concat ! (
+ 1504usize , concat ! (
"Alignment of field: " , stringify ! ( nsRootPresContext )
, "::" , stringify ! ( mWillPaintFallbackEvent ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const nsRootPresContext ) ) .
- mDOMGeneration as * const _ as usize } , 1376usize ,
+ mDOMGeneration as * const _ as usize } , 1512usize ,
concat ! (
"Alignment of field: " , stringify ! ( nsRootPresContext )
, "::" , stringify ! ( mDOMGeneration ) ));
@@ -25374,8 +25621,37 @@ pub mod root {
}
#[test]
fn bindgen_test_layout_ServoBundledURI() {
- assert_eq!(::std::mem::size_of::<ServoBundledURI>() , 40usize);
- assert_eq!(::std::mem::align_of::<ServoBundledURI>() , 8usize);
+ assert_eq!(::std::mem::size_of::<ServoBundledURI>() , 40usize , concat
+ ! ( "Size of: " , stringify ! ( ServoBundledURI ) ));
+ assert_eq! (::std::mem::align_of::<ServoBundledURI>() , 8usize ,
+ concat ! (
+ "Alignment of " , stringify ! ( ServoBundledURI ) ));
+ assert_eq! (unsafe {
+ & ( * ( 0 as * const ServoBundledURI ) ) . mURLString as *
+ const _ as usize } , 0usize , concat ! (
+ "Alignment of field: " , stringify ! ( ServoBundledURI ) ,
+ "::" , stringify ! ( mURLString ) ));
+ assert_eq! (unsafe {
+ & ( * ( 0 as * const ServoBundledURI ) ) .
+ mURLStringLength as * const _ as usize } , 8usize , concat
+ ! (
+ "Alignment of field: " , stringify ! ( ServoBundledURI ) ,
+ "::" , stringify ! ( mURLStringLength ) ));
+ assert_eq! (unsafe {
+ & ( * ( 0 as * const ServoBundledURI ) ) . mBaseURI as *
+ const _ as usize } , 16usize , concat ! (
+ "Alignment of field: " , stringify ! ( ServoBundledURI ) ,
+ "::" , stringify ! ( mBaseURI ) ));
+ assert_eq! (unsafe {
+ & ( * ( 0 as * const ServoBundledURI ) ) . mReferrer as *
+ const _ as usize } , 24usize , concat ! (
+ "Alignment of field: " , stringify ! ( ServoBundledURI ) ,
+ "::" , stringify ! ( mReferrer ) ));
+ assert_eq! (unsafe {
+ & ( * ( 0 as * const ServoBundledURI ) ) . mPrincipal as *
+ const _ as usize } , 32usize , concat ! (
+ "Alignment of field: " , stringify ! ( ServoBundledURI ) ,
+ "::" , stringify ! ( mPrincipal ) ));
}
impl Clone for ServoBundledURI {
fn clone(&self) -> Self { *self }
@@ -25702,6 +25978,17 @@ pub mod root {
}
#[test]
fn __bindgen_test_layout_template_11() {
+ assert_eq!(::std::mem::size_of::<root::JS::DeletePolicy<root::JSErrorNotes>>()
+ , 1usize , concat ! (
+ "Size of template specialization: " , stringify ! (
+ root::JS::DeletePolicy<root::JSErrorNotes> ) ));
+ assert_eq!(::std::mem::align_of::<root::JS::DeletePolicy<root::JSErrorNotes>>()
+ , 1usize , concat ! (
+ "Alignment of template specialization: " , stringify ! (
+ root::JS::DeletePolicy<root::JSErrorNotes> ) ));
+ }
+ #[test]
+ fn __bindgen_test_layout_template_12() {
assert_eq!(::std::mem::size_of::<root::mozilla::UniquePtr<[::std::os::raw::c_char; 0usize],
root::JS::FreePolicy>>()
, 8usize , concat ! (
@@ -25718,7 +26005,7 @@ pub mod root {
) ));
}
#[test]
- fn __bindgen_test_layout_template_12() {
+ fn __bindgen_test_layout_template_13() {
assert_eq!(::std::mem::size_of::<root::JS::TenuredHeap<*mut root::JSObject>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -25729,7 +26016,7 @@ pub mod root {
root::JS::TenuredHeap<*mut root::JSObject> ) ));
}
#[test]
- fn __bindgen_test_layout_template_13() {
+ fn __bindgen_test_layout_template_14() {
assert_eq!(::std::mem::size_of::<root::JS::Heap<*mut root::JSObject>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -25740,7 +26027,7 @@ pub mod root {
root::JS::Heap<*mut root::JSObject> ) ));
}
#[test]
- fn __bindgen_test_layout_template_14() {
+ fn __bindgen_test_layout_template_15() {
assert_eq!(::std::mem::size_of::<root::JS::Heap<*mut root::JSScript>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -25751,7 +26038,7 @@ pub mod root {
root::JS::Heap<*mut root::JSScript> ) ));
}
#[test]
- fn __bindgen_test_layout_template_15() {
+ fn __bindgen_test_layout_template_16() {
assert_eq!(::std::mem::size_of::<root::nsReadingIterator<u16>>() ,
24usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -25762,7 +26049,7 @@ pub mod root {
root::nsReadingIterator<u16> ) ));
}
#[test]
- fn __bindgen_test_layout_template_16() {
+ fn __bindgen_test_layout_template_17() {
assert_eq!(::std::mem::size_of::<root::nsWritingIterator<u16>>() ,
24usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -25773,7 +26060,7 @@ pub mod root {
root::nsWritingIterator<u16> ) ));
}
#[test]
- fn __bindgen_test_layout_template_17() {
+ fn __bindgen_test_layout_template_18() {
assert_eq!(::std::mem::size_of::<root::nsReadingIterator<::std::os::raw::c_char>>()
, 24usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -25784,7 +26071,7 @@ pub mod root {
root::nsReadingIterator<::std::os::raw::c_char> ) ));
}
#[test]
- fn __bindgen_test_layout_template_18() {
+ fn __bindgen_test_layout_template_19() {
assert_eq!(::std::mem::size_of::<root::nsWritingIterator<::std::os::raw::c_char>>()
, 24usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -25795,7 +26082,7 @@ pub mod root {
root::nsWritingIterator<::std::os::raw::c_char> ) ));
}
#[test]
- fn __bindgen_test_layout_template_19() {
+ fn __bindgen_test_layout_template_20() {
assert_eq!(::std::mem::size_of::<root::mozilla::DefaultDelete<[root::nsAString_internal; 0usize]>>()
, 1usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -25808,7 +26095,7 @@ pub mod root {
) ));
}
#[test]
- fn __bindgen_test_layout_template_20() {
+ fn __bindgen_test_layout_template_21() {
assert_eq!(::std::mem::size_of::<root::mozilla::DefaultDelete<[root::nsACString_internal; 0usize]>>()
, 1usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -25821,7 +26108,7 @@ pub mod root {
) ));
}
#[test]
- fn __bindgen_test_layout_template_21() {
+ fn __bindgen_test_layout_template_22() {
assert_eq!(::std::mem::size_of::<root::nsTArray<root::nsCString>>() ,
8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -25832,7 +26119,7 @@ pub mod root {
root::nsTArray<root::nsCString> ) ));
}
#[test]
- fn __bindgen_test_layout_template_22() {
+ fn __bindgen_test_layout_template_23() {
assert_eq!(::std::mem::size_of::<root::nsTArray<::nsstring::nsStringRepr>>() ,
8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -25843,7 +26130,7 @@ pub mod root {
root::nsTArray<::nsstring::nsStringRepr> ) ));
}
#[test]
- fn __bindgen_test_layout_template_23() {
+ fn __bindgen_test_layout_template_24() {
assert_eq!(::std::mem::size_of::<root::mozilla::binding_danger::TErrorResult<root::mozilla::binding_danger::JustAssertCleanupPolicy>>()
, 32usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -25856,7 +26143,7 @@ pub mod root {
) ));
}
#[test]
- fn __bindgen_test_layout_template_24() {
+ fn __bindgen_test_layout_template_25() {
assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::nsStringBuffer>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -25867,7 +26154,7 @@ pub mod root {
root::already_AddRefed<root::nsStringBuffer> ) ));
}
#[test]
- fn __bindgen_test_layout_template_25() {
+ fn __bindgen_test_layout_template_26() {
assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::nsIAtom>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -25878,7 +26165,7 @@ pub mod root {
root::already_AddRefed<root::nsIAtom> ) ));
}
#[test]
- fn __bindgen_test_layout_template_26() {
+ fn __bindgen_test_layout_template_27() {
assert_eq!(::std::mem::size_of::<root::JS::Heap<root::JS::Value>>() ,
8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -25889,7 +26176,76 @@ pub mod root {
root::JS::Heap<root::JS::Value> ) ));
}
#[test]
- fn __bindgen_test_layout_template_27() {
+ fn __bindgen_test_layout_template_28() {
+ assert_eq!(::std::mem::size_of::<root::JS::DeletePolicy<root::JSErrorNotes_Note>>()
+ , 1usize , concat ! (
+ "Size of template specialization: " , stringify ! (
+ root::JS::DeletePolicy<root::JSErrorNotes_Note> ) ));
+ assert_eq!(::std::mem::align_of::<root::JS::DeletePolicy<root::JSErrorNotes_Note>>()
+ , 1usize , concat ! (
+ "Alignment of template specialization: " , stringify ! (
+ root::JS::DeletePolicy<root::JSErrorNotes_Note> ) ));
+ }
+ #[test]
+ fn __bindgen_test_layout_template_29() {
+ assert_eq!(::std::mem::size_of::<root::mozilla::UniquePtr<root::JSErrorNotes_Note,
+ root::JS::DeletePolicy<root::JSErrorNotes_Note>>>()
+ , 8usize , concat ! (
+ "Size of template specialization: " , stringify ! (
+ root::mozilla::UniquePtr<root::JSErrorNotes_Note,
+ root::JS::DeletePolicy<root::JSErrorNotes_Note>>
+ ) ));
+ assert_eq!(::std::mem::align_of::<root::mozilla::UniquePtr<root::JSErrorNotes_Note,
+ root::JS::DeletePolicy<root::JSErrorNotes_Note>>>()
+ , 8usize , concat ! (
+ "Alignment of template specialization: " , stringify ! (
+ root::mozilla::UniquePtr<root::JSErrorNotes_Note,
+ root::JS::DeletePolicy<root::JSErrorNotes_Note>>
+ ) ));
+ }
+ #[test]
+ fn __bindgen_test_layout_template_30() {
+ assert_eq!(::std::mem::size_of::<root::std::iterator<root::std::input_iterator_tag,
+ root::mozilla::UniquePtr<root::JSErrorNotes_Note,
+ root::JS::DeletePolicy<root::JSErrorNotes_Note>>,
+ ::std::os::raw::c_long,
+ *mut root::mozilla::UniquePtr<root::JSErrorNotes_Note,
+ root::JS::DeletePolicy<root::JSErrorNotes_Note>>,
+ *mut root::mozilla::UniquePtr<root::JSErrorNotes_Note,
+ root::JS::DeletePolicy<root::JSErrorNotes_Note>>>>()
+ , 1usize , concat ! (
+ "Size of template specialization: " , stringify ! (
+ root::std::iterator<root::std::input_iterator_tag,
+ root::mozilla::UniquePtr<root::JSErrorNotes_Note,
+ root::JS::DeletePolicy<root::JSErrorNotes_Note>>,
+ ::std::os::raw::c_long,
+ *mut root::mozilla::UniquePtr<root::JSErrorNotes_Note,
+ root::JS::DeletePolicy<root::JSErrorNotes_Note>>,
+ *mut root::mozilla::UniquePtr<root::JSErrorNotes_Note,
+ root::JS::DeletePolicy<root::JSErrorNotes_Note>>>
+ ) ));
+ assert_eq!(::std::mem::align_of::<root::std::iterator<root::std::input_iterator_tag,
+ root::mozilla::UniquePtr<root::JSErrorNotes_Note,
+ root::JS::DeletePolicy<root::JSErrorNotes_Note>>,
+ ::std::os::raw::c_long,
+ *mut root::mozilla::UniquePtr<root::JSErrorNotes_Note,
+ root::JS::DeletePolicy<root::JSErrorNotes_Note>>,
+ *mut root::mozilla::UniquePtr<root::JSErrorNotes_Note,
+ root::JS::DeletePolicy<root::JSErrorNotes_Note>>>>()
+ , 1usize , concat ! (
+ "Alignment of template specialization: " , stringify ! (
+ root::std::iterator<root::std::input_iterator_tag,
+ root::mozilla::UniquePtr<root::JSErrorNotes_Note,
+ root::JS::DeletePolicy<root::JSErrorNotes_Note>>,
+ ::std::os::raw::c_long,
+ *mut root::mozilla::UniquePtr<root::JSErrorNotes_Note,
+ root::JS::DeletePolicy<root::JSErrorNotes_Note>>,
+ *mut root::mozilla::UniquePtr<root::JSErrorNotes_Note,
+ root::JS::DeletePolicy<root::JSErrorNotes_Note>>>
+ ) ));
+ }
+ #[test]
+ fn __bindgen_test_layout_template_31() {
assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::nsIRunnable>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -25900,7 +26256,7 @@ pub mod root {
root::already_AddRefed<root::nsIRunnable> ) ));
}
#[test]
- fn __bindgen_test_layout_template_28() {
+ fn __bindgen_test_layout_template_32() {
assert_eq!(::std::mem::size_of::<root::nsCOMPtr<root::nsIPrincipal>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -25911,7 +26267,7 @@ pub mod root {
root::nsCOMPtr<root::nsIPrincipal> ) ));
}
#[test]
- fn __bindgen_test_layout_template_29() {
+ fn __bindgen_test_layout_template_33() {
assert_eq!(::std::mem::size_of::<[u64; 29usize]>() , 232usize , concat
! (
"Size of template specialization: " , stringify ! (
@@ -25922,7 +26278,7 @@ pub mod root {
[u64; 29usize] ) ));
}
#[test]
- fn __bindgen_test_layout_template_30() {
+ fn __bindgen_test_layout_template_34() {
assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::nsIURI>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -25933,7 +26289,7 @@ pub mod root {
root::already_AddRefed<root::nsIURI> ) ));
}
#[test]
- fn __bindgen_test_layout_template_31() {
+ fn __bindgen_test_layout_template_35() {
assert_eq!(::std::mem::size_of::<root::nsTArray<root::RefPtr<root::mozilla::dom::AnonymousContent>>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -25946,7 +26302,7 @@ pub mod root {
) ));
}
#[test]
- fn __bindgen_test_layout_template_32() {
+ fn __bindgen_test_layout_template_36() {
assert_eq!(::std::mem::size_of::<root::RefPtr<root::mozilla::StyleSheet>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -25957,7 +26313,7 @@ pub mod root {
root::RefPtr<root::mozilla::StyleSheet> ) ));
}
#[test]
- fn __bindgen_test_layout_template_33() {
+ fn __bindgen_test_layout_template_37() {
assert_eq!(::std::mem::size_of::<root::RefPtr<root::mozilla::dom::Element>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -25968,7 +26324,7 @@ pub mod root {
root::RefPtr<root::mozilla::dom::Element> ) ));
}
#[test]
- fn __bindgen_test_layout_template_34() {
+ fn __bindgen_test_layout_template_38() {
assert_eq!(::std::mem::size_of::<root::nsTArray<root::RefPtr<root::mozilla::dom::Element>>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -25981,7 +26337,7 @@ pub mod root {
));
}
#[test]
- fn __bindgen_test_layout_template_35() {
+ fn __bindgen_test_layout_template_39() {
assert_eq!(::std::mem::size_of::<root::nsCOMPtr<root::nsIObserver>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -25992,7 +26348,7 @@ pub mod root {
root::nsCOMPtr<root::nsIObserver> ) ));
}
#[test]
- fn __bindgen_test_layout_template_36() {
+ fn __bindgen_test_layout_template_40() {
assert_eq!(::std::mem::size_of::<root::nsTArray<root::nsCOMPtr<root::nsIObserver>>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -26003,7 +26359,7 @@ pub mod root {
root::nsTArray<root::nsCOMPtr<root::nsIObserver>> ) ));
}
#[test]
- fn __bindgen_test_layout_template_37() {
+ fn __bindgen_test_layout_template_41() {
assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::nsIDocument>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -26014,7 +26370,7 @@ pub mod root {
root::already_AddRefed<root::nsIDocument> ) ));
}
#[test]
- fn __bindgen_test_layout_template_38() {
+ fn __bindgen_test_layout_template_42() {
assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::nsContentList>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -26025,7 +26381,7 @@ pub mod root {
root::already_AddRefed<root::nsContentList> ) ));
}
#[test]
- fn __bindgen_test_layout_template_39() {
+ fn __bindgen_test_layout_template_43() {
assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::nsINode>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -26036,7 +26392,7 @@ pub mod root {
root::already_AddRefed<root::nsINode> ) ));
}
#[test]
- fn __bindgen_test_layout_template_40() {
+ fn __bindgen_test_layout_template_44() {
assert_eq!(::std::mem::size_of::<root::nsCOMPtr<root::nsIWeakReference>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -26047,7 +26403,7 @@ pub mod root {
root::nsCOMPtr<root::nsIWeakReference> ) ));
}
#[test]
- fn __bindgen_test_layout_template_41() {
+ fn __bindgen_test_layout_template_45() {
assert_eq!(::std::mem::size_of::<u64>() , 8usize , concat ! (
"Size of template specialization: " , stringify ! ( u64 )
));
@@ -26056,7 +26412,18 @@ pub mod root {
u64 ) ));
}
#[test]
- fn __bindgen_test_layout_template_42() {
+ fn __bindgen_test_layout_template_46() {
+ assert_eq!(::std::mem::size_of::<root::nsTArray<root::nsRect>>() ,
+ 8usize , concat ! (
+ "Size of template specialization: " , stringify ! (
+ root::nsTArray<root::nsRect> ) ));
+ assert_eq!(::std::mem::align_of::<root::nsTArray<root::nsRect>>() ,
+ 8usize , concat ! (
+ "Alignment of template specialization: " , stringify ! (
+ root::nsTArray<root::nsRect> ) ));
+ }
+ #[test]
+ fn __bindgen_test_layout_template_47() {
assert_eq!(::std::mem::size_of::<[u64; 29usize]>() , 232usize , concat
! (
"Size of template specialization: " , stringify ! (
@@ -26067,7 +26434,7 @@ pub mod root {
[u64; 29usize] ) ));
}
#[test]
- fn __bindgen_test_layout_template_43() {
+ fn __bindgen_test_layout_template_48() {
assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::mozilla::dom::NodeInfo>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -26078,7 +26445,7 @@ pub mod root {
root::already_AddRefed<root::mozilla::dom::NodeInfo> ) ));
}
#[test]
- fn __bindgen_test_layout_template_44() {
+ fn __bindgen_test_layout_template_49() {
assert_eq!(::std::mem::size_of::<root::nsTArray<*mut root::nsIContent>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -26089,7 +26456,7 @@ pub mod root {
root::nsTArray<*mut root::nsIContent> ) ));
}
#[test]
- fn __bindgen_test_layout_template_45() {
+ fn __bindgen_test_layout_template_50() {
assert_eq!(::std::mem::size_of::<[u64; 6usize]>() , 48usize , concat !
(
"Size of template specialization: " , stringify ! (
@@ -26100,7 +26467,7 @@ pub mod root {
[u64; 6usize] ) ));
}
#[test]
- fn __bindgen_test_layout_template_46() {
+ fn __bindgen_test_layout_template_51() {
assert_eq!(::std::mem::size_of::<root::mozilla::DefaultDelete<root::mozilla::dom::TimeoutManager>>()
, 1usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -26113,7 +26480,7 @@ pub mod root {
) ));
}
#[test]
- fn __bindgen_test_layout_template_47() {
+ fn __bindgen_test_layout_template_52() {
assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::nsISupports>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -26124,7 +26491,7 @@ pub mod root {
root::already_AddRefed<root::nsISupports> ) ));
}
#[test]
- fn __bindgen_test_layout_template_48() {
+ fn __bindgen_test_layout_template_53() {
assert_eq!(::std::mem::size_of::<root::nsCOMPtr<root::nsIRunnable>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -26135,7 +26502,7 @@ pub mod root {
root::nsCOMPtr<root::nsIRunnable> ) ));
}
#[test]
- fn __bindgen_test_layout_template_49() {
+ fn __bindgen_test_layout_template_54() {
assert_eq!(::std::mem::size_of::<root::nsAutoPtr<root::nsMediaQuery>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -26146,7 +26513,7 @@ pub mod root {
root::nsAutoPtr<root::nsMediaQuery> ) ));
}
#[test]
- fn __bindgen_test_layout_template_50() {
+ fn __bindgen_test_layout_template_55() {
assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::nsIContent>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -26157,7 +26524,7 @@ pub mod root {
root::already_AddRefed<root::nsIContent> ) ));
}
#[test]
- fn __bindgen_test_layout_template_51() {
+ fn __bindgen_test_layout_template_56() {
assert_eq!(::std::mem::size_of::<[u64; 6usize]>() , 48usize , concat !
(
"Size of template specialization: " , stringify ! (
@@ -26168,7 +26535,7 @@ pub mod root {
[u64; 6usize] ) ));
}
#[test]
- fn __bindgen_test_layout_template_52() {
+ fn __bindgen_test_layout_template_57() {
assert_eq!(::std::mem::size_of::<root::mozilla::OwningNonNull<root::nsINode>>()
, 16usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -26179,7 +26546,7 @@ pub mod root {
root::mozilla::OwningNonNull<root::nsINode> ) ));
}
#[test]
- fn __bindgen_test_layout_template_53() {
+ fn __bindgen_test_layout_template_58() {
assert_eq!(::std::mem::size_of::<[u32; 2usize]>() , 8usize , concat !
(
"Size of template specialization: " , stringify ! (
@@ -26190,7 +26557,7 @@ pub mod root {
[u32; 2usize] ) ));
}
#[test]
- fn __bindgen_test_layout_template_54() {
+ fn __bindgen_test_layout_template_59() {
assert_eq!(::std::mem::size_of::<[u32; 2usize]>() , 8usize , concat !
(
"Size of template specialization: " , stringify ! (
@@ -26201,7 +26568,7 @@ pub mod root {
[u32; 2usize] ) ));
}
#[test]
- fn __bindgen_test_layout_template_55() {
+ fn __bindgen_test_layout_template_60() {
assert_eq!(::std::mem::size_of::<[u32; 2usize]>() , 8usize , concat !
(
"Size of template specialization: " , stringify ! (
@@ -26212,7 +26579,7 @@ pub mod root {
[u32; 2usize] ) ));
}
#[test]
- fn __bindgen_test_layout_template_56() {
+ fn __bindgen_test_layout_template_61() {
assert_eq!(::std::mem::size_of::<[u32; 4usize]>() , 16usize , concat !
(
"Size of template specialization: " , stringify ! (
@@ -26223,7 +26590,7 @@ pub mod root {
[u32; 4usize] ) ));
}
#[test]
- fn __bindgen_test_layout_template_57() {
+ fn __bindgen_test_layout_template_62() {
assert_eq!(::std::mem::size_of::<[u32; 2usize]>() , 8usize , concat !
(
"Size of template specialization: " , stringify ! (
@@ -26234,7 +26601,7 @@ pub mod root {
[u32; 2usize] ) ));
}
#[test]
- fn __bindgen_test_layout_template_58() {
+ fn __bindgen_test_layout_template_63() {
assert_eq!(::std::mem::size_of::<[u32; 2usize]>() , 8usize , concat !
(
"Size of template specialization: " , stringify ! (
@@ -26245,7 +26612,7 @@ pub mod root {
[u32; 2usize] ) ));
}
#[test]
- fn __bindgen_test_layout_template_59() {
+ fn __bindgen_test_layout_template_64() {
assert_eq!(::std::mem::size_of::<[u32; 4usize]>() , 16usize , concat !
(
"Size of template specialization: " , stringify ! (
@@ -26256,7 +26623,7 @@ pub mod root {
[u32; 4usize] ) ));
}
#[test]
- fn __bindgen_test_layout_template_60() {
+ fn __bindgen_test_layout_template_65() {
assert_eq!(::std::mem::size_of::<[u32; 4usize]>() , 16usize , concat !
(
"Size of template specialization: " , stringify ! (
@@ -26267,7 +26634,7 @@ pub mod root {
[u32; 4usize] ) ));
}
#[test]
- fn __bindgen_test_layout_template_61() {
+ fn __bindgen_test_layout_template_66() {
assert_eq!(::std::mem::size_of::<[u32; 4usize]>() , 16usize , concat !
(
"Size of template specialization: " , stringify ! (
@@ -26278,7 +26645,7 @@ pub mod root {
[u32; 4usize] ) ));
}
#[test]
- fn __bindgen_test_layout_template_62() {
+ fn __bindgen_test_layout_template_67() {
assert_eq!(::std::mem::size_of::<u32>() , 4usize , concat ! (
"Size of template specialization: " , stringify ! ( u32 )
));
@@ -26287,7 +26654,7 @@ pub mod root {
u32 ) ));
}
#[test]
- fn __bindgen_test_layout_template_63() {
+ fn __bindgen_test_layout_template_68() {
assert_eq!(::std::mem::size_of::<[u32; 2usize]>() , 8usize , concat !
(
"Size of template specialization: " , stringify ! (
@@ -26298,7 +26665,7 @@ pub mod root {
[u32; 2usize] ) ));
}
#[test]
- fn __bindgen_test_layout_template_64() {
+ fn __bindgen_test_layout_template_69() {
assert_eq!(::std::mem::size_of::<[u32; 2usize]>() , 8usize , concat !
(
"Size of template specialization: " , stringify ! (
@@ -26309,7 +26676,7 @@ pub mod root {
[u32; 2usize] ) ));
}
#[test]
- fn __bindgen_test_layout_template_65() {
+ fn __bindgen_test_layout_template_70() {
assert_eq!(::std::mem::size_of::<[u32; 2usize]>() , 8usize , concat !
(
"Size of template specialization: " , stringify ! (
@@ -26320,7 +26687,7 @@ pub mod root {
[u32; 2usize] ) ));
}
#[test]
- fn __bindgen_test_layout_template_66() {
+ fn __bindgen_test_layout_template_71() {
assert_eq!(::std::mem::size_of::<root::nsTArray<f64>>() , 8usize ,
concat ! (
"Size of template specialization: " , stringify ! (
@@ -26331,7 +26698,7 @@ pub mod root {
root::nsTArray<f64> ) ));
}
#[test]
- fn __bindgen_test_layout_template_67() {
+ fn __bindgen_test_layout_template_72() {
assert_eq!(::std::mem::size_of::<root::RefPtr<root::mozilla::dom::DOMIntersectionObserverEntry>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -26344,7 +26711,7 @@ pub mod root {
) ));
}
#[test]
- fn __bindgen_test_layout_template_68() {
+ fn __bindgen_test_layout_template_73() {
assert_eq!(::std::mem::size_of::<root::nsTArray<root::RefPtr<root::mozilla::dom::DOMIntersectionObserverEntry>>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -26357,7 +26724,7 @@ pub mod root {
) ));
}
#[test]
- fn __bindgen_test_layout_template_69() {
+ fn __bindgen_test_layout_template_74() {
assert_eq!(::std::mem::size_of::<root::nsTArray<root::mozilla::FontFamilyName>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -26368,7 +26735,7 @@ pub mod root {
root::nsTArray<root::mozilla::FontFamilyName> ) ));
}
#[test]
- fn __bindgen_test_layout_template_70() {
+ fn __bindgen_test_layout_template_75() {
assert_eq!(::std::mem::size_of::<root::nsTArray<::std::os::raw::c_uint>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -26379,7 +26746,7 @@ pub mod root {
root::nsTArray<::std::os::raw::c_uint> ) ));
}
#[test]
- fn __bindgen_test_layout_template_71() {
+ fn __bindgen_test_layout_template_76() {
assert_eq!(::std::mem::size_of::<root::mozilla::DefaultDelete<root::ProxyBehaviour>>()
, 1usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -26390,7 +26757,7 @@ pub mod root {
root::mozilla::DefaultDelete<root::ProxyBehaviour> ) ));
}
#[test]
- fn __bindgen_test_layout_template_72() {
+ fn __bindgen_test_layout_template_77() {
assert_eq!(::std::mem::size_of::<root::nsMainThreadPtrHolder<root::nsIURI>>()
, 24usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -26401,7 +26768,7 @@ pub mod root {
root::nsMainThreadPtrHolder<root::nsIURI> ) ));
}
#[test]
- fn __bindgen_test_layout_template_73() {
+ fn __bindgen_test_layout_template_78() {
assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::nsMainThreadPtrHolder<root::nsIURI>>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -26414,7 +26781,7 @@ pub mod root {
) ));
}
#[test]
- fn __bindgen_test_layout_template_74() {
+ fn __bindgen_test_layout_template_79() {
assert_eq!(::std::mem::size_of::<root::nsMainThreadPtrHolder<root::nsIPrincipal>>()
, 24usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -26425,7 +26792,7 @@ pub mod root {
root::nsMainThreadPtrHolder<root::nsIPrincipal> ) ));
}
#[test]
- fn __bindgen_test_layout_template_75() {
+ fn __bindgen_test_layout_template_80() {
assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::nsMainThreadPtrHolder<root::nsIPrincipal>>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -26438,7 +26805,7 @@ pub mod root {
) ));
}
#[test]
- fn __bindgen_test_layout_template_76() {
+ fn __bindgen_test_layout_template_81() {
assert_eq!(::std::mem::size_of::<root::mozilla::DefaultDelete<root::nsCSSValueList>>()
, 1usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -26449,7 +26816,7 @@ pub mod root {
root::mozilla::DefaultDelete<root::nsCSSValueList> ) ));
}
#[test]
- fn __bindgen_test_layout_template_77() {
+ fn __bindgen_test_layout_template_82() {
assert_eq!(::std::mem::size_of::<root::mozilla::UniquePtr<root::nsCSSValueList,
root::mozilla::DefaultDelete<root::nsCSSValueList>>>()
, 8usize , concat ! (
@@ -26466,7 +26833,7 @@ pub mod root {
) ));
}
#[test]
- fn __bindgen_test_layout_template_78() {
+ fn __bindgen_test_layout_template_83() {
assert_eq!(::std::mem::size_of::<root::mozilla::DefaultDelete<root::nsCSSValuePairList>>()
, 1usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -26479,7 +26846,7 @@ pub mod root {
));
}
#[test]
- fn __bindgen_test_layout_template_79() {
+ fn __bindgen_test_layout_template_84() {
assert_eq!(::std::mem::size_of::<root::mozilla::UniquePtr<root::nsCSSValuePairList,
root::mozilla::DefaultDelete<root::nsCSSValuePairList>>>()
, 8usize , concat ! (
@@ -26496,7 +26863,7 @@ pub mod root {
) ));
}
#[test]
- fn __bindgen_test_layout_template_80() {
+ fn __bindgen_test_layout_template_85() {
assert_eq!(::std::mem::size_of::<root::nsTArray<root::mozilla::FramePropertyTable_PropertyValue>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -26509,7 +26876,7 @@ pub mod root {
) ));
}
#[test]
- fn __bindgen_test_layout_template_81() {
+ fn __bindgen_test_layout_template_86() {
assert_eq!(::std::mem::size_of::<root::nsPtrHashKey<root::nsIFrame>>()
, 16usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -26520,20 +26887,7 @@ pub mod root {
root::nsPtrHashKey<root::nsIFrame> ) ));
}
#[test]
- fn __bindgen_test_layout_template_82() {
- assert_eq!(::std::mem::size_of::<root::mozilla::HandleRefPtr<root::mozilla::RestyleManagerHandle>>()
- , 8usize , concat ! (
- "Size of template specialization: " , stringify ! (
- root::mozilla::HandleRefPtr<root::mozilla::RestyleManagerHandle>
- ) ));
- assert_eq!(::std::mem::align_of::<root::mozilla::HandleRefPtr<root::mozilla::RestyleManagerHandle>>()
- , 8usize , concat ! (
- "Alignment of template specialization: " , stringify ! (
- root::mozilla::HandleRefPtr<root::mozilla::RestyleManagerHandle>
- ) ));
- }
- #[test]
- fn __bindgen_test_layout_template_83() {
+ fn __bindgen_test_layout_template_87() {
assert_eq!(::std::mem::size_of::<[u64; 6usize]>() , 48usize , concat !
(
"Size of template specialization: " , stringify ! (
@@ -26544,7 +26898,7 @@ pub mod root {
[u64; 6usize] ) ));
}
#[test]
- fn __bindgen_test_layout_template_84() {
+ fn __bindgen_test_layout_template_88() {
assert_eq!(::std::mem::size_of::<root::mozilla::OwningNonNull<root::mozilla::EffectCompositor_AnimationStyleRuleProcessor>>()
, 16usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -26557,7 +26911,7 @@ pub mod root {
) ));
}
#[test]
- fn __bindgen_test_layout_template_85() {
+ fn __bindgen_test_layout_template_89() {
assert_eq!(::std::mem::size_of::<[u64; 2usize]>() , 16usize , concat !
(
"Size of template specialization: " , stringify ! (
@@ -26568,7 +26922,7 @@ pub mod root {
[u64; 2usize] ) ));
}
#[test]
- fn __bindgen_test_layout_template_86() {
+ fn __bindgen_test_layout_template_90() {
assert_eq!(::std::mem::size_of::<u64>() , 8usize , concat ! (
"Size of template specialization: " , stringify ! ( u64 )
));
@@ -26577,7 +26931,7 @@ pub mod root {
u64 ) ));
}
#[test]
- fn __bindgen_test_layout_template_87() {
+ fn __bindgen_test_layout_template_91() {
assert_eq!(::std::mem::size_of::<[u64; 2usize]>() , 16usize , concat !
(
"Size of template specialization: " , stringify ! (
@@ -26588,7 +26942,7 @@ pub mod root {
[u64; 2usize] ) ));
}
#[test]
- fn __bindgen_test_layout_template_88() {
+ fn __bindgen_test_layout_template_92() {
assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::nsStyleImageRequest>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -26599,7 +26953,7 @@ pub mod root {
root::already_AddRefed<root::nsStyleImageRequest> ) ));
}
#[test]
- fn __bindgen_test_layout_template_89() {
+ fn __bindgen_test_layout_template_93() {
assert_eq!(::std::mem::size_of::<root::mozilla::DefaultDelete<root::nsStyleSides>>()
, 1usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -26610,7 +26964,7 @@ pub mod root {
root::mozilla::DefaultDelete<root::nsStyleSides> ) ));
}
#[test]
- fn __bindgen_test_layout_template_90() {
+ fn __bindgen_test_layout_template_94() {
assert_eq!(::std::mem::size_of::<root::mozilla::UniquePtr<root::nsStyleSides,
root::mozilla::DefaultDelete<root::nsStyleSides>>>()
, 8usize , concat ! (
@@ -26627,7 +26981,7 @@ pub mod root {
) ));
}
#[test]
- fn __bindgen_test_layout_template_91() {
+ fn __bindgen_test_layout_template_95() {
assert_eq!(::std::mem::size_of::<root::mozilla::DefaultDelete<root::CachedBorderImageData>>()
, 1usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -26640,7 +26994,7 @@ pub mod root {
));
}
#[test]
- fn __bindgen_test_layout_template_92() {
+ fn __bindgen_test_layout_template_96() {
assert_eq!(::std::mem::size_of::<root::std::pair<::nsstring::nsStringRepr, ::nsstring::nsStringRepr>>()
, 32usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -26651,7 +27005,7 @@ pub mod root {
root::std::pair<::nsstring::nsStringRepr, ::nsstring::nsStringRepr> ) ));
}
#[test]
- fn __bindgen_test_layout_template_93() {
+ fn __bindgen_test_layout_template_97() {
assert_eq!(::std::mem::size_of::<root::nsTArray<root::std::pair<::nsstring::nsStringRepr,
::nsstring::nsStringRepr>>>()
, 8usize , concat ! (
@@ -26666,7 +27020,7 @@ pub mod root {
) ));
}
#[test]
- fn __bindgen_test_layout_template_94() {
+ fn __bindgen_test_layout_template_98() {
assert_eq!(::std::mem::size_of::<root::mozilla::StyleShapeSource<root::mozilla::StyleGeometryBox>>()
, 16usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -26679,7 +27033,7 @@ pub mod root {
) ));
}
#[test]
- fn __bindgen_test_layout_template_95() {
+ fn __bindgen_test_layout_template_99() {
assert_eq!(::std::mem::size_of::<root::mozilla::StyleShapeSource<root::mozilla::StyleShapeOutsideShapeBox>>()
, 16usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -26692,7 +27046,7 @@ pub mod root {
) ));
}
#[test]
- fn __bindgen_test_layout_template_96() {
+ fn __bindgen_test_layout_template_100() {
assert_eq!(::std::mem::size_of::<[u64; 18usize]>() , 144usize , concat
! (
"Size of template specialization: " , stringify ! (
@@ -26703,7 +27057,7 @@ pub mod root {
[u64; 18usize] ) ));
}
#[test]
- fn __bindgen_test_layout_template_97() {
+ fn __bindgen_test_layout_template_101() {
assert_eq!(::std::mem::size_of::<root::nsTArray<root::mozilla::DisplayItemClip_RoundedRect>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -26716,7 +27070,7 @@ pub mod root {
) ));
}
#[test]
- fn __bindgen_test_layout_template_98() {
+ fn __bindgen_test_layout_template_102() {
assert_eq!(::std::mem::size_of::<root::RefPtr<root::mozilla::dom::DOMRect>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -26727,7 +27081,7 @@ pub mod root {
root::RefPtr<root::mozilla::dom::DOMRect> ) ));
}
#[test]
- fn __bindgen_test_layout_template_99() {
+ fn __bindgen_test_layout_template_103() {
assert_eq!(::std::mem::size_of::<u64>() , 8usize , concat ! (
"Size of template specialization: " , stringify ! ( u64 )
));
@@ -26736,7 +27090,7 @@ pub mod root {
u64 ) ));
}
#[test]
- fn __bindgen_test_layout_template_100() {
+ fn __bindgen_test_layout_template_104() {
assert_eq!(::std::mem::size_of::<root::nsTArray<*mut root::mozilla::css::DocumentRule>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
diff --git a/components/style/gecko_bindings/structs_release.rs b/components/style/gecko_bindings/structs_release.rs
index b7f7be53fb8..92c5f4693fc 100644
--- a/components/style/gecko_bindings/structs_release.rs
+++ b/components/style/gecko_bindings/structs_release.rs
@@ -537,12 +537,6 @@ pub mod root {
pub const NS_STYLE_GRID_AUTO_FLOW_COLUMN: ::std::os::raw::c_uint = 2;
pub const NS_STYLE_GRID_AUTO_FLOW_DENSE: ::std::os::raw::c_uint = 4;
pub const NS_STYLE_GRID_TEMPLATE_SUBGRID: ::std::os::raw::c_uint = 0;
- pub const NS_STYLE_GRID_TRACK_BREADTH_MAX_CONTENT: ::std::os::raw::c_uint
- =
- 1;
- pub const NS_STYLE_GRID_TRACK_BREADTH_MIN_CONTENT: ::std::os::raw::c_uint
- =
- 2;
pub const NS_STYLE_GRID_REPEAT_AUTO_FILL: ::std::os::raw::c_uint = 0;
pub const NS_STYLE_GRID_REPEAT_AUTO_FIT: ::std::os::raw::c_uint = 1;
pub const NS_STYLE_WIDTH_MAX_CONTENT: ::std::os::raw::c_uint = 0;
@@ -1009,7 +1003,6 @@ pub mod root {
pub const NS_STYLE_DISPLAY_MODE_BROWSER: ::std::os::raw::c_uint = 0;
pub const NS_STYLE_DISPLAY_MODE_MINIMAL_UI: ::std::os::raw::c_uint = 1;
pub const NS_STYLE_DISPLAY_MODE_STANDALONE: ::std::os::raw::c_uint = 2;
- pub const NS_STYLE_DISPLAY_MODE_FULLSCREEN: ::std::os::raw::c_uint = 3;
pub const NS_STYLE_INHERIT_MASK: ::std::os::raw::c_uint = 16777215;
pub const NS_STYLE_HAS_TEXT_DECORATION_LINES: ::std::os::raw::c_uint =
16777216;
@@ -2066,6 +2059,12 @@ pub mod root {
"Alignment of " , stringify ! (
FastElementCreationOptions ) ));
}
+ #[repr(C)]
+ #[derive(Debug, Copy, Clone)]
+ pub struct RecordEntry<KeyType, ValueType> {
+ pub mKey: KeyType,
+ pub mValue: ValueType,
+ }
}
/**
* A class for representing string return values. This can be either passed to
@@ -3164,6 +3163,15 @@ pub mod root {
Prerender = 2,
EndGuard_ = 3,
}
+ #[repr(u8)]
+ #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+ pub enum FlashClassification {
+ Unclassified = 0,
+ Unknown = 1,
+ Allowed = 2,
+ Denied = 3,
+ EndGuard_ = 4,
+ }
#[repr(C)]
#[derive(Debug)]
pub struct ElementCreationOptions {
@@ -4421,8 +4429,9 @@ pub mod root {
Worker = 3,
IdleCallback = 4,
RefreshDriver = 5,
- Other = 6,
- Count = 7,
+ GarbageCollection = 6,
+ Other = 7,
+ Count = 8,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
@@ -4448,6 +4457,16 @@ pub mod root {
STRIP_ADDON_ID = 2,
STRIP_USER_CONTEXT_ID = 4,
}
+ extern "C" {
+ #[link_name =
+ "_ZN7mozilla16OriginAttributes20sFirstPartyIsolationE"]
+ pub static mut OriginAttributes_sFirstPartyIsolation: bool;
+ }
+ extern "C" {
+ #[link_name =
+ "_ZN7mozilla16OriginAttributes23sRestrictedOpenerAccessE"]
+ pub static mut OriginAttributes_sRestrictedOpenerAccess: bool;
+ }
#[test]
fn bindgen_test_layout_OriginAttributes() {
assert_eq!(::std::mem::size_of::<OriginAttributes>() , 64usize ,
@@ -6163,73 +6182,6 @@ pub mod root {
"Alignment of field: " , stringify ! ( ScrollbarStyles
) , "::" , stringify ! ( mScrollSnapDestinationY ) ));
}
- /**
- * A class for holding strong references to handle-managed objects.
- *
- * This is intended for use with objects like RestyleManagerHandle,
- * where the handle type is not a pointer but which can still have
- * ->AddRef() and ->Release() called on it.
- */
- #[repr(C)]
- #[derive(Debug)]
- pub struct HandleRefPtr<T> {
- pub mHandle: T,
- }
- /**
- * Smart pointer class that can hold a pointer to either a RestyleManager
- * or a ServoRestyleManager.
- */
- #[repr(C)]
- #[derive(Debug, Copy)]
- pub struct RestyleManagerHandle {
- pub mPtr: root::mozilla::RestyleManagerHandle_Ptr,
- }
- pub type RestyleManagerHandle_RefPtr =
- root::mozilla::HandleRefPtr<root::mozilla::RestyleManagerHandle>;
- #[repr(C)]
- #[derive(Debug, Copy)]
- pub struct RestyleManagerHandle_Ptr {
- pub mValue: usize,
- }
- #[test]
- fn bindgen_test_layout_RestyleManagerHandle_Ptr() {
- assert_eq!(::std::mem::size_of::<RestyleManagerHandle_Ptr>() ,
- 8usize , concat ! (
- "Size of: " , stringify ! ( RestyleManagerHandle_Ptr )
- ));
- assert_eq! (::std::mem::align_of::<RestyleManagerHandle_Ptr>() ,
- 8usize , concat ! (
- "Alignment of " , stringify ! (
- RestyleManagerHandle_Ptr ) ));
- assert_eq! (unsafe {
- & ( * ( 0 as * const RestyleManagerHandle_Ptr ) ) .
- mValue as * const _ as usize } , 0usize , concat ! (
- "Alignment of field: " , stringify ! (
- RestyleManagerHandle_Ptr ) , "::" , stringify ! (
- mValue ) ));
- }
- impl Clone for RestyleManagerHandle_Ptr {
- fn clone(&self) -> Self { *self }
- }
- #[test]
- fn bindgen_test_layout_RestyleManagerHandle() {
- assert_eq!(::std::mem::size_of::<RestyleManagerHandle>() , 8usize
- , concat ! (
- "Size of: " , stringify ! ( RestyleManagerHandle ) ));
- assert_eq! (::std::mem::align_of::<RestyleManagerHandle>() ,
- 8usize , concat ! (
- "Alignment of " , stringify ! ( RestyleManagerHandle )
- ));
- assert_eq! (unsafe {
- & ( * ( 0 as * const RestyleManagerHandle ) ) . mPtr
- as * const _ as usize } , 0usize , concat ! (
- "Alignment of field: " , stringify ! (
- RestyleManagerHandle ) , "::" , stringify ! ( mPtr )
- ));
- }
- impl Clone for RestyleManagerHandle {
- fn clone(&self) -> Self { *self }
- }
#[repr(C)]
#[derive(Debug)]
pub struct LangGroupFontPrefs {
@@ -6540,6 +6492,9 @@ pub mod root {
CounterStyleManager ) , "::" , stringify ! (
mCacheTable ) ));
}
+ #[repr(C)]
+ #[derive(Debug, Copy, Clone)]
+ pub struct RestyleManager([u8; 0]);
pub mod image {
#[allow(unused_imports)]
use self::super::super::super::root;
@@ -7607,18 +7562,112 @@ pub mod root {
}
pub type pair_first_type<_T1> = _T1;
pub type pair_second_type<_T2> = _T2;
- pub type pair__PCCP = [u8; 0usize];
#[repr(C)]
- #[derive(Debug)]
pub struct atomic<_Tp> {
- pub _M_i: _Tp,
+ pub _base: (),
+ pub _phantom_0: ::std::marker::PhantomData<_Tp>,
}
+ pub type atomic___base = [u8; 0usize];
+ #[repr(C)]
+ #[derive(Debug, Copy)]
+ pub struct input_iterator_tag {
+ pub _address: u8,
+ }
+ #[test]
+ fn bindgen_test_layout_input_iterator_tag() {
+ assert_eq!(::std::mem::size_of::<input_iterator_tag>() , 1usize ,
+ concat ! (
+ "Size of: " , stringify ! ( input_iterator_tag ) ));
+ assert_eq! (::std::mem::align_of::<input_iterator_tag>() , 1usize
+ , concat ! (
+ "Alignment of " , stringify ! ( input_iterator_tag )
+ ));
+ }
+ impl Clone for input_iterator_tag {
+ fn clone(&self) -> Self { *self }
+ }
+ #[repr(C)]
+ #[derive(Debug, Copy)]
+ pub struct forward_iterator_tag {
+ pub _address: u8,
+ }
+ #[test]
+ fn bindgen_test_layout_forward_iterator_tag() {
+ assert_eq!(::std::mem::size_of::<forward_iterator_tag>() , 1usize
+ , concat ! (
+ "Size of: " , stringify ! ( forward_iterator_tag ) ));
+ assert_eq! (::std::mem::align_of::<forward_iterator_tag>() ,
+ 1usize , concat ! (
+ "Alignment of " , stringify ! ( forward_iterator_tag )
+ ));
+ }
+ impl Clone for forward_iterator_tag {
+ fn clone(&self) -> Self { *self }
+ }
+ #[repr(C)]
+ #[derive(Debug, Copy)]
+ pub struct bidirectional_iterator_tag {
+ pub _address: u8,
+ }
+ #[test]
+ fn bindgen_test_layout_bidirectional_iterator_tag() {
+ assert_eq!(::std::mem::size_of::<bidirectional_iterator_tag>() ,
+ 1usize , concat ! (
+ "Size of: " , stringify ! ( bidirectional_iterator_tag
+ ) ));
+ assert_eq! (::std::mem::align_of::<bidirectional_iterator_tag>() ,
+ 1usize , concat ! (
+ "Alignment of " , stringify ! (
+ bidirectional_iterator_tag ) ));
+ }
+ impl Clone for bidirectional_iterator_tag {
+ fn clone(&self) -> Self { *self }
+ }
+ #[repr(C)]
+ #[derive(Debug, Copy)]
+ pub struct random_access_iterator_tag {
+ pub _address: u8,
+ }
+ #[test]
+ fn bindgen_test_layout_random_access_iterator_tag() {
+ assert_eq!(::std::mem::size_of::<random_access_iterator_tag>() ,
+ 1usize , concat ! (
+ "Size of: " , stringify ! ( random_access_iterator_tag
+ ) ));
+ assert_eq! (::std::mem::align_of::<random_access_iterator_tag>() ,
+ 1usize , concat ! (
+ "Alignment of " , stringify ! (
+ random_access_iterator_tag ) ));
+ }
+ impl Clone for random_access_iterator_tag {
+ fn clone(&self) -> Self { *self }
+ }
+ #[repr(C)]
+ #[derive(Debug, Copy, Clone)]
+ pub struct iterator<_Category, _Tp, _Distance, _Pointer, _Reference> {
+ pub _address: u8,
+ pub _phantom_0: ::std::marker::PhantomData<_Category>,
+ pub _phantom_1: ::std::marker::PhantomData<_Tp>,
+ pub _phantom_2: ::std::marker::PhantomData<_Distance>,
+ pub _phantom_3: ::std::marker::PhantomData<_Pointer>,
+ pub _phantom_4: ::std::marker::PhantomData<_Reference>,
+ }
+ pub type iterator_value_type<_Tp> = _Tp;
+ pub type iterator_difference_type<_Distance> = _Distance;
+ pub type iterator_pointer<_Pointer> = _Pointer;
+ pub type iterator_reference<_Reference> = _Reference;
+ pub type iterator_iterator_category<_Category> = _Category;
+ #[repr(C)]
+ #[derive(Debug, Copy, Clone)]
+ pub struct __bit_const_reference<_Cp> {
+ pub __seg_: root::std::__bit_const_reference___storage_pointer<_Cp>,
+ pub __mask_: root::std::__bit_const_reference___storage_type<_Cp>,
+ }
+ pub type __bit_const_reference___storage_type<_Cp> = _Cp;
+ pub type __bit_const_reference___storage_pointer<_Cp> = _Cp;
}
- pub mod __gnu_cxx {
- #[allow(unused_imports)]
- use self::super::super::root;
- }
- pub type va_list = root::__builtin_va_list;
+ pub type __darwin_va_list = root::__builtin_va_list;
+ pub type va_list = root::__darwin_va_list;
/**
* MozRefCountType is Mozilla's reference count type.
*
@@ -7743,6 +7792,7 @@ pub mod root {
NS_ERROR_UNSAFE_CONTENT_TYPE = 2152398922,
NS_ERROR_REMOTE_XUL = 2152398923,
NS_ERROR_LOAD_SHOWED_ERRORPAGE = 2152398925,
+ NS_ERROR_DOCSHELL_DYING = 2152398926,
NS_ERROR_FTP_LOGIN = 2152398869,
NS_ERROR_FTP_CWD = 2152398870,
NS_ERROR_FTP_PASV = 2152398871,
@@ -7890,25 +7940,22 @@ pub mod root {
NS_ERROR_DOM_BAD_URI = 2152924148,
NS_ERROR_DOM_RETVAL_UNDEFINED = 2152924149,
NS_ERROR_DOM_QUOTA_REACHED = 2152924150,
- NS_ERROR_DOM_JS_EXCEPTION = 2152924151,
- NS_ERROR_UNCATCHABLE_EXCEPTION = 2152924152,
- NS_ERROR_DOM_DOMEXCEPTION = 2152924153,
- NS_ERROR_DOM_EXCEPTION_ON_JSCONTEXT = 2152924154,
- NS_ERROR_DOM_MALFORMED_URI = 2152924155,
- NS_ERROR_DOM_INVALID_HEADER_NAME = 2152924156,
- NS_ERROR_DOM_INVALID_STATE_XHR_HAS_INVALID_CONTEXT = 2152924157,
- NS_ERROR_DOM_INVALID_STATE_XHR_MUST_BE_OPENED = 2152924158,
- NS_ERROR_DOM_INVALID_STATE_XHR_MUST_NOT_BE_SENDING = 2152924159,
+ NS_ERROR_UNCATCHABLE_EXCEPTION = 2152924151,
+ NS_ERROR_DOM_MALFORMED_URI = 2152924152,
+ NS_ERROR_DOM_INVALID_HEADER_NAME = 2152924153,
+ NS_ERROR_DOM_INVALID_STATE_XHR_HAS_INVALID_CONTEXT = 2152924154,
+ NS_ERROR_DOM_INVALID_STATE_XHR_MUST_BE_OPENED = 2152924155,
+ NS_ERROR_DOM_INVALID_STATE_XHR_MUST_NOT_BE_SENDING = 2152924156,
NS_ERROR_DOM_INVALID_STATE_XHR_MUST_NOT_BE_LOADING_OR_DONE =
- 2152924160,
+ 2152924157,
NS_ERROR_DOM_INVALID_STATE_XHR_HAS_WRONG_RESPONSETYPE_FOR_RESPONSEXML
- = 2152924161,
+ = 2152924158,
NS_ERROR_DOM_INVALID_STATE_XHR_HAS_WRONG_RESPONSETYPE_FOR_RESPONSETEXT
- = 2152924162,
+ = 2152924159,
NS_ERROR_DOM_INVALID_STATE_XHR_CHUNKED_RESPONSETYPES_UNSUPPORTED_FOR_SYNC
- = 2152924163,
+ = 2152924160,
NS_ERROR_DOM_INVALID_ACCESS_XHR_TIMEOUT_AND_RESPONSETYPE_UNSUPPORTED_FOR_SYNC
- = 2152924164,
+ = 2152924161,
NS_SUCCESS_DOM_NO_OPERATION = 5439489,
NS_SUCCESS_DOM_SCRIPT_EVALUATION_THREW = 5439490,
NS_SUCCESS_DOM_SCRIPT_EVALUATION_THREW_UNCATCHABLE = 5439491,
@@ -8131,6 +8178,11 @@ pub mod root {
NS_ERROR_UC_UPDATE_WRONG_REMOVAL_INDICES = 2154758148,
NS_ERROR_UC_UPDATE_CHECKSUM_MISMATCH = 2154758149,
NS_ERROR_UC_UPDATE_MISSING_CHECKSUM = 2154758150,
+ NS_ERROR_INTERNAL_ERRORRESULT_JS_EXCEPTION = 2154823681,
+ NS_ERROR_INTERNAL_ERRORRESULT_DOMEXCEPTION = 2154823682,
+ NS_ERROR_INTERNAL_ERRORRESULT_EXCEPTION_ON_JSCONTEXT = 2154823683,
+ NS_ERROR_INTERNAL_ERRORRESULT_TYPEERROR = 2154823684,
+ NS_ERROR_INTERNAL_ERRORRESULT_RANGEERROR = 2154823685,
NS_ERROR_DOWNLOAD_COMPLETE = 2155347969,
NS_ERROR_DOWNLOAD_NOT_PARTIAL = 2155347970,
NS_ERROR_UNORM_MOREOUTPUT = 2155348001,
@@ -8697,6 +8749,29 @@ pub mod root {
#[repr(i32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum TenuredHeap__bindgen_ty_1 { maskBits = 0, }
+ #[repr(C)]
+ #[derive(Debug, Copy)]
+ pub struct ConstUTF8CharsZ {
+ pub data_: *const ::std::os::raw::c_char,
+ }
+ pub type ConstUTF8CharsZ_CharT = ::std::os::raw::c_uchar;
+ #[test]
+ fn bindgen_test_layout_ConstUTF8CharsZ() {
+ assert_eq!(::std::mem::size_of::<ConstUTF8CharsZ>() , 8usize ,
+ concat ! (
+ "Size of: " , stringify ! ( ConstUTF8CharsZ ) ));
+ assert_eq! (::std::mem::align_of::<ConstUTF8CharsZ>() , 8usize ,
+ concat ! (
+ "Alignment of " , stringify ! ( ConstUTF8CharsZ ) ));
+ assert_eq! (unsafe {
+ & ( * ( 0 as * const ConstUTF8CharsZ ) ) . data_ as *
+ const _ as usize } , 0usize , concat ! (
+ "Alignment of field: " , stringify ! ( ConstUTF8CharsZ
+ ) , "::" , stringify ! ( data_ ) ));
+ }
+ impl Clone for ConstUTF8CharsZ {
+ fn clone(&self) -> Self { *self }
+ }
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
@@ -8745,6 +8820,24 @@ pub mod root {
pub struct Statistics([u8; 0]);
}
#[repr(C)]
+ #[derive(Debug, Copy)]
+ pub struct SystemAllocPolicy {
+ pub _address: u8,
+ }
+ #[test]
+ fn bindgen_test_layout_SystemAllocPolicy() {
+ assert_eq!(::std::mem::size_of::<SystemAllocPolicy>() , 1usize ,
+ concat ! (
+ "Size of: " , stringify ! ( SystemAllocPolicy ) ));
+ assert_eq! (::std::mem::align_of::<SystemAllocPolicy>() , 1usize ,
+ concat ! (
+ "Alignment of " , stringify ! ( SystemAllocPolicy )
+ ));
+ }
+ impl Clone for SystemAllocPolicy {
+ fn clone(&self) -> Self { *self }
+ }
+ #[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct WrappedPtrOperations<Element, Wrapper> {
pub _address: u8,
@@ -10479,6 +10572,158 @@ pub mod root {
}
#[repr(C)]
#[derive(Debug, Copy)]
+ pub struct JSErrorFormatString {
+ /** The error message name in ASCII. */
+ pub name: *const ::std::os::raw::c_char,
+ /** The error format string in ASCII. */
+ pub format: *const ::std::os::raw::c_char,
+ /** The number of arguments to expand in the formatted error message. */
+ pub argCount: u16,
+ /** One of the JSExnType constants above. */
+ pub exnType: i16,
+ }
+ #[test]
+ fn bindgen_test_layout_JSErrorFormatString() {
+ assert_eq!(::std::mem::size_of::<JSErrorFormatString>() , 24usize ,
+ concat ! (
+ "Size of: " , stringify ! ( JSErrorFormatString ) ));
+ assert_eq! (::std::mem::align_of::<JSErrorFormatString>() , 8usize ,
+ concat ! (
+ "Alignment of " , stringify ! ( JSErrorFormatString ) ));
+ assert_eq! (unsafe {
+ & ( * ( 0 as * const JSErrorFormatString ) ) . name as *
+ const _ as usize } , 0usize , concat ! (
+ "Alignment of field: " , stringify ! ( JSErrorFormatString
+ ) , "::" , stringify ! ( name ) ));
+ assert_eq! (unsafe {
+ & ( * ( 0 as * const JSErrorFormatString ) ) . format as *
+ const _ as usize } , 8usize , concat ! (
+ "Alignment of field: " , stringify ! ( JSErrorFormatString
+ ) , "::" , stringify ! ( format ) ));
+ assert_eq! (unsafe {
+ & ( * ( 0 as * const JSErrorFormatString ) ) . argCount as
+ * const _ as usize } , 16usize , concat ! (
+ "Alignment of field: " , stringify ! ( JSErrorFormatString
+ ) , "::" , stringify ! ( argCount ) ));
+ assert_eq! (unsafe {
+ & ( * ( 0 as * const JSErrorFormatString ) ) . exnType as
+ * const _ as usize } , 18usize , concat ! (
+ "Alignment of field: " , stringify ! ( JSErrorFormatString
+ ) , "::" , stringify ! ( exnType ) ));
+ }
+ impl Clone for JSErrorFormatString {
+ fn clone(&self) -> Self { *self }
+ }
+ pub type JSErrorCallback =
+ ::std::option::Option<unsafe extern "C" fn(userRef:
+ *mut ::std::os::raw::c_void,
+ errorNumber:
+ ::std::os::raw::c_uint)
+ -> *const root::JSErrorFormatString>;
+ /**
+ * Base class that implements parts shared by JSErrorReport and
+ * JSErrorNotes::Note.
+ */
+ #[repr(C)]
+ #[derive(Debug)]
+ pub struct JSErrorBase {
+ pub message_: root::JS::ConstUTF8CharsZ,
+ pub filename: *const ::std::os::raw::c_char,
+ pub lineno: ::std::os::raw::c_uint,
+ pub column: ::std::os::raw::c_uint,
+ pub errorNumber: ::std::os::raw::c_uint,
+ pub _bitfield_1: u8,
+ pub __bindgen_padding_0: [u8; 3usize],
+ }
+ #[test]
+ fn bindgen_test_layout_JSErrorBase() {
+ assert_eq!(::std::mem::size_of::<JSErrorBase>() , 32usize , concat ! (
+ "Size of: " , stringify ! ( JSErrorBase ) ));
+ assert_eq! (::std::mem::align_of::<JSErrorBase>() , 8usize , concat !
+ ( "Alignment of " , stringify ! ( JSErrorBase ) ));
+ assert_eq! (unsafe {
+ & ( * ( 0 as * const JSErrorBase ) ) . message_ as * const
+ _ as usize } , 0usize , concat ! (
+ "Alignment of field: " , stringify ! ( JSErrorBase ) ,
+ "::" , stringify ! ( message_ ) ));
+ assert_eq! (unsafe {
+ & ( * ( 0 as * const JSErrorBase ) ) . filename as * const
+ _ as usize } , 8usize , concat ! (
+ "Alignment of field: " , stringify ! ( JSErrorBase ) ,
+ "::" , stringify ! ( filename ) ));
+ assert_eq! (unsafe {
+ & ( * ( 0 as * const JSErrorBase ) ) . lineno as * const _
+ as usize } , 16usize , concat ! (
+ "Alignment of field: " , stringify ! ( JSErrorBase ) ,
+ "::" , stringify ! ( lineno ) ));
+ assert_eq! (unsafe {
+ & ( * ( 0 as * const JSErrorBase ) ) . column as * const _
+ as usize } , 20usize , concat ! (
+ "Alignment of field: " , stringify ! ( JSErrorBase ) ,
+ "::" , stringify ! ( column ) ));
+ assert_eq! (unsafe {
+ & ( * ( 0 as * const JSErrorBase ) ) . errorNumber as *
+ const _ as usize } , 24usize , concat ! (
+ "Alignment of field: " , stringify ! ( JSErrorBase ) ,
+ "::" , stringify ! ( errorNumber ) ));
+ }
+ /**
+ * Notes associated with JSErrorReport.
+ */
+ #[repr(C)]
+ #[derive(Debug)]
+ pub struct JSErrorNotes {
+ pub notes_: [u64; 4usize],
+ }
+ #[repr(C)]
+ #[derive(Debug)]
+ pub struct JSErrorNotes_Note {
+ pub _base: root::JSErrorBase,
+ }
+ #[test]
+ fn bindgen_test_layout_JSErrorNotes_Note() {
+ assert_eq!(::std::mem::size_of::<JSErrorNotes_Note>() , 32usize ,
+ concat ! ( "Size of: " , stringify ! ( JSErrorNotes_Note )
+ ));
+ assert_eq! (::std::mem::align_of::<JSErrorNotes_Note>() , 8usize ,
+ concat ! (
+ "Alignment of " , stringify ! ( JSErrorNotes_Note ) ));
+ }
+ #[repr(C)]
+ #[derive(Debug)]
+ pub struct JSErrorNotes_iterator {
+ pub note_: *mut root::mozilla::UniquePtr<root::JSErrorNotes_Note,
+ root::JS::DeletePolicy<root::JSErrorNotes_Note>>,
+ }
+ #[test]
+ fn bindgen_test_layout_JSErrorNotes_iterator() {
+ assert_eq!(::std::mem::size_of::<JSErrorNotes_iterator>() , 8usize ,
+ concat ! (
+ "Size of: " , stringify ! ( JSErrorNotes_iterator ) ));
+ assert_eq! (::std::mem::align_of::<JSErrorNotes_iterator>() , 8usize ,
+ concat ! (
+ "Alignment of " , stringify ! ( JSErrorNotes_iterator )
+ ));
+ assert_eq! (unsafe {
+ & ( * ( 0 as * const JSErrorNotes_iterator ) ) . note_ as
+ * const _ as usize } , 0usize , concat ! (
+ "Alignment of field: " , stringify ! (
+ JSErrorNotes_iterator ) , "::" , stringify ! ( note_ ) ));
+ }
+ #[test]
+ fn bindgen_test_layout_JSErrorNotes() {
+ assert_eq!(::std::mem::size_of::<JSErrorNotes>() , 32usize , concat !
+ ( "Size of: " , stringify ! ( JSErrorNotes ) ));
+ assert_eq! (::std::mem::align_of::<JSErrorNotes>() , 8usize , concat !
+ ( "Alignment of " , stringify ! ( JSErrorNotes ) ));
+ assert_eq! (unsafe {
+ & ( * ( 0 as * const JSErrorNotes ) ) . notes_ as * const
+ _ as usize } , 0usize , concat ! (
+ "Alignment of field: " , stringify ! ( JSErrorNotes ) ,
+ "::" , stringify ! ( notes_ ) ));
+ }
+ #[repr(C)]
+ #[derive(Debug, Copy)]
pub struct nsIEventTarget {
pub _base: root::nsISupports,
}
@@ -11031,14 +11276,6 @@ pub mod root {
eDetached = 2,
eAttributeChanged = 3,
}
- #[repr(i32)]
- #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
- pub enum nsIDocument_FlashClassification {
- Unclassified = 0,
- Unknown = 1,
- Allowed = 2,
- Denied = 3,
- }
#[repr(u32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum nsIDocument_Type {
@@ -11560,7 +11797,7 @@ pub mod root {
pub mEffectCompositor: root::RefPtr<root::mozilla::EffectCompositor>,
pub mTransitionManager: root::RefPtr<root::nsTransitionManager>,
pub mAnimationManager: root::RefPtr<root::nsAnimationManager>,
- pub mRestyleManager: root::mozilla::RestyleManagerHandle_RefPtr,
+ pub mRestyleManager: root::RefPtr<root::mozilla::RestyleManager>,
pub mCounterStyleManager: root::RefPtr<root::mozilla::CounterStyleManager>,
pub mMedium: *mut root::nsIAtom,
pub mMediaEmulated: root::nsCOMPtr<root::nsIAtom>,
@@ -11580,8 +11817,7 @@ pub mod root {
pub mPrintSettings: root::nsCOMPtr<root::nsIPrintSettings>,
pub mPrefChangedTimer: root::nsCOMPtr<root::nsITimer>,
pub mPropertyTable: root::nsPresContext_FramePropertyTable,
- pub mInvalidateRequestsSinceLastPaint: root::nsInvalidateRequestList,
- pub mUndeliveredInvalidateRequestsBeforeLastPaint: root::nsInvalidateRequestList,
+ pub mTransactions: [u64; 10usize],
pub mTextPerf: root::nsAutoPtr<root::gfxTextPerfMetrics>,
pub mMissingFonts: root::nsAutoPtr<root::gfxMissingFontRecorder>,
pub mVisibleArea: root::nsRect,
@@ -11608,7 +11844,7 @@ pub mod root {
pub mFramesConstructed: u64,
pub mFramesReflowed: u64,
pub mReflowStartTime: root::mozilla::TimeStamp,
- pub mFirstPaintTime: root::mozilla::TimeStamp,
+ pub mFirstNonBlankPaintTime: root::mozilla::TimeStamp,
pub mFirstClickTime: root::mozilla::TimeStamp,
pub mFirstKeyTime: root::mozilla::TimeStamp,
pub mFirstMouseMoveTime: root::mozilla::TimeStamp,
@@ -11701,6 +11937,39 @@ pub mod root {
nsPresContext_InterruptPreventer ) , "::" , stringify ! (
mHasPendingInterrupt ) ));
}
+ #[repr(C)]
+ #[derive(Debug)]
+ pub struct nsPresContext_TransactionInvalidations {
+ pub mTransactionId: u64,
+ pub mInvalidations: root::nsTArray<root::nsRect>,
+ }
+ #[test]
+ fn bindgen_test_layout_nsPresContext_TransactionInvalidations() {
+ assert_eq!(::std::mem::size_of::<nsPresContext_TransactionInvalidations>()
+ , 16usize , concat ! (
+ "Size of: " , stringify ! (
+ nsPresContext_TransactionInvalidations ) ));
+ assert_eq! (::std::mem::align_of::<nsPresContext_TransactionInvalidations>()
+ , 8usize , concat ! (
+ "Alignment of " , stringify ! (
+ nsPresContext_TransactionInvalidations ) ));
+ assert_eq! (unsafe {
+ & (
+ * ( 0 as * const nsPresContext_TransactionInvalidations )
+ ) . mTransactionId as * const _ as usize } , 0usize ,
+ concat ! (
+ "Alignment of field: " , stringify ! (
+ nsPresContext_TransactionInvalidations ) , "::" ,
+ stringify ! ( mTransactionId ) ));
+ assert_eq! (unsafe {
+ & (
+ * ( 0 as * const nsPresContext_TransactionInvalidations )
+ ) . mInvalidations as * const _ as usize } , 8usize ,
+ concat ! (
+ "Alignment of field: " , stringify ! (
+ nsPresContext_TransactionInvalidations ) , "::" ,
+ stringify ! ( mInvalidations ) ));
+ }
extern "C" {
#[link_name = "_ZN13nsPresContext21_cycleCollectorGlobalE"]
pub static mut nsPresContext__cycleCollectorGlobal:
@@ -11708,7 +11977,7 @@ pub mod root {
}
#[test]
fn bindgen_test_layout_nsPresContext() {
- assert_eq!(::std::mem::size_of::<nsPresContext>() , 1264usize , concat
+ assert_eq!(::std::mem::size_of::<nsPresContext>() , 1328usize , concat
! ( "Size of: " , stringify ! ( nsPresContext ) ));
assert_eq! (::std::mem::align_of::<nsPresContext>() , 8usize , concat
! ( "Alignment of " , stringify ! ( nsPresContext ) ));
@@ -11870,193 +12139,185 @@ pub mod root {
"Alignment of field: " , stringify ! ( nsPresContext ) ,
"::" , stringify ! ( mPropertyTable ) ));
assert_eq! (unsafe {
- & ( * ( 0 as * const nsPresContext ) ) .
- mInvalidateRequestsSinceLastPaint as * const _ as usize }
- , 288usize , concat ! (
+ & ( * ( 0 as * const nsPresContext ) ) . mTransactions as
+ * const _ as usize } , 288usize , concat ! (
"Alignment of field: " , stringify ! ( nsPresContext ) ,
- "::" , stringify ! ( mInvalidateRequestsSinceLastPaint )
- ));
- assert_eq! (unsafe {
- & ( * ( 0 as * const nsPresContext ) ) .
- mUndeliveredInvalidateRequestsBeforeLastPaint as * const _
- as usize } , 296usize , concat ! (
- "Alignment of field: " , stringify ! ( nsPresContext ) ,
- "::" , stringify ! (
- mUndeliveredInvalidateRequestsBeforeLastPaint ) ));
+ "::" , stringify ! ( mTransactions ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const nsPresContext ) ) . mTextPerf as *
- const _ as usize } , 304usize , concat ! (
+ const _ as usize } , 368usize , concat ! (
"Alignment of field: " , stringify ! ( nsPresContext ) ,
"::" , stringify ! ( mTextPerf ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const nsPresContext ) ) . mMissingFonts as
- * const _ as usize } , 312usize , concat ! (
+ * const _ as usize } , 376usize , concat ! (
"Alignment of field: " , stringify ! ( nsPresContext ) ,
"::" , stringify ! ( mMissingFonts ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const nsPresContext ) ) . mVisibleArea as *
- const _ as usize } , 320usize , concat ! (
+ const _ as usize } , 384usize , concat ! (
"Alignment of field: " , stringify ! ( nsPresContext ) ,
"::" , stringify ! ( mVisibleArea ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const nsPresContext ) ) . mPageSize as *
- const _ as usize } , 336usize , concat ! (
+ const _ as usize } , 400usize , concat ! (
"Alignment of field: " , stringify ! ( nsPresContext ) ,
"::" , stringify ! ( mPageSize ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const nsPresContext ) ) . mPageScale as *
- const _ as usize } , 344usize , concat ! (
+ const _ as usize } , 408usize , concat ! (
"Alignment of field: " , stringify ! ( nsPresContext ) ,
"::" , stringify ! ( mPageScale ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const nsPresContext ) ) . mPPScale as *
- const _ as usize } , 348usize , concat ! (
+ const _ as usize } , 412usize , concat ! (
"Alignment of field: " , stringify ! ( nsPresContext ) ,
"::" , stringify ! ( mPPScale ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const nsPresContext ) ) . mDefaultColor as
- * const _ as usize } , 352usize , concat ! (
+ * const _ as usize } , 416usize , concat ! (
"Alignment of field: " , stringify ! ( nsPresContext ) ,
"::" , stringify ! ( mDefaultColor ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const nsPresContext ) ) . mBackgroundColor
- as * const _ as usize } , 356usize , concat ! (
+ as * const _ as usize } , 420usize , concat ! (
"Alignment of field: " , stringify ! ( nsPresContext ) ,
"::" , stringify ! ( mBackgroundColor ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const nsPresContext ) ) . mLinkColor as *
- const _ as usize } , 360usize , concat ! (
+ const _ as usize } , 424usize , concat ! (
"Alignment of field: " , stringify ! ( nsPresContext ) ,
"::" , stringify ! ( mLinkColor ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const nsPresContext ) ) . mActiveLinkColor
- as * const _ as usize } , 364usize , concat ! (
+ as * const _ as usize } , 428usize , concat ! (
"Alignment of field: " , stringify ! ( nsPresContext ) ,
"::" , stringify ! ( mActiveLinkColor ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const nsPresContext ) ) . mVisitedLinkColor
- as * const _ as usize } , 368usize , concat ! (
+ as * const _ as usize } , 432usize , concat ! (
"Alignment of field: " , stringify ! ( nsPresContext ) ,
"::" , stringify ! ( mVisitedLinkColor ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const nsPresContext ) ) .
- mFocusBackgroundColor as * const _ as usize } , 372usize ,
+ mFocusBackgroundColor as * const _ as usize } , 436usize ,
concat ! (
"Alignment of field: " , stringify ! ( nsPresContext ) ,
"::" , stringify ! ( mFocusBackgroundColor ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const nsPresContext ) ) . mFocusTextColor
- as * const _ as usize } , 376usize , concat ! (
+ as * const _ as usize } , 440usize , concat ! (
"Alignment of field: " , stringify ! ( nsPresContext ) ,
"::" , stringify ! ( mFocusTextColor ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const nsPresContext ) ) . mBodyTextColor as
- * const _ as usize } , 380usize , concat ! (
+ * const _ as usize } , 444usize , concat ! (
"Alignment of field: " , stringify ! ( nsPresContext ) ,
"::" , stringify ! ( mBodyTextColor ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const nsPresContext ) ) .
- mViewportStyleScrollbar as * const _ as usize } , 384usize
+ mViewportStyleScrollbar as * const _ as usize } , 448usize
, concat ! (
"Alignment of field: " , stringify ! ( nsPresContext ) ,
"::" , stringify ! ( mViewportStyleScrollbar ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const nsPresContext ) ) . mFocusRingWidth
- as * const _ as usize } , 448usize , concat ! (
+ as * const _ as usize } , 512usize , concat ! (
"Alignment of field: " , stringify ! ( nsPresContext ) ,
"::" , stringify ! ( mFocusRingWidth ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const nsPresContext ) ) .
- mExistThrottledUpdates as * const _ as usize } , 449usize
+ mExistThrottledUpdates as * const _ as usize } , 513usize
, concat ! (
"Alignment of field: " , stringify ! ( nsPresContext ) ,
"::" , stringify ! ( mExistThrottledUpdates ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const nsPresContext ) ) .
- mImageAnimationMode as * const _ as usize } , 450usize ,
+ mImageAnimationMode as * const _ as usize } , 514usize ,
concat ! (
"Alignment of field: " , stringify ! ( nsPresContext ) ,
"::" , stringify ! ( mImageAnimationMode ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const nsPresContext ) ) .
- mImageAnimationModePref as * const _ as usize } , 452usize
+ mImageAnimationModePref as * const _ as usize } , 516usize
, concat ! (
"Alignment of field: " , stringify ! ( nsPresContext ) ,
"::" , stringify ! ( mImageAnimationModePref ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const nsPresContext ) ) .
- mLangGroupFontPrefs as * const _ as usize } , 456usize ,
+ mLangGroupFontPrefs as * const _ as usize } , 520usize ,
concat ! (
"Alignment of field: " , stringify ! ( nsPresContext ) ,
"::" , stringify ! ( mLangGroupFontPrefs ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const nsPresContext ) ) . mBorderWidthTable
- as * const _ as usize } , 1152usize , concat ! (
+ as * const _ as usize } , 1216usize , concat ! (
"Alignment of field: " , stringify ! ( nsPresContext ) ,
"::" , stringify ! ( mBorderWidthTable ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const nsPresContext ) ) .
- mInterruptChecksToSkip as * const _ as usize } , 1164usize
+ mInterruptChecksToSkip as * const _ as usize } , 1228usize
, concat ! (
"Alignment of field: " , stringify ! ( nsPresContext ) ,
"::" , stringify ! ( mInterruptChecksToSkip ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const nsPresContext ) ) . mElementsRestyled
- as * const _ as usize } , 1168usize , concat ! (
+ as * const _ as usize } , 1232usize , concat ! (
"Alignment of field: " , stringify ! ( nsPresContext ) ,
"::" , stringify ! ( mElementsRestyled ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const nsPresContext ) ) .
- mFramesConstructed as * const _ as usize } , 1176usize ,
+ mFramesConstructed as * const _ as usize } , 1240usize ,
concat ! (
"Alignment of field: " , stringify ! ( nsPresContext ) ,
"::" , stringify ! ( mFramesConstructed ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const nsPresContext ) ) . mFramesReflowed
- as * const _ as usize } , 1184usize , concat ! (
+ as * const _ as usize } , 1248usize , concat ! (
"Alignment of field: " , stringify ! ( nsPresContext ) ,
"::" , stringify ! ( mFramesReflowed ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const nsPresContext ) ) . mReflowStartTime
- as * const _ as usize } , 1192usize , concat ! (
+ as * const _ as usize } , 1256usize , concat ! (
"Alignment of field: " , stringify ! ( nsPresContext ) ,
"::" , stringify ! ( mReflowStartTime ) ));
assert_eq! (unsafe {
- & ( * ( 0 as * const nsPresContext ) ) . mFirstPaintTime
- as * const _ as usize } , 1200usize , concat ! (
+ & ( * ( 0 as * const nsPresContext ) ) .
+ mFirstNonBlankPaintTime as * const _ as usize } ,
+ 1264usize , concat ! (
"Alignment of field: " , stringify ! ( nsPresContext ) ,
- "::" , stringify ! ( mFirstPaintTime ) ));
+ "::" , stringify ! ( mFirstNonBlankPaintTime ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const nsPresContext ) ) . mFirstClickTime
- as * const _ as usize } , 1208usize , concat ! (
+ as * const _ as usize } , 1272usize , concat ! (
"Alignment of field: " , stringify ! ( nsPresContext ) ,
"::" , stringify ! ( mFirstClickTime ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const nsPresContext ) ) . mFirstKeyTime as
- * const _ as usize } , 1216usize , concat ! (
+ * const _ as usize } , 1280usize , concat ! (
"Alignment of field: " , stringify ! ( nsPresContext ) ,
"::" , stringify ! ( mFirstKeyTime ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const nsPresContext ) ) .
- mFirstMouseMoveTime as * const _ as usize } , 1224usize ,
+ mFirstMouseMoveTime as * const _ as usize } , 1288usize ,
concat ! (
"Alignment of field: " , stringify ! ( nsPresContext ) ,
"::" , stringify ! ( mFirstMouseMoveTime ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const nsPresContext ) ) . mFirstScrollTime
- as * const _ as usize } , 1232usize , concat ! (
+ as * const _ as usize } , 1296usize , concat ! (
"Alignment of field: " , stringify ! ( nsPresContext ) ,
"::" , stringify ! ( mFirstScrollTime ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const nsPresContext ) ) .
mInteractionTimeEnabled as * const _ as usize } ,
- 1240usize , concat ! (
+ 1304usize , concat ! (
"Alignment of field: " , stringify ! ( nsPresContext ) ,
"::" , stringify ! ( mInteractionTimeEnabled ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const nsPresContext ) ) .
mLastStyleUpdateForAllAnimations as * const _ as usize } ,
- 1248usize , concat ! (
+ 1312usize , concat ! (
"Alignment of field: " , stringify ! ( nsPresContext ) ,
"::" , stringify ! ( mLastStyleUpdateForAllAnimations )
));
@@ -12471,6 +12732,57 @@ pub mod root {
fn clone(&self) -> Self { *self }
}
pub type nsWeakPtr = root::nsCOMPtr<root::nsIWeakReference>;
+ pub mod xpc {
+ #[allow(unused_imports)]
+ use self::super::super::root;
+ #[repr(C)]
+ #[derive(Debug)]
+ pub struct ErrorBase {
+ pub mErrorMsg: ::nsstring::nsStringRepr,
+ pub mFileName: ::nsstring::nsStringRepr,
+ pub mLineNumber: u32,
+ pub mColumn: u32,
+ }
+ #[test]
+ fn bindgen_test_layout_ErrorBase() {
+ assert_eq!(::std::mem::size_of::<ErrorBase>() , 40usize , concat !
+ ( "Size of: " , stringify ! ( ErrorBase ) ));
+ assert_eq! (::std::mem::align_of::<ErrorBase>() , 8usize , concat
+ ! ( "Alignment of " , stringify ! ( ErrorBase ) ));
+ assert_eq! (unsafe {
+ & ( * ( 0 as * const ErrorBase ) ) . mErrorMsg as *
+ const _ as usize } , 0usize , concat ! (
+ "Alignment of field: " , stringify ! ( ErrorBase ) ,
+ "::" , stringify ! ( mErrorMsg ) ));
+ assert_eq! (unsafe {
+ & ( * ( 0 as * const ErrorBase ) ) . mFileName as *
+ const _ as usize } , 16usize , concat ! (
+ "Alignment of field: " , stringify ! ( ErrorBase ) ,
+ "::" , stringify ! ( mFileName ) ));
+ assert_eq! (unsafe {
+ & ( * ( 0 as * const ErrorBase ) ) . mLineNumber as *
+ const _ as usize } , 32usize , concat ! (
+ "Alignment of field: " , stringify ! ( ErrorBase ) ,
+ "::" , stringify ! ( mLineNumber ) ));
+ assert_eq! (unsafe {
+ & ( * ( 0 as * const ErrorBase ) ) . mColumn as *
+ const _ as usize } , 36usize , concat ! (
+ "Alignment of field: " , stringify ! ( ErrorBase ) ,
+ "::" , stringify ! ( mColumn ) ));
+ }
+ #[repr(C)]
+ #[derive(Debug)]
+ pub struct ErrorNote {
+ pub _base: root::xpc::ErrorBase,
+ }
+ #[test]
+ fn bindgen_test_layout_ErrorNote() {
+ assert_eq!(::std::mem::size_of::<ErrorNote>() , 40usize , concat !
+ ( "Size of: " , stringify ! ( ErrorNote ) ));
+ assert_eq! (::std::mem::align_of::<ErrorNote>() , 8usize , concat
+ ! ( "Alignment of " , stringify ! ( ErrorNote ) ));
+ }
+ }
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct PRLock([u8; 0]);
@@ -12836,15 +13148,15 @@ pub mod root {
ParentIsContent = 2,
NodeIsElement = 3,
ElementHasID = 4,
- ElementMayHaveStyle = 5,
- ElementHasName = 6,
- ElementMayHaveContentEditableAttr = 7,
- NodeIsCommonAncestorForRangeInSelection = 8,
- NodeIsDescendantOfCommonAncestorForRangeInSelection = 9,
- NodeIsCCMarkedRoot = 10,
- NodeIsCCBlackTree = 11,
- NodeIsPurpleRoot = 12,
- NodeHasExplicitBaseURI = 13,
+ ElementMayHaveClass = 5,
+ ElementMayHaveStyle = 6,
+ ElementHasName = 7,
+ ElementMayHaveContentEditableAttr = 8,
+ NodeIsCommonAncestorForRangeInSelection = 9,
+ NodeIsDescendantOfCommonAncestorForRangeInSelection = 10,
+ NodeIsCCMarkedRoot = 11,
+ NodeIsCCBlackTree = 12,
+ NodeIsPurpleRoot = 13,
ElementHasLockedStyleStates = 14,
ElementHasPointerLock = 15,
NodeMayHaveDOMMutationObserver = 16,
@@ -13907,7 +14219,6 @@ pub mod root {
pub mSelection: root::RefPtr<root::nsFrameSelection>,
pub mFrameManager: *mut root::nsFrameManagerBase,
pub mForwardingContainer: u64,
- pub mHiddenInvalidationObserverRefreshDriver: *mut root::nsRefreshDriver,
pub mDocAccessible: *mut root::mozilla::a11y::DocAccessible,
pub mReflowContinueTimer: root::nsCOMPtr<root::nsITimer>,
pub mPaintCount: u64,
@@ -13930,6 +14241,7 @@ pub mod root {
pub mPaintingIsFrozen: bool,
pub mFontSizeInflationEnabledIsDirty: bool,
pub mIsNeverPainting: bool,
+ pub mInFlush: bool,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
@@ -14247,7 +14559,7 @@ pub mod root {
}
#[test]
fn bindgen_test_layout_nsIPresShell() {
- assert_eq!(::std::mem::size_of::<nsIPresShell>() , 344usize , concat !
+ assert_eq!(::std::mem::size_of::<nsIPresShell>() , 336usize , concat !
( "Size of: " , stringify ! ( nsIPresShell ) ));
assert_eq! (::std::mem::align_of::<nsIPresShell>() , 8usize , concat !
( "Alignment of " , stringify ! ( nsIPresShell ) ));
@@ -14298,126 +14610,124 @@ pub mod root {
"Alignment of field: " , stringify ! ( nsIPresShell ) ,
"::" , stringify ! ( mForwardingContainer ) ));
assert_eq! (unsafe {
- & ( * ( 0 as * const nsIPresShell ) ) .
- mHiddenInvalidationObserverRefreshDriver as * const _ as
- usize } , 208usize , concat ! (
- "Alignment of field: " , stringify ! ( nsIPresShell ) ,
- "::" , stringify ! (
- mHiddenInvalidationObserverRefreshDriver ) ));
- assert_eq! (unsafe {
& ( * ( 0 as * const nsIPresShell ) ) . mDocAccessible as
- * const _ as usize } , 216usize , concat ! (
+ * const _ as usize } , 208usize , concat ! (
"Alignment of field: " , stringify ! ( nsIPresShell ) ,
"::" , stringify ! ( mDocAccessible ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const nsIPresShell ) ) .
- mReflowContinueTimer as * const _ as usize } , 224usize ,
+ mReflowContinueTimer as * const _ as usize } , 216usize ,
concat ! (
"Alignment of field: " , stringify ! ( nsIPresShell ) ,
"::" , stringify ! ( mReflowContinueTimer ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const nsIPresShell ) ) . mPaintCount as *
- const _ as usize } , 232usize , concat ! (
+ const _ as usize } , 224usize , concat ! (
"Alignment of field: " , stringify ! ( nsIPresShell ) ,
"::" , stringify ! ( mPaintCount ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const nsIPresShell ) ) .
mScrollPositionClampingScrollPortSize as * const _ as
- usize } , 240usize , concat ! (
+ usize } , 232usize , concat ! (
"Alignment of field: " , stringify ! ( nsIPresShell ) ,
"::" , stringify ! ( mScrollPositionClampingScrollPortSize
) ));
assert_eq! (unsafe {
& ( * ( 0 as * const nsIPresShell ) ) . mWeakFrames as *
- const _ as usize } , 248usize , concat ! (
+ const _ as usize } , 240usize , concat ! (
"Alignment of field: " , stringify ! ( nsIPresShell ) ,
"::" , stringify ! ( mWeakFrames ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const nsIPresShell ) ) .
- mCanvasBackgroundColor as * const _ as usize } , 256usize
+ mCanvasBackgroundColor as * const _ as usize } , 248usize
, concat ! (
"Alignment of field: " , stringify ! ( nsIPresShell ) ,
"::" , stringify ! ( mCanvasBackgroundColor ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const nsIPresShell ) ) . mResolution as *
- const _ as usize } , 264usize , concat ! (
+ const _ as usize } , 256usize , concat ! (
"Alignment of field: " , stringify ! ( nsIPresShell ) ,
"::" , stringify ! ( mResolution ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const nsIPresShell ) ) . mSelectionFlags as
- * const _ as usize } , 280usize , concat ! (
+ * const _ as usize } , 272usize , concat ! (
"Alignment of field: " , stringify ! ( nsIPresShell ) ,
"::" , stringify ! ( mSelectionFlags ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const nsIPresShell ) ) . mRenderFlags as *
- const _ as usize } , 282usize , concat ! (
+ const _ as usize } , 274usize , concat ! (
"Alignment of field: " , stringify ! ( nsIPresShell ) ,
"::" , stringify ! ( mRenderFlags ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const nsIPresShell ) ) . mPresShellId as *
- const _ as usize } , 288usize , concat ! (
+ const _ as usize } , 280usize , concat ! (
"Alignment of field: " , stringify ! ( nsIPresShell ) ,
"::" , stringify ! ( mPresShellId ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const nsIPresShell ) ) .
- mChangedScopeStyleRoots as * const _ as usize } , 296usize
+ mChangedScopeStyleRoots as * const _ as usize } , 288usize
, concat ! (
"Alignment of field: " , stringify ! ( nsIPresShell ) ,
"::" , stringify ! ( mChangedScopeStyleRoots ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const nsIPresShell ) ) .
mFontSizeInflationEmPerLine as * const _ as usize } ,
- 320usize , concat ! (
+ 312usize , concat ! (
"Alignment of field: " , stringify ! ( nsIPresShell ) ,
"::" , stringify ! ( mFontSizeInflationEmPerLine ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const nsIPresShell ) ) .
mFontSizeInflationMinTwips as * const _ as usize } ,
- 324usize , concat ! (
+ 316usize , concat ! (
"Alignment of field: " , stringify ! ( nsIPresShell ) ,
"::" , stringify ! ( mFontSizeInflationMinTwips ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const nsIPresShell ) ) .
mFontSizeInflationLineThreshold as * const _ as usize } ,
- 328usize , concat ! (
+ 320usize , concat ! (
"Alignment of field: " , stringify ! ( nsIPresShell ) ,
"::" , stringify ! ( mFontSizeInflationLineThreshold ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const nsIPresShell ) ) .
mFontSizeInflationForceEnabled as * const _ as usize } ,
- 332usize , concat ! (
+ 324usize , concat ! (
"Alignment of field: " , stringify ! ( nsIPresShell ) ,
"::" , stringify ! ( mFontSizeInflationForceEnabled ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const nsIPresShell ) ) .
mFontSizeInflationDisabledInMasterProcess as * const _ as
- usize } , 333usize , concat ! (
+ usize } , 325usize , concat ! (
"Alignment of field: " , stringify ! ( nsIPresShell ) ,
"::" , stringify ! (
mFontSizeInflationDisabledInMasterProcess ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const nsIPresShell ) ) .
mFontSizeInflationEnabled as * const _ as usize } ,
- 334usize , concat ! (
+ 326usize , concat ! (
"Alignment of field: " , stringify ! ( nsIPresShell ) ,
"::" , stringify ! ( mFontSizeInflationEnabled ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const nsIPresShell ) ) . mPaintingIsFrozen
- as * const _ as usize } , 335usize , concat ! (
+ as * const _ as usize } , 327usize , concat ! (
"Alignment of field: " , stringify ! ( nsIPresShell ) ,
"::" , stringify ! ( mPaintingIsFrozen ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const nsIPresShell ) ) .
mFontSizeInflationEnabledIsDirty as * const _ as usize } ,
- 336usize , concat ! (
+ 328usize , concat ! (
"Alignment of field: " , stringify ! ( nsIPresShell ) ,
"::" , stringify ! ( mFontSizeInflationEnabledIsDirty )
));
assert_eq! (unsafe {
& ( * ( 0 as * const nsIPresShell ) ) . mIsNeverPainting
- as * const _ as usize } , 337usize , concat ! (
+ as * const _ as usize } , 329usize , concat ! (
"Alignment of field: " , stringify ! ( nsIPresShell ) ,
"::" , stringify ! ( mIsNeverPainting ) ));
+ assert_eq! (unsafe {
+ & ( * ( 0 as * const nsIPresShell ) ) . mInFlush as *
+ const _ as usize } , 330usize , concat ! (
+ "Alignment of field: " , stringify ! ( nsIPresShell ) ,
+ "::" , stringify ! ( mInFlush ) ));
}
/**
* A class that implements nsIWeakReference
@@ -14453,63 +14763,63 @@ pub mod root {
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct nsDOMMutationObserver([u8; 0]);
- pub const NODE_HAS_LISTENERMANAGER: root::_bindgen_ty_91 =
- _bindgen_ty_91::NODE_HAS_LISTENERMANAGER;
- pub const NODE_HAS_PROPERTIES: root::_bindgen_ty_91 =
- _bindgen_ty_91::NODE_HAS_PROPERTIES;
- pub const NODE_IS_ANONYMOUS_ROOT: root::_bindgen_ty_91 =
- _bindgen_ty_91::NODE_IS_ANONYMOUS_ROOT;
- pub const NODE_IS_IN_NATIVE_ANONYMOUS_SUBTREE: root::_bindgen_ty_91 =
- _bindgen_ty_91::NODE_IS_IN_NATIVE_ANONYMOUS_SUBTREE;
- pub const NODE_IS_NATIVE_ANONYMOUS_ROOT: root::_bindgen_ty_91 =
- _bindgen_ty_91::NODE_IS_NATIVE_ANONYMOUS_ROOT;
- pub const NODE_FORCE_XBL_BINDINGS: root::_bindgen_ty_91 =
- _bindgen_ty_91::NODE_FORCE_XBL_BINDINGS;
- pub const NODE_MAY_BE_IN_BINDING_MNGR: root::_bindgen_ty_91 =
- _bindgen_ty_91::NODE_MAY_BE_IN_BINDING_MNGR;
- pub const NODE_IS_EDITABLE: root::_bindgen_ty_91 =
- _bindgen_ty_91::NODE_IS_EDITABLE;
- pub const NODE_MAY_HAVE_CLASS: root::_bindgen_ty_91 =
- _bindgen_ty_91::NODE_MAY_HAVE_CLASS;
- pub const NODE_IS_IN_SHADOW_TREE: root::_bindgen_ty_91 =
- _bindgen_ty_91::NODE_IS_IN_SHADOW_TREE;
- pub const NODE_HAS_EMPTY_SELECTOR: root::_bindgen_ty_91 =
- _bindgen_ty_91::NODE_HAS_EMPTY_SELECTOR;
- pub const NODE_HAS_SLOW_SELECTOR: root::_bindgen_ty_91 =
- _bindgen_ty_91::NODE_HAS_SLOW_SELECTOR;
- pub const NODE_HAS_EDGE_CHILD_SELECTOR: root::_bindgen_ty_91 =
- _bindgen_ty_91::NODE_HAS_EDGE_CHILD_SELECTOR;
- pub const NODE_HAS_SLOW_SELECTOR_LATER_SIBLINGS: root::_bindgen_ty_91 =
- _bindgen_ty_91::NODE_HAS_SLOW_SELECTOR_LATER_SIBLINGS;
- pub const NODE_ALL_SELECTOR_FLAGS: root::_bindgen_ty_91 =
- _bindgen_ty_91::NODE_ALL_SELECTOR_FLAGS;
- pub const NODE_NEEDS_FRAME: root::_bindgen_ty_91 =
- _bindgen_ty_91::NODE_NEEDS_FRAME;
- pub const NODE_DESCENDANTS_NEED_FRAMES: root::_bindgen_ty_91 =
- _bindgen_ty_91::NODE_DESCENDANTS_NEED_FRAMES;
- pub const NODE_HAS_ACCESSKEY: root::_bindgen_ty_91 =
- _bindgen_ty_91::NODE_HAS_ACCESSKEY;
- pub const NODE_HAS_DIRECTION_RTL: root::_bindgen_ty_91 =
- _bindgen_ty_91::NODE_HAS_DIRECTION_RTL;
- pub const NODE_HAS_DIRECTION_LTR: root::_bindgen_ty_91 =
- _bindgen_ty_91::NODE_HAS_DIRECTION_LTR;
- pub const NODE_ALL_DIRECTION_FLAGS: root::_bindgen_ty_91 =
- _bindgen_ty_91::NODE_ALL_DIRECTION_FLAGS;
- pub const NODE_CHROME_ONLY_ACCESS: root::_bindgen_ty_91 =
- _bindgen_ty_91::NODE_CHROME_ONLY_ACCESS;
- pub const NODE_IS_ROOT_OF_CHROME_ONLY_ACCESS: root::_bindgen_ty_91 =
- _bindgen_ty_91::NODE_IS_ROOT_OF_CHROME_ONLY_ACCESS;
- pub const NODE_SHARED_RESTYLE_BIT_1: root::_bindgen_ty_91 =
- _bindgen_ty_91::NODE_SHARED_RESTYLE_BIT_1;
- pub const NODE_SHARED_RESTYLE_BIT_2: root::_bindgen_ty_91 =
- _bindgen_ty_91::NODE_SHARED_RESTYLE_BIT_2;
- pub const NODE_HAS_DIRTY_DESCENDANTS_FOR_SERVO: root::_bindgen_ty_91 =
- _bindgen_ty_91::NODE_SHARED_RESTYLE_BIT_1;
- pub const NODE_TYPE_SPECIFIC_BITS_OFFSET: root::_bindgen_ty_91 =
- _bindgen_ty_91::NODE_TYPE_SPECIFIC_BITS_OFFSET;
+ pub const NODE_HAS_LISTENERMANAGER: root::_bindgen_ty_28 =
+ _bindgen_ty_28::NODE_HAS_LISTENERMANAGER;
+ pub const NODE_HAS_PROPERTIES: root::_bindgen_ty_28 =
+ _bindgen_ty_28::NODE_HAS_PROPERTIES;
+ pub const NODE_IS_ANONYMOUS_ROOT: root::_bindgen_ty_28 =
+ _bindgen_ty_28::NODE_IS_ANONYMOUS_ROOT;
+ pub const NODE_IS_IN_NATIVE_ANONYMOUS_SUBTREE: root::_bindgen_ty_28 =
+ _bindgen_ty_28::NODE_IS_IN_NATIVE_ANONYMOUS_SUBTREE;
+ pub const NODE_IS_NATIVE_ANONYMOUS_ROOT: root::_bindgen_ty_28 =
+ _bindgen_ty_28::NODE_IS_NATIVE_ANONYMOUS_ROOT;
+ pub const NODE_FORCE_XBL_BINDINGS: root::_bindgen_ty_28 =
+ _bindgen_ty_28::NODE_FORCE_XBL_BINDINGS;
+ pub const NODE_MAY_BE_IN_BINDING_MNGR: root::_bindgen_ty_28 =
+ _bindgen_ty_28::NODE_MAY_BE_IN_BINDING_MNGR;
+ pub const NODE_IS_EDITABLE: root::_bindgen_ty_28 =
+ _bindgen_ty_28::NODE_IS_EDITABLE;
+ pub const NODE_IS_NATIVE_ANONYMOUS: root::_bindgen_ty_28 =
+ _bindgen_ty_28::NODE_IS_NATIVE_ANONYMOUS;
+ pub const NODE_IS_IN_SHADOW_TREE: root::_bindgen_ty_28 =
+ _bindgen_ty_28::NODE_IS_IN_SHADOW_TREE;
+ pub const NODE_HAS_EMPTY_SELECTOR: root::_bindgen_ty_28 =
+ _bindgen_ty_28::NODE_HAS_EMPTY_SELECTOR;
+ pub const NODE_HAS_SLOW_SELECTOR: root::_bindgen_ty_28 =
+ _bindgen_ty_28::NODE_HAS_SLOW_SELECTOR;
+ pub const NODE_HAS_EDGE_CHILD_SELECTOR: root::_bindgen_ty_28 =
+ _bindgen_ty_28::NODE_HAS_EDGE_CHILD_SELECTOR;
+ pub const NODE_HAS_SLOW_SELECTOR_LATER_SIBLINGS: root::_bindgen_ty_28 =
+ _bindgen_ty_28::NODE_HAS_SLOW_SELECTOR_LATER_SIBLINGS;
+ pub const NODE_ALL_SELECTOR_FLAGS: root::_bindgen_ty_28 =
+ _bindgen_ty_28::NODE_ALL_SELECTOR_FLAGS;
+ pub const NODE_NEEDS_FRAME: root::_bindgen_ty_28 =
+ _bindgen_ty_28::NODE_NEEDS_FRAME;
+ pub const NODE_DESCENDANTS_NEED_FRAMES: root::_bindgen_ty_28 =
+ _bindgen_ty_28::NODE_DESCENDANTS_NEED_FRAMES;
+ pub const NODE_HAS_ACCESSKEY: root::_bindgen_ty_28 =
+ _bindgen_ty_28::NODE_HAS_ACCESSKEY;
+ pub const NODE_HAS_DIRECTION_RTL: root::_bindgen_ty_28 =
+ _bindgen_ty_28::NODE_HAS_DIRECTION_RTL;
+ pub const NODE_HAS_DIRECTION_LTR: root::_bindgen_ty_28 =
+ _bindgen_ty_28::NODE_HAS_DIRECTION_LTR;
+ pub const NODE_ALL_DIRECTION_FLAGS: root::_bindgen_ty_28 =
+ _bindgen_ty_28::NODE_ALL_DIRECTION_FLAGS;
+ pub const NODE_CHROME_ONLY_ACCESS: root::_bindgen_ty_28 =
+ _bindgen_ty_28::NODE_CHROME_ONLY_ACCESS;
+ pub const NODE_IS_ROOT_OF_CHROME_ONLY_ACCESS: root::_bindgen_ty_28 =
+ _bindgen_ty_28::NODE_IS_ROOT_OF_CHROME_ONLY_ACCESS;
+ pub const NODE_SHARED_RESTYLE_BIT_1: root::_bindgen_ty_28 =
+ _bindgen_ty_28::NODE_SHARED_RESTYLE_BIT_1;
+ pub const NODE_SHARED_RESTYLE_BIT_2: root::_bindgen_ty_28 =
+ _bindgen_ty_28::NODE_SHARED_RESTYLE_BIT_2;
+ pub const NODE_HAS_DIRTY_DESCENDANTS_FOR_SERVO: root::_bindgen_ty_28 =
+ _bindgen_ty_28::NODE_SHARED_RESTYLE_BIT_1;
+ pub const NODE_TYPE_SPECIFIC_BITS_OFFSET: root::_bindgen_ty_28 =
+ _bindgen_ty_28::NODE_TYPE_SPECIFIC_BITS_OFFSET;
#[repr(u32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
- pub enum _bindgen_ty_91 {
+ pub enum _bindgen_ty_28 {
NODE_HAS_LISTENERMANAGER = 4,
NODE_HAS_PROPERTIES = 8,
NODE_IS_ANONYMOUS_ROOT = 16,
@@ -14518,7 +14828,7 @@ pub mod root {
NODE_FORCE_XBL_BINDINGS = 128,
NODE_MAY_BE_IN_BINDING_MNGR = 256,
NODE_IS_EDITABLE = 512,
- NODE_MAY_HAVE_CLASS = 1024,
+ NODE_IS_NATIVE_ANONYMOUS = 1024,
NODE_IS_IN_SHADOW_TREE = 2048,
NODE_HAS_EMPTY_SELECTOR = 4096,
NODE_HAS_SLOW_SELECTOR = 8192,
@@ -20739,62 +21049,9 @@ pub mod root {
pub struct gfxMissingFontRecorder([u8; 0]);
#[repr(C)]
#[derive(Debug)]
- pub struct nsInvalidateRequestList {
- pub mRequests: root::nsTArray<root::nsInvalidateRequestList_Request>,
- }
- #[repr(C)]
- #[derive(Debug, Copy)]
- pub struct nsInvalidateRequestList_Request {
- pub mRect: root::nsRect,
- pub mFlags: u32,
- }
- #[test]
- fn bindgen_test_layout_nsInvalidateRequestList_Request() {
- assert_eq!(::std::mem::size_of::<nsInvalidateRequestList_Request>() ,
- 20usize , concat ! (
- "Size of: " , stringify ! ( nsInvalidateRequestList_Request
- ) ));
- assert_eq! (::std::mem::align_of::<nsInvalidateRequestList_Request>()
- , 4usize , concat ! (
- "Alignment of " , stringify ! (
- nsInvalidateRequestList_Request ) ));
- assert_eq! (unsafe {
- & ( * ( 0 as * const nsInvalidateRequestList_Request ) ) .
- mRect as * const _ as usize } , 0usize , concat ! (
- "Alignment of field: " , stringify ! (
- nsInvalidateRequestList_Request ) , "::" , stringify ! (
- mRect ) ));
- assert_eq! (unsafe {
- & ( * ( 0 as * const nsInvalidateRequestList_Request ) ) .
- mFlags as * const _ as usize } , 16usize , concat ! (
- "Alignment of field: " , stringify ! (
- nsInvalidateRequestList_Request ) , "::" , stringify ! (
- mFlags ) ));
- }
- impl Clone for nsInvalidateRequestList_Request {
- fn clone(&self) -> Self { *self }
- }
- #[test]
- fn bindgen_test_layout_nsInvalidateRequestList() {
- assert_eq!(::std::mem::size_of::<nsInvalidateRequestList>() , 8usize ,
- concat ! (
- "Size of: " , stringify ! ( nsInvalidateRequestList ) ));
- assert_eq! (::std::mem::align_of::<nsInvalidateRequestList>() , 8usize
- , concat ! (
- "Alignment of " , stringify ! ( nsInvalidateRequestList )
- ));
- assert_eq! (unsafe {
- & ( * ( 0 as * const nsInvalidateRequestList ) ) .
- mRequests as * const _ as usize } , 0usize , concat ! (
- "Alignment of field: " , stringify ! (
- nsInvalidateRequestList ) , "::" , stringify ! ( mRequests
- ) ));
- }
- #[repr(C)]
- #[derive(Debug)]
pub struct nsRootPresContext {
pub _base: root::nsPresContext,
- pub mNotifyDidPaintTimer: root::nsCOMPtr<root::nsITimer>,
+ pub mNotifyDidPaintTimers: [u64; 10usize],
pub mApplyPluginGeometryTimer: root::nsCOMPtr<root::nsITimer>,
pub mRegisteredPlugins: [u64; 5usize],
pub mWillPaintObservers: root::nsTArray<root::nsCOMPtr<root::nsIRunnable>>,
@@ -20826,9 +21083,41 @@ pub mod root {
nsRootPresContext_RunWillPaintObservers ) , "::" ,
stringify ! ( mPresContext ) ));
}
+ #[repr(C)]
+ #[derive(Debug)]
+ pub struct nsRootPresContext_NotifyDidPaintTimer {
+ pub mTransactionId: u64,
+ pub mTimer: root::nsCOMPtr<root::nsITimer>,
+ }
+ #[test]
+ fn bindgen_test_layout_nsRootPresContext_NotifyDidPaintTimer() {
+ assert_eq!(::std::mem::size_of::<nsRootPresContext_NotifyDidPaintTimer>()
+ , 16usize , concat ! (
+ "Size of: " , stringify ! (
+ nsRootPresContext_NotifyDidPaintTimer ) ));
+ assert_eq! (::std::mem::align_of::<nsRootPresContext_NotifyDidPaintTimer>()
+ , 8usize , concat ! (
+ "Alignment of " , stringify ! (
+ nsRootPresContext_NotifyDidPaintTimer ) ));
+ assert_eq! (unsafe {
+ & (
+ * ( 0 as * const nsRootPresContext_NotifyDidPaintTimer ) )
+ . mTransactionId as * const _ as usize } , 0usize , concat
+ ! (
+ "Alignment of field: " , stringify ! (
+ nsRootPresContext_NotifyDidPaintTimer ) , "::" , stringify
+ ! ( mTransactionId ) ));
+ assert_eq! (unsafe {
+ & (
+ * ( 0 as * const nsRootPresContext_NotifyDidPaintTimer ) )
+ . mTimer as * const _ as usize } , 8usize , concat ! (
+ "Alignment of field: " , stringify ! (
+ nsRootPresContext_NotifyDidPaintTimer ) , "::" , stringify
+ ! ( mTimer ) ));
+ }
#[test]
fn bindgen_test_layout_nsRootPresContext() {
- assert_eq!(::std::mem::size_of::<nsRootPresContext>() , 1344usize ,
+ assert_eq!(::std::mem::size_of::<nsRootPresContext>() , 1480usize ,
concat ! ( "Size of: " , stringify ! ( nsRootPresContext )
));
assert_eq! (::std::mem::align_of::<nsRootPresContext>() , 8usize ,
@@ -20836,37 +21125,37 @@ pub mod root {
"Alignment of " , stringify ! ( nsRootPresContext ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const nsRootPresContext ) ) .
- mNotifyDidPaintTimer as * const _ as usize } , 1264usize ,
- concat ! (
+ mNotifyDidPaintTimers as * const _ as usize } , 1328usize
+ , concat ! (
"Alignment of field: " , stringify ! ( nsRootPresContext )
- , "::" , stringify ! ( mNotifyDidPaintTimer ) ));
+ , "::" , stringify ! ( mNotifyDidPaintTimers ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const nsRootPresContext ) ) .
mApplyPluginGeometryTimer as * const _ as usize } ,
- 1272usize , concat ! (
+ 1408usize , concat ! (
"Alignment of field: " , stringify ! ( nsRootPresContext )
, "::" , stringify ! ( mApplyPluginGeometryTimer ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const nsRootPresContext ) ) .
- mRegisteredPlugins as * const _ as usize } , 1280usize ,
+ mRegisteredPlugins as * const _ as usize } , 1416usize ,
concat ! (
"Alignment of field: " , stringify ! ( nsRootPresContext )
, "::" , stringify ! ( mRegisteredPlugins ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const nsRootPresContext ) ) .
- mWillPaintObservers as * const _ as usize } , 1320usize ,
+ mWillPaintObservers as * const _ as usize } , 1456usize ,
concat ! (
"Alignment of field: " , stringify ! ( nsRootPresContext )
, "::" , stringify ! ( mWillPaintObservers ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const nsRootPresContext ) ) .
mWillPaintFallbackEvent as * const _ as usize } ,
- 1328usize , concat ! (
+ 1464usize , concat ! (
"Alignment of field: " , stringify ! ( nsRootPresContext )
, "::" , stringify ! ( mWillPaintFallbackEvent ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const nsRootPresContext ) ) .
- mDOMGeneration as * const _ as usize } , 1336usize ,
+ mDOMGeneration as * const _ as usize } , 1472usize ,
concat ! (
"Alignment of field: " , stringify ! ( nsRootPresContext )
, "::" , stringify ! ( mDOMGeneration ) ));
@@ -24730,8 +25019,37 @@ pub mod root {
}
#[test]
fn bindgen_test_layout_ServoBundledURI() {
- assert_eq!(::std::mem::size_of::<ServoBundledURI>() , 40usize);
- assert_eq!(::std::mem::align_of::<ServoBundledURI>() , 8usize);
+ assert_eq!(::std::mem::size_of::<ServoBundledURI>() , 40usize , concat
+ ! ( "Size of: " , stringify ! ( ServoBundledURI ) ));
+ assert_eq! (::std::mem::align_of::<ServoBundledURI>() , 8usize ,
+ concat ! (
+ "Alignment of " , stringify ! ( ServoBundledURI ) ));
+ assert_eq! (unsafe {
+ & ( * ( 0 as * const ServoBundledURI ) ) . mURLString as *
+ const _ as usize } , 0usize , concat ! (
+ "Alignment of field: " , stringify ! ( ServoBundledURI ) ,
+ "::" , stringify ! ( mURLString ) ));
+ assert_eq! (unsafe {
+ & ( * ( 0 as * const ServoBundledURI ) ) .
+ mURLStringLength as * const _ as usize } , 8usize , concat
+ ! (
+ "Alignment of field: " , stringify ! ( ServoBundledURI ) ,
+ "::" , stringify ! ( mURLStringLength ) ));
+ assert_eq! (unsafe {
+ & ( * ( 0 as * const ServoBundledURI ) ) . mBaseURI as *
+ const _ as usize } , 16usize , concat ! (
+ "Alignment of field: " , stringify ! ( ServoBundledURI ) ,
+ "::" , stringify ! ( mBaseURI ) ));
+ assert_eq! (unsafe {
+ & ( * ( 0 as * const ServoBundledURI ) ) . mReferrer as *
+ const _ as usize } , 24usize , concat ! (
+ "Alignment of field: " , stringify ! ( ServoBundledURI ) ,
+ "::" , stringify ! ( mReferrer ) ));
+ assert_eq! (unsafe {
+ & ( * ( 0 as * const ServoBundledURI ) ) . mPrincipal as *
+ const _ as usize } , 32usize , concat ! (
+ "Alignment of field: " , stringify ! ( ServoBundledURI ) ,
+ "::" , stringify ! ( mPrincipal ) ));
}
impl Clone for ServoBundledURI {
fn clone(&self) -> Self { *self }
@@ -25058,6 +25376,17 @@ pub mod root {
}
#[test]
fn __bindgen_test_layout_template_11() {
+ assert_eq!(::std::mem::size_of::<root::JS::DeletePolicy<root::JSErrorNotes>>()
+ , 1usize , concat ! (
+ "Size of template specialization: " , stringify ! (
+ root::JS::DeletePolicy<root::JSErrorNotes> ) ));
+ assert_eq!(::std::mem::align_of::<root::JS::DeletePolicy<root::JSErrorNotes>>()
+ , 1usize , concat ! (
+ "Alignment of template specialization: " , stringify ! (
+ root::JS::DeletePolicy<root::JSErrorNotes> ) ));
+ }
+ #[test]
+ fn __bindgen_test_layout_template_12() {
assert_eq!(::std::mem::size_of::<root::mozilla::UniquePtr<[::std::os::raw::c_char; 0usize],
root::JS::FreePolicy>>()
, 8usize , concat ! (
@@ -25074,7 +25403,7 @@ pub mod root {
) ));
}
#[test]
- fn __bindgen_test_layout_template_12() {
+ fn __bindgen_test_layout_template_13() {
assert_eq!(::std::mem::size_of::<root::JS::TenuredHeap<*mut root::JSObject>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -25085,7 +25414,7 @@ pub mod root {
root::JS::TenuredHeap<*mut root::JSObject> ) ));
}
#[test]
- fn __bindgen_test_layout_template_13() {
+ fn __bindgen_test_layout_template_14() {
assert_eq!(::std::mem::size_of::<root::JS::Heap<*mut root::JSObject>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -25096,7 +25425,7 @@ pub mod root {
root::JS::Heap<*mut root::JSObject> ) ));
}
#[test]
- fn __bindgen_test_layout_template_14() {
+ fn __bindgen_test_layout_template_15() {
assert_eq!(::std::mem::size_of::<root::JS::Heap<*mut root::JSScript>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -25107,7 +25436,7 @@ pub mod root {
root::JS::Heap<*mut root::JSScript> ) ));
}
#[test]
- fn __bindgen_test_layout_template_15() {
+ fn __bindgen_test_layout_template_16() {
assert_eq!(::std::mem::size_of::<root::nsReadingIterator<u16>>() ,
24usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -25118,7 +25447,7 @@ pub mod root {
root::nsReadingIterator<u16> ) ));
}
#[test]
- fn __bindgen_test_layout_template_16() {
+ fn __bindgen_test_layout_template_17() {
assert_eq!(::std::mem::size_of::<root::nsWritingIterator<u16>>() ,
24usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -25129,7 +25458,7 @@ pub mod root {
root::nsWritingIterator<u16> ) ));
}
#[test]
- fn __bindgen_test_layout_template_17() {
+ fn __bindgen_test_layout_template_18() {
assert_eq!(::std::mem::size_of::<root::nsReadingIterator<::std::os::raw::c_char>>()
, 24usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -25140,7 +25469,7 @@ pub mod root {
root::nsReadingIterator<::std::os::raw::c_char> ) ));
}
#[test]
- fn __bindgen_test_layout_template_18() {
+ fn __bindgen_test_layout_template_19() {
assert_eq!(::std::mem::size_of::<root::nsWritingIterator<::std::os::raw::c_char>>()
, 24usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -25151,7 +25480,7 @@ pub mod root {
root::nsWritingIterator<::std::os::raw::c_char> ) ));
}
#[test]
- fn __bindgen_test_layout_template_19() {
+ fn __bindgen_test_layout_template_20() {
assert_eq!(::std::mem::size_of::<root::mozilla::DefaultDelete<[root::nsAString_internal; 0usize]>>()
, 1usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -25164,7 +25493,7 @@ pub mod root {
) ));
}
#[test]
- fn __bindgen_test_layout_template_20() {
+ fn __bindgen_test_layout_template_21() {
assert_eq!(::std::mem::size_of::<root::mozilla::DefaultDelete<[root::nsACString_internal; 0usize]>>()
, 1usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -25177,7 +25506,7 @@ pub mod root {
) ));
}
#[test]
- fn __bindgen_test_layout_template_21() {
+ fn __bindgen_test_layout_template_22() {
assert_eq!(::std::mem::size_of::<root::nsTArray<root::nsCString>>() ,
8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -25188,7 +25517,7 @@ pub mod root {
root::nsTArray<root::nsCString> ) ));
}
#[test]
- fn __bindgen_test_layout_template_22() {
+ fn __bindgen_test_layout_template_23() {
assert_eq!(::std::mem::size_of::<root::nsTArray<::nsstring::nsStringRepr>>() ,
8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -25199,7 +25528,7 @@ pub mod root {
root::nsTArray<::nsstring::nsStringRepr> ) ));
}
#[test]
- fn __bindgen_test_layout_template_23() {
+ fn __bindgen_test_layout_template_24() {
assert_eq!(::std::mem::size_of::<root::mozilla::binding_danger::TErrorResult<root::mozilla::binding_danger::JustAssertCleanupPolicy>>()
, 16usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -25212,7 +25541,7 @@ pub mod root {
) ));
}
#[test]
- fn __bindgen_test_layout_template_24() {
+ fn __bindgen_test_layout_template_25() {
assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::nsStringBuffer>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -25223,7 +25552,7 @@ pub mod root {
root::already_AddRefed<root::nsStringBuffer> ) ));
}
#[test]
- fn __bindgen_test_layout_template_25() {
+ fn __bindgen_test_layout_template_26() {
assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::nsIAtom>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -25234,7 +25563,7 @@ pub mod root {
root::already_AddRefed<root::nsIAtom> ) ));
}
#[test]
- fn __bindgen_test_layout_template_26() {
+ fn __bindgen_test_layout_template_27() {
assert_eq!(::std::mem::size_of::<root::JS::Heap<root::JS::Value>>() ,
8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -25245,7 +25574,76 @@ pub mod root {
root::JS::Heap<root::JS::Value> ) ));
}
#[test]
- fn __bindgen_test_layout_template_27() {
+ fn __bindgen_test_layout_template_28() {
+ assert_eq!(::std::mem::size_of::<root::JS::DeletePolicy<root::JSErrorNotes_Note>>()
+ , 1usize , concat ! (
+ "Size of template specialization: " , stringify ! (
+ root::JS::DeletePolicy<root::JSErrorNotes_Note> ) ));
+ assert_eq!(::std::mem::align_of::<root::JS::DeletePolicy<root::JSErrorNotes_Note>>()
+ , 1usize , concat ! (
+ "Alignment of template specialization: " , stringify ! (
+ root::JS::DeletePolicy<root::JSErrorNotes_Note> ) ));
+ }
+ #[test]
+ fn __bindgen_test_layout_template_29() {
+ assert_eq!(::std::mem::size_of::<root::mozilla::UniquePtr<root::JSErrorNotes_Note,
+ root::JS::DeletePolicy<root::JSErrorNotes_Note>>>()
+ , 8usize , concat ! (
+ "Size of template specialization: " , stringify ! (
+ root::mozilla::UniquePtr<root::JSErrorNotes_Note,
+ root::JS::DeletePolicy<root::JSErrorNotes_Note>>
+ ) ));
+ assert_eq!(::std::mem::align_of::<root::mozilla::UniquePtr<root::JSErrorNotes_Note,
+ root::JS::DeletePolicy<root::JSErrorNotes_Note>>>()
+ , 8usize , concat ! (
+ "Alignment of template specialization: " , stringify ! (
+ root::mozilla::UniquePtr<root::JSErrorNotes_Note,
+ root::JS::DeletePolicy<root::JSErrorNotes_Note>>
+ ) ));
+ }
+ #[test]
+ fn __bindgen_test_layout_template_30() {
+ assert_eq!(::std::mem::size_of::<root::std::iterator<root::std::input_iterator_tag,
+ root::mozilla::UniquePtr<root::JSErrorNotes_Note,
+ root::JS::DeletePolicy<root::JSErrorNotes_Note>>,
+ ::std::os::raw::c_long,
+ *mut root::mozilla::UniquePtr<root::JSErrorNotes_Note,
+ root::JS::DeletePolicy<root::JSErrorNotes_Note>>,
+ *mut root::mozilla::UniquePtr<root::JSErrorNotes_Note,
+ root::JS::DeletePolicy<root::JSErrorNotes_Note>>>>()
+ , 1usize , concat ! (
+ "Size of template specialization: " , stringify ! (
+ root::std::iterator<root::std::input_iterator_tag,
+ root::mozilla::UniquePtr<root::JSErrorNotes_Note,
+ root::JS::DeletePolicy<root::JSErrorNotes_Note>>,
+ ::std::os::raw::c_long,
+ *mut root::mozilla::UniquePtr<root::JSErrorNotes_Note,
+ root::JS::DeletePolicy<root::JSErrorNotes_Note>>,
+ *mut root::mozilla::UniquePtr<root::JSErrorNotes_Note,
+ root::JS::DeletePolicy<root::JSErrorNotes_Note>>>
+ ) ));
+ assert_eq!(::std::mem::align_of::<root::std::iterator<root::std::input_iterator_tag,
+ root::mozilla::UniquePtr<root::JSErrorNotes_Note,
+ root::JS::DeletePolicy<root::JSErrorNotes_Note>>,
+ ::std::os::raw::c_long,
+ *mut root::mozilla::UniquePtr<root::JSErrorNotes_Note,
+ root::JS::DeletePolicy<root::JSErrorNotes_Note>>,
+ *mut root::mozilla::UniquePtr<root::JSErrorNotes_Note,
+ root::JS::DeletePolicy<root::JSErrorNotes_Note>>>>()
+ , 1usize , concat ! (
+ "Alignment of template specialization: " , stringify ! (
+ root::std::iterator<root::std::input_iterator_tag,
+ root::mozilla::UniquePtr<root::JSErrorNotes_Note,
+ root::JS::DeletePolicy<root::JSErrorNotes_Note>>,
+ ::std::os::raw::c_long,
+ *mut root::mozilla::UniquePtr<root::JSErrorNotes_Note,
+ root::JS::DeletePolicy<root::JSErrorNotes_Note>>,
+ *mut root::mozilla::UniquePtr<root::JSErrorNotes_Note,
+ root::JS::DeletePolicy<root::JSErrorNotes_Note>>>
+ ) ));
+ }
+ #[test]
+ fn __bindgen_test_layout_template_31() {
assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::nsIRunnable>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -25256,7 +25654,7 @@ pub mod root {
root::already_AddRefed<root::nsIRunnable> ) ));
}
#[test]
- fn __bindgen_test_layout_template_28() {
+ fn __bindgen_test_layout_template_32() {
assert_eq!(::std::mem::size_of::<root::nsCOMPtr<root::nsIPrincipal>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -25267,7 +25665,7 @@ pub mod root {
root::nsCOMPtr<root::nsIPrincipal> ) ));
}
#[test]
- fn __bindgen_test_layout_template_29() {
+ fn __bindgen_test_layout_template_33() {
assert_eq!(::std::mem::size_of::<[u64; 28usize]>() , 224usize , concat
! (
"Size of template specialization: " , stringify ! (
@@ -25278,7 +25676,7 @@ pub mod root {
[u64; 28usize] ) ));
}
#[test]
- fn __bindgen_test_layout_template_30() {
+ fn __bindgen_test_layout_template_34() {
assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::nsIURI>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -25289,7 +25687,7 @@ pub mod root {
root::already_AddRefed<root::nsIURI> ) ));
}
#[test]
- fn __bindgen_test_layout_template_31() {
+ fn __bindgen_test_layout_template_35() {
assert_eq!(::std::mem::size_of::<root::nsTArray<root::RefPtr<root::mozilla::dom::AnonymousContent>>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -25302,7 +25700,7 @@ pub mod root {
) ));
}
#[test]
- fn __bindgen_test_layout_template_32() {
+ fn __bindgen_test_layout_template_36() {
assert_eq!(::std::mem::size_of::<root::RefPtr<root::mozilla::StyleSheet>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -25313,7 +25711,7 @@ pub mod root {
root::RefPtr<root::mozilla::StyleSheet> ) ));
}
#[test]
- fn __bindgen_test_layout_template_33() {
+ fn __bindgen_test_layout_template_37() {
assert_eq!(::std::mem::size_of::<root::RefPtr<root::mozilla::dom::Element>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -25324,7 +25722,7 @@ pub mod root {
root::RefPtr<root::mozilla::dom::Element> ) ));
}
#[test]
- fn __bindgen_test_layout_template_34() {
+ fn __bindgen_test_layout_template_38() {
assert_eq!(::std::mem::size_of::<root::nsTArray<root::RefPtr<root::mozilla::dom::Element>>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -25337,7 +25735,7 @@ pub mod root {
));
}
#[test]
- fn __bindgen_test_layout_template_35() {
+ fn __bindgen_test_layout_template_39() {
assert_eq!(::std::mem::size_of::<root::nsCOMPtr<root::nsIObserver>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -25348,7 +25746,7 @@ pub mod root {
root::nsCOMPtr<root::nsIObserver> ) ));
}
#[test]
- fn __bindgen_test_layout_template_36() {
+ fn __bindgen_test_layout_template_40() {
assert_eq!(::std::mem::size_of::<root::nsTArray<root::nsCOMPtr<root::nsIObserver>>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -25359,7 +25757,7 @@ pub mod root {
root::nsTArray<root::nsCOMPtr<root::nsIObserver>> ) ));
}
#[test]
- fn __bindgen_test_layout_template_37() {
+ fn __bindgen_test_layout_template_41() {
assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::nsIDocument>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -25370,7 +25768,7 @@ pub mod root {
root::already_AddRefed<root::nsIDocument> ) ));
}
#[test]
- fn __bindgen_test_layout_template_38() {
+ fn __bindgen_test_layout_template_42() {
assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::nsContentList>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -25381,7 +25779,7 @@ pub mod root {
root::already_AddRefed<root::nsContentList> ) ));
}
#[test]
- fn __bindgen_test_layout_template_39() {
+ fn __bindgen_test_layout_template_43() {
assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::nsINode>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -25392,7 +25790,7 @@ pub mod root {
root::already_AddRefed<root::nsINode> ) ));
}
#[test]
- fn __bindgen_test_layout_template_40() {
+ fn __bindgen_test_layout_template_44() {
assert_eq!(::std::mem::size_of::<root::nsCOMPtr<root::nsIWeakReference>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -25403,7 +25801,7 @@ pub mod root {
root::nsCOMPtr<root::nsIWeakReference> ) ));
}
#[test]
- fn __bindgen_test_layout_template_41() {
+ fn __bindgen_test_layout_template_45() {
assert_eq!(::std::mem::size_of::<u64>() , 8usize , concat ! (
"Size of template specialization: " , stringify ! ( u64 )
));
@@ -25412,7 +25810,18 @@ pub mod root {
u64 ) ));
}
#[test]
- fn __bindgen_test_layout_template_42() {
+ fn __bindgen_test_layout_template_46() {
+ assert_eq!(::std::mem::size_of::<root::nsTArray<root::nsRect>>() ,
+ 8usize , concat ! (
+ "Size of template specialization: " , stringify ! (
+ root::nsTArray<root::nsRect> ) ));
+ assert_eq!(::std::mem::align_of::<root::nsTArray<root::nsRect>>() ,
+ 8usize , concat ! (
+ "Alignment of template specialization: " , stringify ! (
+ root::nsTArray<root::nsRect> ) ));
+ }
+ #[test]
+ fn __bindgen_test_layout_template_47() {
assert_eq!(::std::mem::size_of::<[u64; 28usize]>() , 224usize , concat
! (
"Size of template specialization: " , stringify ! (
@@ -25423,7 +25832,7 @@ pub mod root {
[u64; 28usize] ) ));
}
#[test]
- fn __bindgen_test_layout_template_43() {
+ fn __bindgen_test_layout_template_48() {
assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::mozilla::dom::NodeInfo>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -25434,7 +25843,7 @@ pub mod root {
root::already_AddRefed<root::mozilla::dom::NodeInfo> ) ));
}
#[test]
- fn __bindgen_test_layout_template_44() {
+ fn __bindgen_test_layout_template_49() {
assert_eq!(::std::mem::size_of::<root::nsTArray<*mut root::nsIContent>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -25445,7 +25854,7 @@ pub mod root {
root::nsTArray<*mut root::nsIContent> ) ));
}
#[test]
- fn __bindgen_test_layout_template_45() {
+ fn __bindgen_test_layout_template_50() {
assert_eq!(::std::mem::size_of::<[u64; 5usize]>() , 40usize , concat !
(
"Size of template specialization: " , stringify ! (
@@ -25456,7 +25865,7 @@ pub mod root {
[u64; 5usize] ) ));
}
#[test]
- fn __bindgen_test_layout_template_46() {
+ fn __bindgen_test_layout_template_51() {
assert_eq!(::std::mem::size_of::<root::mozilla::DefaultDelete<root::mozilla::dom::TimeoutManager>>()
, 1usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -25469,7 +25878,7 @@ pub mod root {
) ));
}
#[test]
- fn __bindgen_test_layout_template_47() {
+ fn __bindgen_test_layout_template_52() {
assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::nsISupports>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -25480,7 +25889,7 @@ pub mod root {
root::already_AddRefed<root::nsISupports> ) ));
}
#[test]
- fn __bindgen_test_layout_template_48() {
+ fn __bindgen_test_layout_template_53() {
assert_eq!(::std::mem::size_of::<root::nsCOMPtr<root::nsIRunnable>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -25491,7 +25900,7 @@ pub mod root {
root::nsCOMPtr<root::nsIRunnable> ) ));
}
#[test]
- fn __bindgen_test_layout_template_49() {
+ fn __bindgen_test_layout_template_54() {
assert_eq!(::std::mem::size_of::<root::nsAutoPtr<root::nsMediaQuery>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -25502,7 +25911,7 @@ pub mod root {
root::nsAutoPtr<root::nsMediaQuery> ) ));
}
#[test]
- fn __bindgen_test_layout_template_50() {
+ fn __bindgen_test_layout_template_55() {
assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::nsIContent>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -25513,7 +25922,7 @@ pub mod root {
root::already_AddRefed<root::nsIContent> ) ));
}
#[test]
- fn __bindgen_test_layout_template_51() {
+ fn __bindgen_test_layout_template_56() {
assert_eq!(::std::mem::size_of::<[u64; 5usize]>() , 40usize , concat !
(
"Size of template specialization: " , stringify ! (
@@ -25524,7 +25933,7 @@ pub mod root {
[u64; 5usize] ) ));
}
#[test]
- fn __bindgen_test_layout_template_52() {
+ fn __bindgen_test_layout_template_57() {
assert_eq!(::std::mem::size_of::<root::mozilla::OwningNonNull<root::nsINode>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -25535,7 +25944,7 @@ pub mod root {
root::mozilla::OwningNonNull<root::nsINode> ) ));
}
#[test]
- fn __bindgen_test_layout_template_53() {
+ fn __bindgen_test_layout_template_58() {
assert_eq!(::std::mem::size_of::<[u32; 2usize]>() , 8usize , concat !
(
"Size of template specialization: " , stringify ! (
@@ -25546,7 +25955,7 @@ pub mod root {
[u32; 2usize] ) ));
}
#[test]
- fn __bindgen_test_layout_template_54() {
+ fn __bindgen_test_layout_template_59() {
assert_eq!(::std::mem::size_of::<[u32; 2usize]>() , 8usize , concat !
(
"Size of template specialization: " , stringify ! (
@@ -25557,7 +25966,7 @@ pub mod root {
[u32; 2usize] ) ));
}
#[test]
- fn __bindgen_test_layout_template_55() {
+ fn __bindgen_test_layout_template_60() {
assert_eq!(::std::mem::size_of::<[u32; 2usize]>() , 8usize , concat !
(
"Size of template specialization: " , stringify ! (
@@ -25568,7 +25977,7 @@ pub mod root {
[u32; 2usize] ) ));
}
#[test]
- fn __bindgen_test_layout_template_56() {
+ fn __bindgen_test_layout_template_61() {
assert_eq!(::std::mem::size_of::<[u32; 4usize]>() , 16usize , concat !
(
"Size of template specialization: " , stringify ! (
@@ -25579,7 +25988,7 @@ pub mod root {
[u32; 4usize] ) ));
}
#[test]
- fn __bindgen_test_layout_template_57() {
+ fn __bindgen_test_layout_template_62() {
assert_eq!(::std::mem::size_of::<[u32; 2usize]>() , 8usize , concat !
(
"Size of template specialization: " , stringify ! (
@@ -25590,7 +25999,7 @@ pub mod root {
[u32; 2usize] ) ));
}
#[test]
- fn __bindgen_test_layout_template_58() {
+ fn __bindgen_test_layout_template_63() {
assert_eq!(::std::mem::size_of::<[u32; 2usize]>() , 8usize , concat !
(
"Size of template specialization: " , stringify ! (
@@ -25601,7 +26010,7 @@ pub mod root {
[u32; 2usize] ) ));
}
#[test]
- fn __bindgen_test_layout_template_59() {
+ fn __bindgen_test_layout_template_64() {
assert_eq!(::std::mem::size_of::<[u32; 4usize]>() , 16usize , concat !
(
"Size of template specialization: " , stringify ! (
@@ -25612,7 +26021,7 @@ pub mod root {
[u32; 4usize] ) ));
}
#[test]
- fn __bindgen_test_layout_template_60() {
+ fn __bindgen_test_layout_template_65() {
assert_eq!(::std::mem::size_of::<[u32; 4usize]>() , 16usize , concat !
(
"Size of template specialization: " , stringify ! (
@@ -25623,7 +26032,7 @@ pub mod root {
[u32; 4usize] ) ));
}
#[test]
- fn __bindgen_test_layout_template_61() {
+ fn __bindgen_test_layout_template_66() {
assert_eq!(::std::mem::size_of::<[u32; 4usize]>() , 16usize , concat !
(
"Size of template specialization: " , stringify ! (
@@ -25634,7 +26043,7 @@ pub mod root {
[u32; 4usize] ) ));
}
#[test]
- fn __bindgen_test_layout_template_62() {
+ fn __bindgen_test_layout_template_67() {
assert_eq!(::std::mem::size_of::<u32>() , 4usize , concat ! (
"Size of template specialization: " , stringify ! ( u32 )
));
@@ -25643,7 +26052,7 @@ pub mod root {
u32 ) ));
}
#[test]
- fn __bindgen_test_layout_template_63() {
+ fn __bindgen_test_layout_template_68() {
assert_eq!(::std::mem::size_of::<[u32; 2usize]>() , 8usize , concat !
(
"Size of template specialization: " , stringify ! (
@@ -25654,7 +26063,7 @@ pub mod root {
[u32; 2usize] ) ));
}
#[test]
- fn __bindgen_test_layout_template_64() {
+ fn __bindgen_test_layout_template_69() {
assert_eq!(::std::mem::size_of::<[u32; 2usize]>() , 8usize , concat !
(
"Size of template specialization: " , stringify ! (
@@ -25665,7 +26074,7 @@ pub mod root {
[u32; 2usize] ) ));
}
#[test]
- fn __bindgen_test_layout_template_65() {
+ fn __bindgen_test_layout_template_70() {
assert_eq!(::std::mem::size_of::<[u32; 2usize]>() , 8usize , concat !
(
"Size of template specialization: " , stringify ! (
@@ -25676,7 +26085,7 @@ pub mod root {
[u32; 2usize] ) ));
}
#[test]
- fn __bindgen_test_layout_template_66() {
+ fn __bindgen_test_layout_template_71() {
assert_eq!(::std::mem::size_of::<root::nsTArray<f64>>() , 8usize ,
concat ! (
"Size of template specialization: " , stringify ! (
@@ -25687,7 +26096,7 @@ pub mod root {
root::nsTArray<f64> ) ));
}
#[test]
- fn __bindgen_test_layout_template_67() {
+ fn __bindgen_test_layout_template_72() {
assert_eq!(::std::mem::size_of::<root::RefPtr<root::mozilla::dom::DOMIntersectionObserverEntry>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -25700,7 +26109,7 @@ pub mod root {
) ));
}
#[test]
- fn __bindgen_test_layout_template_68() {
+ fn __bindgen_test_layout_template_73() {
assert_eq!(::std::mem::size_of::<root::nsTArray<root::RefPtr<root::mozilla::dom::DOMIntersectionObserverEntry>>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -25713,7 +26122,7 @@ pub mod root {
) ));
}
#[test]
- fn __bindgen_test_layout_template_69() {
+ fn __bindgen_test_layout_template_74() {
assert_eq!(::std::mem::size_of::<root::nsTArray<root::mozilla::FontFamilyName>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -25724,7 +26133,7 @@ pub mod root {
root::nsTArray<root::mozilla::FontFamilyName> ) ));
}
#[test]
- fn __bindgen_test_layout_template_70() {
+ fn __bindgen_test_layout_template_75() {
assert_eq!(::std::mem::size_of::<root::nsTArray<::std::os::raw::c_uint>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -25735,7 +26144,7 @@ pub mod root {
root::nsTArray<::std::os::raw::c_uint> ) ));
}
#[test]
- fn __bindgen_test_layout_template_71() {
+ fn __bindgen_test_layout_template_76() {
assert_eq!(::std::mem::size_of::<root::mozilla::DefaultDelete<root::ProxyBehaviour>>()
, 1usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -25746,7 +26155,7 @@ pub mod root {
root::mozilla::DefaultDelete<root::ProxyBehaviour> ) ));
}
#[test]
- fn __bindgen_test_layout_template_72() {
+ fn __bindgen_test_layout_template_77() {
assert_eq!(::std::mem::size_of::<root::nsMainThreadPtrHolder<root::nsIURI>>()
, 24usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -25757,7 +26166,7 @@ pub mod root {
root::nsMainThreadPtrHolder<root::nsIURI> ) ));
}
#[test]
- fn __bindgen_test_layout_template_73() {
+ fn __bindgen_test_layout_template_78() {
assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::nsMainThreadPtrHolder<root::nsIURI>>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -25770,7 +26179,7 @@ pub mod root {
) ));
}
#[test]
- fn __bindgen_test_layout_template_74() {
+ fn __bindgen_test_layout_template_79() {
assert_eq!(::std::mem::size_of::<root::nsMainThreadPtrHolder<root::nsIPrincipal>>()
, 24usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -25781,7 +26190,7 @@ pub mod root {
root::nsMainThreadPtrHolder<root::nsIPrincipal> ) ));
}
#[test]
- fn __bindgen_test_layout_template_75() {
+ fn __bindgen_test_layout_template_80() {
assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::nsMainThreadPtrHolder<root::nsIPrincipal>>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -25794,7 +26203,7 @@ pub mod root {
) ));
}
#[test]
- fn __bindgen_test_layout_template_76() {
+ fn __bindgen_test_layout_template_81() {
assert_eq!(::std::mem::size_of::<root::mozilla::DefaultDelete<root::nsCSSValueList>>()
, 1usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -25805,7 +26214,7 @@ pub mod root {
root::mozilla::DefaultDelete<root::nsCSSValueList> ) ));
}
#[test]
- fn __bindgen_test_layout_template_77() {
+ fn __bindgen_test_layout_template_82() {
assert_eq!(::std::mem::size_of::<root::mozilla::UniquePtr<root::nsCSSValueList,
root::mozilla::DefaultDelete<root::nsCSSValueList>>>()
, 8usize , concat ! (
@@ -25822,7 +26231,7 @@ pub mod root {
) ));
}
#[test]
- fn __bindgen_test_layout_template_78() {
+ fn __bindgen_test_layout_template_83() {
assert_eq!(::std::mem::size_of::<root::mozilla::DefaultDelete<root::nsCSSValuePairList>>()
, 1usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -25835,7 +26244,7 @@ pub mod root {
));
}
#[test]
- fn __bindgen_test_layout_template_79() {
+ fn __bindgen_test_layout_template_84() {
assert_eq!(::std::mem::size_of::<root::mozilla::UniquePtr<root::nsCSSValuePairList,
root::mozilla::DefaultDelete<root::nsCSSValuePairList>>>()
, 8usize , concat ! (
@@ -25852,7 +26261,7 @@ pub mod root {
) ));
}
#[test]
- fn __bindgen_test_layout_template_80() {
+ fn __bindgen_test_layout_template_85() {
assert_eq!(::std::mem::size_of::<root::nsTArray<root::mozilla::FramePropertyTable_PropertyValue>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -25865,7 +26274,7 @@ pub mod root {
) ));
}
#[test]
- fn __bindgen_test_layout_template_81() {
+ fn __bindgen_test_layout_template_86() {
assert_eq!(::std::mem::size_of::<root::nsPtrHashKey<root::nsIFrame>>()
, 16usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -25876,20 +26285,7 @@ pub mod root {
root::nsPtrHashKey<root::nsIFrame> ) ));
}
#[test]
- fn __bindgen_test_layout_template_82() {
- assert_eq!(::std::mem::size_of::<root::mozilla::HandleRefPtr<root::mozilla::RestyleManagerHandle>>()
- , 8usize , concat ! (
- "Size of template specialization: " , stringify ! (
- root::mozilla::HandleRefPtr<root::mozilla::RestyleManagerHandle>
- ) ));
- assert_eq!(::std::mem::align_of::<root::mozilla::HandleRefPtr<root::mozilla::RestyleManagerHandle>>()
- , 8usize , concat ! (
- "Alignment of template specialization: " , stringify ! (
- root::mozilla::HandleRefPtr<root::mozilla::RestyleManagerHandle>
- ) ));
- }
- #[test]
- fn __bindgen_test_layout_template_83() {
+ fn __bindgen_test_layout_template_87() {
assert_eq!(::std::mem::size_of::<[u64; 5usize]>() , 40usize , concat !
(
"Size of template specialization: " , stringify ! (
@@ -25900,7 +26296,7 @@ pub mod root {
[u64; 5usize] ) ));
}
#[test]
- fn __bindgen_test_layout_template_84() {
+ fn __bindgen_test_layout_template_88() {
assert_eq!(::std::mem::size_of::<root::mozilla::OwningNonNull<root::mozilla::EffectCompositor_AnimationStyleRuleProcessor>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -25913,7 +26309,7 @@ pub mod root {
) ));
}
#[test]
- fn __bindgen_test_layout_template_85() {
+ fn __bindgen_test_layout_template_89() {
assert_eq!(::std::mem::size_of::<[u64; 2usize]>() , 16usize , concat !
(
"Size of template specialization: " , stringify ! (
@@ -25924,7 +26320,7 @@ pub mod root {
[u64; 2usize] ) ));
}
#[test]
- fn __bindgen_test_layout_template_86() {
+ fn __bindgen_test_layout_template_90() {
assert_eq!(::std::mem::size_of::<u64>() , 8usize , concat ! (
"Size of template specialization: " , stringify ! ( u64 )
));
@@ -25933,7 +26329,7 @@ pub mod root {
u64 ) ));
}
#[test]
- fn __bindgen_test_layout_template_87() {
+ fn __bindgen_test_layout_template_91() {
assert_eq!(::std::mem::size_of::<[u64; 2usize]>() , 16usize , concat !
(
"Size of template specialization: " , stringify ! (
@@ -25944,7 +26340,7 @@ pub mod root {
[u64; 2usize] ) ));
}
#[test]
- fn __bindgen_test_layout_template_88() {
+ fn __bindgen_test_layout_template_92() {
assert_eq!(::std::mem::size_of::<root::already_AddRefed<root::nsStyleImageRequest>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -25955,7 +26351,7 @@ pub mod root {
root::already_AddRefed<root::nsStyleImageRequest> ) ));
}
#[test]
- fn __bindgen_test_layout_template_89() {
+ fn __bindgen_test_layout_template_93() {
assert_eq!(::std::mem::size_of::<root::mozilla::DefaultDelete<root::nsStyleSides>>()
, 1usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -25966,7 +26362,7 @@ pub mod root {
root::mozilla::DefaultDelete<root::nsStyleSides> ) ));
}
#[test]
- fn __bindgen_test_layout_template_90() {
+ fn __bindgen_test_layout_template_94() {
assert_eq!(::std::mem::size_of::<root::mozilla::UniquePtr<root::nsStyleSides,
root::mozilla::DefaultDelete<root::nsStyleSides>>>()
, 8usize , concat ! (
@@ -25983,7 +26379,7 @@ pub mod root {
) ));
}
#[test]
- fn __bindgen_test_layout_template_91() {
+ fn __bindgen_test_layout_template_95() {
assert_eq!(::std::mem::size_of::<root::mozilla::DefaultDelete<root::CachedBorderImageData>>()
, 1usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -25996,7 +26392,7 @@ pub mod root {
));
}
#[test]
- fn __bindgen_test_layout_template_92() {
+ fn __bindgen_test_layout_template_96() {
assert_eq!(::std::mem::size_of::<root::std::pair<::nsstring::nsStringRepr, ::nsstring::nsStringRepr>>()
, 32usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -26007,7 +26403,7 @@ pub mod root {
root::std::pair<::nsstring::nsStringRepr, ::nsstring::nsStringRepr> ) ));
}
#[test]
- fn __bindgen_test_layout_template_93() {
+ fn __bindgen_test_layout_template_97() {
assert_eq!(::std::mem::size_of::<root::nsTArray<root::std::pair<::nsstring::nsStringRepr,
::nsstring::nsStringRepr>>>()
, 8usize , concat ! (
@@ -26022,7 +26418,7 @@ pub mod root {
) ));
}
#[test]
- fn __bindgen_test_layout_template_94() {
+ fn __bindgen_test_layout_template_98() {
assert_eq!(::std::mem::size_of::<root::mozilla::StyleShapeSource<root::mozilla::StyleGeometryBox>>()
, 16usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -26035,7 +26431,7 @@ pub mod root {
) ));
}
#[test]
- fn __bindgen_test_layout_template_95() {
+ fn __bindgen_test_layout_template_99() {
assert_eq!(::std::mem::size_of::<root::mozilla::StyleShapeSource<root::mozilla::StyleShapeOutsideShapeBox>>()
, 16usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -26048,7 +26444,7 @@ pub mod root {
) ));
}
#[test]
- fn __bindgen_test_layout_template_96() {
+ fn __bindgen_test_layout_template_100() {
assert_eq!(::std::mem::size_of::<[u64; 18usize]>() , 144usize , concat
! (
"Size of template specialization: " , stringify ! (
@@ -26059,7 +26455,7 @@ pub mod root {
[u64; 18usize] ) ));
}
#[test]
- fn __bindgen_test_layout_template_97() {
+ fn __bindgen_test_layout_template_101() {
assert_eq!(::std::mem::size_of::<root::nsTArray<root::mozilla::DisplayItemClip_RoundedRect>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -26072,7 +26468,7 @@ pub mod root {
) ));
}
#[test]
- fn __bindgen_test_layout_template_98() {
+ fn __bindgen_test_layout_template_102() {
assert_eq!(::std::mem::size_of::<root::RefPtr<root::mozilla::dom::DOMRect>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -26083,7 +26479,7 @@ pub mod root {
root::RefPtr<root::mozilla::dom::DOMRect> ) ));
}
#[test]
- fn __bindgen_test_layout_template_99() {
+ fn __bindgen_test_layout_template_103() {
assert_eq!(::std::mem::size_of::<u64>() , 8usize , concat ! (
"Size of template specialization: " , stringify ! ( u64 )
));
@@ -26092,7 +26488,7 @@ pub mod root {
u64 ) ));
}
#[test]
- fn __bindgen_test_layout_template_100() {
+ fn __bindgen_test_layout_template_104() {
assert_eq!(::std::mem::size_of::<root::nsTArray<*mut root::mozilla::css::DocumentRule>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (