Auto merge of #18362 - upsuper:update-bindings, r=heycam

Update binding files from autoland

Updates the in-tree binding files from autoland.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/18362)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2017-09-03 21:57:22 -05:00 committed by GitHub
commit c98b362e65
4 changed files with 820 additions and 299 deletions

View file

@ -1930,8 +1930,7 @@ extern "C" {
pub fn Servo_StyleSheet_FromUTF8Bytes(loader: *mut Loader, pub fn Servo_StyleSheet_FromUTF8Bytes(loader: *mut Loader,
gecko_stylesheet: gecko_stylesheet:
*mut ServoStyleSheet, *mut ServoStyleSheet,
data: *const u8, data: *const u8, data_len: usize,
data_len: usize,
parsing_mode: SheetParsingMode, parsing_mode: SheetParsingMode,
extra_data: extra_data:
*mut RawGeckoURLExtraData, *mut RawGeckoURLExtraData,
@ -2059,8 +2058,10 @@ extern "C" {
} }
extern "C" { extern "C" {
pub fn Servo_StyleSet_AddSizeOfExcludingThis(malloc_size_of: MallocSizeOf, pub fn Servo_StyleSet_AddSizeOfExcludingThis(malloc_size_of: MallocSizeOf,
sizes: *mut ServoStyleSetSizes, sizes:
set: RawServoStyleSetBorrowed); *mut ServoStyleSetSizes,
set:
RawServoStyleSetBorrowed);
} }
extern "C" { extern "C" {
pub fn Servo_StyleContext_AddRef(ctx: ServoStyleContextBorrowed); pub fn Servo_StyleContext_AddRef(ctx: ServoStyleContextBorrowed);
@ -2938,6 +2939,12 @@ extern "C" {
index: u32, name: *mut nsAString) index: u32, name: *mut nsAString)
-> bool; -> bool;
} }
extern "C" {
pub fn Servo_ProcessInvalidations(set: RawServoStyleSetBorrowed,
element: RawGeckoElementBorrowed,
snapshots:
*const ServoElementSnapshotTable);
}
extern "C" { extern "C" {
pub fn Gecko_CreateCSSErrorReporter(sheet: *mut ServoStyleSheet, pub fn Gecko_CreateCSSErrorReporter(sheet: *mut ServoStyleSheet,
loader: *mut Loader, uri: *mut nsIURI) loader: *mut Loader, uri: *mut nsIURI)

View file

@ -3,7 +3,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
/// Gecko's pseudo-element definition. /// Gecko's pseudo-element definition.
#[derive(Clone, Debug, PartialEq, Eq, Hash)] #[derive(Clone, Debug, Eq, Hash, PartialEq)]
pub enum PseudoElement { pub enum PseudoElement {
/// :after /// :after
After, After,
@ -824,8 +824,8 @@ None
PseudoElement::InlineTable => CSSPseudoElementType_InheritingAnonBox, PseudoElement::InlineTable => CSSPseudoElementType_InheritingAnonBox,
PseudoElement::Table => CSSPseudoElementType_InheritingAnonBox, PseudoElement::Table => CSSPseudoElementType_InheritingAnonBox,
PseudoElement::TableCell => CSSPseudoElementType_InheritingAnonBox, PseudoElement::TableCell => CSSPseudoElementType_InheritingAnonBox,
PseudoElement::TableColGroup => CSSPseudoElementType_InheritingAnonBox, PseudoElement::TableColGroup => CSSPseudoElementType::NonInheritingAnonBox,
PseudoElement::TableCol => CSSPseudoElementType_InheritingAnonBox, PseudoElement::TableCol => CSSPseudoElementType::NonInheritingAnonBox,
PseudoElement::TableWrapper => CSSPseudoElementType_InheritingAnonBox, PseudoElement::TableWrapper => CSSPseudoElementType_InheritingAnonBox,
PseudoElement::TableRowGroup => CSSPseudoElementType_InheritingAnonBox, PseudoElement::TableRowGroup => CSSPseudoElementType_InheritingAnonBox,
PseudoElement::TableRow => CSSPseudoElementType_InheritingAnonBox, PseudoElement::TableRow => CSSPseudoElementType_InheritingAnonBox,

View file

@ -1315,6 +1315,12 @@ pub mod root {
#[derive(Debug, Copy, Clone)] #[derive(Debug, Copy, Clone)]
pub struct WeakReference { pub struct WeakReference {
} }
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct ThreadLocal<T> {
pub mValue: T,
pub _phantom_0: ::std::marker::PhantomData<::std::cell::UnsafeCell<T>>,
}
} }
pub type Conditional_Type<A> = A; pub type Conditional_Type<A> = A;
#[repr(u32)] #[repr(u32)]
@ -4925,9 +4931,6 @@ pub mod root {
pub const ServoTraversalFlags_Forgetful: pub const ServoTraversalFlags_Forgetful:
root::mozilla::ServoTraversalFlags = root::mozilla::ServoTraversalFlags =
8; 8;
pub const ServoTraversalFlags_AggressivelyForgetful:
root::mozilla::ServoTraversalFlags =
16;
pub const ServoTraversalFlags_ClearDirtyBits: pub const ServoTraversalFlags_ClearDirtyBits:
root::mozilla::ServoTraversalFlags = root::mozilla::ServoTraversalFlags =
32; 32;
@ -6276,6 +6279,11 @@ pub mod root {
( "Alignment of " , stringify ! ( Runnable ) )); ( "Alignment of " , stringify ! ( Runnable ) ));
} }
#[repr(C)] #[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct AbstractThread {
_unused: [u8; 0],
}
#[repr(C)]
#[derive(Debug)] #[derive(Debug)]
pub struct CycleCollectedJSContext_RunInMetastableStateData { pub struct CycleCollectedJSContext_RunInMetastableStateData {
pub mRunnable: root::nsCOMPtr<root::nsIRunnable>, pub mRunnable: root::nsCOMPtr<root::nsIRunnable>,
@ -6384,49 +6392,51 @@ pub mod root {
eUseCounter_DataTransfer_mozUserCancelled_setter = 51, eUseCounter_DataTransfer_mozUserCancelled_setter = 51,
eUseCounter_DataTransfer_mozSourceNode_getter = 52, eUseCounter_DataTransfer_mozSourceNode_getter = 52,
eUseCounter_DataTransfer_mozSourceNode_setter = 53, eUseCounter_DataTransfer_mozSourceNode_setter = 53,
eUseCounter_GetAttributeNode = 54, eUseCounter_custom_JS_asmjs = 54,
eUseCounter_SetAttributeNode = 55, eUseCounter_custom_JS_wasm = 55,
eUseCounter_GetAttributeNodeNS = 56, eUseCounter_GetAttributeNode = 56,
eUseCounter_SetAttributeNodeNS = 57, eUseCounter_SetAttributeNode = 57,
eUseCounter_RemoveAttributeNode = 58, eUseCounter_GetAttributeNodeNS = 58,
eUseCounter_CreateAttribute = 59, eUseCounter_SetAttributeNodeNS = 59,
eUseCounter_CreateAttributeNS = 60, eUseCounter_RemoveAttributeNode = 60,
eUseCounter_NodeValue = 61, eUseCounter_CreateAttribute = 61,
eUseCounter_TextContent = 62, eUseCounter_CreateAttributeNS = 62,
eUseCounter_EnablePrivilege = 63, eUseCounter_NodeValue = 63,
eUseCounter_DOMExceptionCode = 64, eUseCounter_TextContent = 64,
eUseCounter_NoExposedProps = 65, eUseCounter_EnablePrivilege = 65,
eUseCounter_MutationEvent = 66, eUseCounter_DOMExceptionCode = 66,
eUseCounter_Components = 67, eUseCounter_NoExposedProps = 67,
eUseCounter_PrefixedVisibilityAPI = 68, eUseCounter_MutationEvent = 68,
eUseCounter_NodeIteratorDetach = 69, eUseCounter_Components = 69,
eUseCounter_LenientThis = 70, eUseCounter_PrefixedVisibilityAPI = 70,
eUseCounter_GetPreventDefault = 71, eUseCounter_NodeIteratorDetach = 71,
eUseCounter_GetSetUserData = 72, eUseCounter_LenientThis = 72,
eUseCounter_MozGetAsFile = 73, eUseCounter_GetPreventDefault = 73,
eUseCounter_UseOfCaptureEvents = 74, eUseCounter_GetSetUserData = 74,
eUseCounter_UseOfReleaseEvents = 75, eUseCounter_MozGetAsFile = 75,
eUseCounter_UseOfDOM3LoadMethod = 76, eUseCounter_UseOfCaptureEvents = 76,
eUseCounter_ChromeUseOfDOM3LoadMethod = 77, eUseCounter_UseOfReleaseEvents = 77,
eUseCounter_ShowModalDialog = 78, eUseCounter_UseOfDOM3LoadMethod = 78,
eUseCounter_Window_Content = 79, eUseCounter_ChromeUseOfDOM3LoadMethod = 79,
eUseCounter_SyncXMLHttpRequest = 80, eUseCounter_ShowModalDialog = 80,
eUseCounter_Window_Cc_ontrollers = 81, eUseCounter_Window_Content = 81,
eUseCounter_ImportXULIntoContent = 82, eUseCounter_SyncXMLHttpRequest = 82,
eUseCounter_PannerNodeDoppler = 83, eUseCounter_Window_Cc_ontrollers = 83,
eUseCounter_NavigatorGetUserMedia = 84, eUseCounter_ImportXULIntoContent = 84,
eUseCounter_WebrtcDeprecatedPrefix = 85, eUseCounter_PannerNodeDoppler = 85,
eUseCounter_RTCPeerConnectionGetStreams = 86, eUseCounter_NavigatorGetUserMedia = 86,
eUseCounter_AppCache = 87, eUseCounter_WebrtcDeprecatedPrefix = 87,
eUseCounter_PrefixedImageSmoothingEnabled = 88, eUseCounter_RTCPeerConnectionGetStreams = 88,
eUseCounter_PrefixedFullscreenAPI = 89, eUseCounter_AppCache = 89,
eUseCounter_LenientSetter = 90, eUseCounter_PrefixedImageSmoothingEnabled = 90,
eUseCounter_FileLastModifiedDate = 91, eUseCounter_PrefixedFullscreenAPI = 91,
eUseCounter_ImageBitmapRenderingContext_TransferImageBitmap = 92, eUseCounter_LenientSetter = 92,
eUseCounter_URLCreateObjectURL_MediaStream = 93, eUseCounter_FileLastModifiedDate = 93,
eUseCounter_XMLBaseAttribute = 94, eUseCounter_ImageBitmapRenderingContext_TransferImageBitmap = 94,
eUseCounter_XMLBaseAttributeForStyleAttr = 95, eUseCounter_URLCreateObjectURL_MediaStream = 95,
eUseCounter_Count = 96, eUseCounter_XMLBaseAttribute = 96,
eUseCounter_XMLBaseAttributeForStyleAttr = 97,
eUseCounter_Count = 98,
} }
#[repr(C)] #[repr(C)]
#[derive(Debug)] #[derive(Debug)]
@ -6878,6 +6888,90 @@ pub mod root {
impl Clone for XREAppData_NSFreePolicy { impl Clone for XREAppData_NSFreePolicy {
fn clone(&self) -> Self { *self } fn clone(&self) -> Self { *self }
} }
#[repr(C)]
pub struct SchedulerGroup__bindgen_vtable(::std::os::raw::c_void);
#[repr(C)]
#[derive(Debug)]
pub struct SchedulerGroup {
pub vtable_: *const SchedulerGroup__bindgen_vtable,
pub mIsRunning: bool,
pub mEventTargets: [root::nsCOMPtr<root::nsISerialEventTarget>; 8usize],
pub mAbstractThreads: [root::RefPtr<root::mozilla::AbstractThread>; 8usize],
}
#[repr(C)]
#[derive(Debug)]
pub struct SchedulerGroup_Runnable {
pub _base: root::mozilla::Runnable,
pub _base_1: root::nsIRunnablePriority,
pub _base_2: root::nsILabelableRunnable,
pub mRunnable: root::nsCOMPtr<root::nsIRunnable>,
pub mGroup: root::RefPtr<root::mozilla::SchedulerGroup>,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct SchedulerGroup_Runnable_COMTypeInfo {
pub _address: u8,
}
#[test]
fn bindgen_test_layout_SchedulerGroup_Runnable() {
assert_eq!(::std::mem::size_of::<SchedulerGroup_Runnable>() ,
72usize , concat ! (
"Size of: " , stringify ! ( SchedulerGroup_Runnable )
));
assert_eq! (::std::mem::align_of::<SchedulerGroup_Runnable>() ,
8usize , concat ! (
"Alignment of " , stringify ! (
SchedulerGroup_Runnable ) ));
}
#[repr(u32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum SchedulerGroup_ValidationType {
StartValidation = 0,
EndValidation = 1,
}
extern "C" {
#[link_name =
"_ZN7mozilla14SchedulerGroup20sTlsValidatingAccessE"]
pub static mut SchedulerGroup_sTlsValidatingAccess:
root::mozilla::detail::ThreadLocal<bool>;
}
#[test]
fn bindgen_test_layout_SchedulerGroup() {
assert_eq!(::std::mem::size_of::<SchedulerGroup>() , 144usize ,
concat ! ( "Size of: " , stringify ! ( SchedulerGroup )
));
assert_eq! (::std::mem::align_of::<SchedulerGroup>() , 8usize ,
concat ! (
"Alignment of " , stringify ! ( SchedulerGroup ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const SchedulerGroup ) ) . mIsRunning
as * const _ as usize } , 8usize , concat ! (
"Alignment of field: " , stringify ! ( SchedulerGroup
) , "::" , stringify ! ( mIsRunning ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const SchedulerGroup ) ) .
mEventTargets as * const _ as usize } , 16usize ,
concat ! (
"Alignment of field: " , stringify ! ( SchedulerGroup
) , "::" , stringify ! ( mEventTargets ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const SchedulerGroup ) ) .
mAbstractThreads as * const _ as usize } , 80usize ,
concat ! (
"Alignment of field: " , stringify ! ( SchedulerGroup
) , "::" , stringify ! ( mAbstractThreads ) ));
}
#[test]
fn __bindgen_test_layout_ThreadLocal_open0_bool__close0_instantiation() {
assert_eq!(::std::mem::size_of::<root::mozilla::detail::ThreadLocal<bool>>()
, 1usize , concat ! (
"Size of template specialization: " , stringify ! (
root::mozilla::detail::ThreadLocal<bool> ) ));
assert_eq!(::std::mem::align_of::<root::mozilla::detail::ThreadLocal<bool>>()
, 1usize , concat ! (
"Alignment of template specialization: " , stringify !
( root::mozilla::detail::ThreadLocal<bool> ) ));
}
pub mod image { pub mod image {
#[allow(unused_imports)] #[allow(unused_imports)]
use self::super::super::super::root; use self::super::super::super::root;
@ -9586,6 +9680,15 @@ pub mod root {
"Alignment of field: " , stringify ! ( ServoMediaList "Alignment of field: " , stringify ! ( ServoMediaList
) , "::" , stringify ! ( mRawList ) )); ) , "::" , stringify ! ( mRawList ) ));
} }
pub mod dmd {
#[allow(unused_imports)]
use self::super::super::super::root;
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct JSONWriteFunc {
_unused: [u8; 0],
}
/// A PostTraversalTask is a task to be performed immediately after a Servo /// A PostTraversalTask is a task to be performed immediately after a Servo
/// traversal. There are just a few tasks we need to perform, so we use this /// traversal. There are just a few tasks we need to perform, so we use this
/// class rather than Runnables, to avoid virtual calls and some allocations. /// class rather than Runnables, to avoid virtual calls and some allocations.
@ -9911,6 +10014,7 @@ pub mod root {
NS_ERROR_PLUGIN_TIME_RANGE_NOT_SUPPORTED = 2152465387, NS_ERROR_PLUGIN_TIME_RANGE_NOT_SUPPORTED = 2152465387,
NS_ERROR_PLUGIN_CLICKTOPLAY = 2152465388, NS_ERROR_PLUGIN_CLICKTOPLAY = 2152465388,
NS_TABLELAYOUT_CELL_NOT_FOUND = 5046272, NS_TABLELAYOUT_CELL_NOT_FOUND = 5046272,
NS_OK_PARSE_SHEET = 5046273,
NS_POSITION_BEFORE_TABLE = 5046275, NS_POSITION_BEFORE_TABLE = 5046275,
NS_STATE_PROPERTY_NOT_THERE = 5046277, NS_STATE_PROPERTY_NOT_THERE = 5046277,
NS_ERROR_HTMLPARSER_EOF = 2152596456, NS_ERROR_HTMLPARSER_EOF = 2152596456,
@ -11740,6 +11844,41 @@ pub mod root {
_unused: [u8; 0], _unused: [u8; 0],
} }
#[repr(C)] #[repr(C)]
#[derive(Debug, Copy)]
pub struct nsIWeakReference {
pub _base: root::nsISupports,
pub _mWeakRefOwningThread: root::nsAutoOwningThread,
pub mObject: *mut root::nsISupports,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct nsIWeakReference_COMTypeInfo {
pub _address: u8,
}
#[test]
fn bindgen_test_layout_nsIWeakReference() {
assert_eq!(::std::mem::size_of::<nsIWeakReference>() , 24usize ,
concat ! ( "Size of: " , stringify ! ( nsIWeakReference )
));
assert_eq! (::std::mem::align_of::<nsIWeakReference>() , 8usize ,
concat ! (
"Alignment of " , stringify ! ( nsIWeakReference ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const nsIWeakReference ) ) .
_mWeakRefOwningThread as * const _ as usize } , 8usize ,
concat ! (
"Alignment of field: " , stringify ! ( nsIWeakReference )
, "::" , stringify ! ( _mWeakRefOwningThread ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const nsIWeakReference ) ) . mObject as *
const _ as usize } , 16usize , concat ! (
"Alignment of field: " , stringify ! ( nsIWeakReference )
, "::" , stringify ! ( mObject ) ));
}
impl Clone for nsIWeakReference {
fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Debug)] #[derive(Debug)]
pub struct nsCOMPtr<T> { pub struct nsCOMPtr<T> {
pub mRawPtr: *mut T, pub mRawPtr: *mut T,
@ -16206,9 +16345,11 @@ pub mod root {
/// Weak reference to this node. This is cleared by the destructor of /// Weak reference to this node. This is cleared by the destructor of
/// nsNodeWeakReference. /// nsNodeWeakReference.
pub mWeakReference: *mut root::nsNodeWeakReference, pub mWeakReference: *mut root::nsNodeWeakReference,
/// A set of ranges in the common ancestor for the selection to which /// A set of ranges which are in the selection and which have this node as
/// this node belongs to. /// their endpoints' common ancestor. This is a UniquePtr instead of just a
pub mCommonAncestorRanges: u64, /// LinkedList, because that prevents us from pushing DOMSlots up to the next
/// allocation bucket size, at the cost of some complexity.
pub mCommonAncestorRanges: root::mozilla::UniquePtr<root::mozilla::LinkedList>,
/// Number of descendant nodes in the uncomposed document that have been /// Number of descendant nodes in the uncomposed document that have been
/// explicitly set as editable. /// explicitly set as editable.
pub mEditableDescendantCount: u32, pub mEditableDescendantCount: u32,
@ -25353,13 +25494,12 @@ pub mod root {
pub _base: root::nsIWeakReference, pub _base: root::nsIWeakReference,
pub mRefCnt: root::nsAutoRefCnt, pub mRefCnt: root::nsAutoRefCnt,
pub _mOwningThread: root::nsAutoOwningThread, pub _mOwningThread: root::nsAutoOwningThread,
pub mNode: *mut root::nsINode,
} }
pub type nsNodeWeakReference_HasThreadSafeRefCnt = pub type nsNodeWeakReference_HasThreadSafeRefCnt =
root::mozilla::FalseType; root::mozilla::FalseType;
#[test] #[test]
fn bindgen_test_layout_nsNodeWeakReference() { fn bindgen_test_layout_nsNodeWeakReference() {
assert_eq!(::std::mem::size_of::<nsNodeWeakReference>() , 32usize , assert_eq!(::std::mem::size_of::<nsNodeWeakReference>() , 40usize ,
concat ! ( concat ! (
"Size of: " , stringify ! ( nsNodeWeakReference ) )); "Size of: " , stringify ! ( nsNodeWeakReference ) ));
assert_eq! (::std::mem::align_of::<nsNodeWeakReference>() , 8usize , assert_eq! (::std::mem::align_of::<nsNodeWeakReference>() , 8usize ,
@ -25367,20 +25507,15 @@ pub mod root {
"Alignment of " , stringify ! ( nsNodeWeakReference ) )); "Alignment of " , stringify ! ( nsNodeWeakReference ) ));
assert_eq! (unsafe { assert_eq! (unsafe {
& ( * ( 0 as * const nsNodeWeakReference ) ) . mRefCnt as & ( * ( 0 as * const nsNodeWeakReference ) ) . mRefCnt as
* const _ as usize } , 8usize , concat ! ( * const _ as usize } , 24usize , concat ! (
"Alignment of field: " , stringify ! ( nsNodeWeakReference "Alignment of field: " , stringify ! ( nsNodeWeakReference
) , "::" , stringify ! ( mRefCnt ) )); ) , "::" , stringify ! ( mRefCnt ) ));
assert_eq! (unsafe { assert_eq! (unsafe {
& ( * ( 0 as * const nsNodeWeakReference ) ) . & ( * ( 0 as * const nsNodeWeakReference ) ) .
_mOwningThread as * const _ as usize } , 16usize , concat _mOwningThread as * const _ as usize } , 32usize , concat
! ( ! (
"Alignment of field: " , stringify ! ( nsNodeWeakReference "Alignment of field: " , stringify ! ( nsNodeWeakReference
) , "::" , stringify ! ( _mOwningThread ) )); ) , "::" , stringify ! ( _mOwningThread ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const nsNodeWeakReference ) ) . mNode as *
const _ as usize } , 24usize , concat ! (
"Alignment of field: " , stringify ! ( nsNodeWeakReference
) , "::" , stringify ! ( mNode ) ));
} }
#[repr(C)] #[repr(C)]
#[derive(Debug, Copy, Clone)] #[derive(Debug, Copy, Clone)]
@ -25664,27 +25799,6 @@ pub mod root {
impl Clone for nsFrameManagerBase { impl Clone for nsFrameManagerBase {
fn clone(&self) -> Self { *self } fn clone(&self) -> Self { *self }
} }
#[repr(C)]
#[derive(Debug, Copy)]
pub struct nsIWeakReference {
pub _base: root::nsISupports,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct nsIWeakReference_COMTypeInfo {
pub _address: u8,
}
#[test]
fn bindgen_test_layout_nsIWeakReference() {
assert_eq!(::std::mem::size_of::<nsIWeakReference>() , 8usize , concat
! ( "Size of: " , stringify ! ( nsIWeakReference ) ));
assert_eq! (::std::mem::align_of::<nsIWeakReference>() , 8usize ,
concat ! (
"Alignment of " , stringify ! ( nsIWeakReference ) ));
}
impl Clone for nsIWeakReference {
fn clone(&self) -> Self { *self }
}
pub type nsWeakPtr = root::nsCOMPtr<root::nsIWeakReference>; pub type nsWeakPtr = root::nsCOMPtr<root::nsIWeakReference>;
/// templated hashtable class maps keys to reference pointers. /// templated hashtable class maps keys to reference pointers.
/// See nsBaseHashtable for complete declaration. /// See nsBaseHashtable for complete declaration.
@ -26202,6 +26316,66 @@ pub mod root {
impl Clone for nsIRunnable { impl Clone for nsIRunnable {
fn clone(&self) -> Self { *self } fn clone(&self) -> Self { *self }
} }
#[repr(C)]
#[derive(Debug, Copy)]
pub struct nsIRunnablePriority {
pub _base: root::nsISupports,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct nsIRunnablePriority_COMTypeInfo {
pub _address: u8,
}
pub const nsIRunnablePriority_PRIORITY_NORMAL:
root::nsIRunnablePriority__bindgen_ty_1 =
nsIRunnablePriority__bindgen_ty_1::PRIORITY_NORMAL;
pub const nsIRunnablePriority_PRIORITY_INPUT:
root::nsIRunnablePriority__bindgen_ty_1 =
nsIRunnablePriority__bindgen_ty_1::PRIORITY_INPUT;
pub const nsIRunnablePriority_PRIORITY_HIGH:
root::nsIRunnablePriority__bindgen_ty_1 =
nsIRunnablePriority__bindgen_ty_1::PRIORITY_HIGH;
#[repr(u32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum nsIRunnablePriority__bindgen_ty_1 {
PRIORITY_NORMAL = 0,
PRIORITY_INPUT = 1,
PRIORITY_HIGH = 2,
}
#[test]
fn bindgen_test_layout_nsIRunnablePriority() {
assert_eq!(::std::mem::size_of::<nsIRunnablePriority>() , 8usize ,
concat ! (
"Size of: " , stringify ! ( nsIRunnablePriority ) ));
assert_eq! (::std::mem::align_of::<nsIRunnablePriority>() , 8usize ,
concat ! (
"Alignment of " , stringify ! ( nsIRunnablePriority ) ));
}
impl Clone for nsIRunnablePriority {
fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct nsISerialEventTarget {
pub _base: root::nsIEventTarget,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct nsISerialEventTarget_COMTypeInfo {
pub _address: u8,
}
#[test]
fn bindgen_test_layout_nsISerialEventTarget() {
assert_eq!(::std::mem::size_of::<nsISerialEventTarget>() , 16usize ,
concat ! (
"Size of: " , stringify ! ( nsISerialEventTarget ) ));
assert_eq! (::std::mem::align_of::<nsISerialEventTarget>() , 8usize ,
concat ! (
"Alignment of " , stringify ! ( nsISerialEventTarget ) ));
}
impl Clone for nsISerialEventTarget {
fn clone(&self) -> Self { *self }
}
pub type nsRunnableMethod_BaseType = u8; pub type nsRunnableMethod_BaseType = u8;
#[repr(C)] #[repr(C)]
#[derive(Debug, Copy, Clone)] #[derive(Debug, Copy, Clone)]
@ -26215,7 +26389,7 @@ pub mod root {
#[repr(C)] #[repr(C)]
#[derive(Debug)] #[derive(Debug)]
pub struct nsPIDOMWindowInner { pub struct nsPIDOMWindowInner {
pub _base: [u64; 31usize], pub _base: [u64; 32usize],
} }
#[repr(C)] #[repr(C)]
#[derive(Debug, Copy, Clone)] #[derive(Debug, Copy, Clone)]
@ -26224,7 +26398,7 @@ pub mod root {
} }
#[test] #[test]
fn bindgen_test_layout_nsPIDOMWindowInner() { fn bindgen_test_layout_nsPIDOMWindowInner() {
assert_eq!(::std::mem::size_of::<nsPIDOMWindowInner>() , 248usize , assert_eq!(::std::mem::size_of::<nsPIDOMWindowInner>() , 256usize ,
concat ! ( "Size of: " , stringify ! ( nsPIDOMWindowInner ) concat ! ( "Size of: " , stringify ! ( nsPIDOMWindowInner )
)); ));
assert_eq! (::std::mem::align_of::<nsPIDOMWindowInner>() , 8usize , assert_eq! (::std::mem::align_of::<nsPIDOMWindowInner>() , 8usize ,
@ -29090,6 +29264,28 @@ pub mod root {
impl Clone for nsCSSProps { impl Clone for nsCSSProps {
fn clone(&self) -> Self { *self } fn clone(&self) -> Self { *self }
} }
#[repr(C)]
#[derive(Debug, Copy)]
pub struct nsILabelableRunnable {
pub _base: root::nsISupports,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct nsILabelableRunnable_COMTypeInfo {
pub _address: u8,
}
#[test]
fn bindgen_test_layout_nsILabelableRunnable() {
assert_eq!(::std::mem::size_of::<nsILabelableRunnable>() , 8usize ,
concat ! (
"Size of: " , stringify ! ( nsILabelableRunnable ) ));
assert_eq! (::std::mem::align_of::<nsILabelableRunnable>() , 8usize ,
concat ! (
"Alignment of " , stringify ! ( nsILabelableRunnable ) ));
}
impl Clone for nsILabelableRunnable {
fn clone(&self) -> Self { *self }
}
/// Class to safely handle main-thread-only pointers off the main thread. /// Class to safely handle main-thread-only pointers off the main thread.
/// ///
/// Classes like XPCWrappedJS are main-thread-only, which means that it is /// Classes like XPCWrappedJS are main-thread-only, which means that it is
@ -33928,7 +34124,7 @@ pub mod root {
root::nsTArray<root::mozilla::gfx::FontVariation> ) )); root::nsTArray<root::mozilla::gfx::FontVariation> ) ));
} }
#[test] #[test]
fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_229005_close0_instantiation() { fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_229171_close0_instantiation() {
assert_eq!(::std::mem::size_of::<root::nsTArray<*mut root::nsCSSSelector>>() assert_eq!(::std::mem::size_of::<root::nsTArray<*mut root::nsCSSSelector>>()
, 8usize , concat ! ( , 8usize , concat ! (
"Size of template specialization: " , stringify ! ( "Size of template specialization: " , stringify ! (
@ -34284,7 +34480,7 @@ pub mod root {
root::mozilla::binding_danger::TErrorResult ) )); root::mozilla::binding_danger::TErrorResult ) ));
} }
#[test] #[test]
fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_230841_close0_instantiation() { fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_231001_close0_instantiation() {
assert_eq!(::std::mem::size_of::<root::nsTArray<*mut root::mozilla::StyleSheet>>() assert_eq!(::std::mem::size_of::<root::nsTArray<*mut root::mozilla::StyleSheet>>()
, 8usize , concat ! ( , 8usize , concat ! (
"Size of template specialization: " , stringify ! ( "Size of template specialization: " , stringify ! (
@ -34350,16 +34546,18 @@ pub mod root {
root::RefPtr<root::nsAttrChildContentList> ) )); root::RefPtr<root::nsAttrChildContentList> ) ));
} }
#[test] #[test]
fn __bindgen_test_layout_UniquePtr_open0_nsTHashtable_open1_nsPtrHashKey_open2_nsRange_close2_close1_DefaultDelete_open1_nsTHashtable_open2_nsPtrHashKey_open3_nsRange_close3_close2_close1_close0_instantiation() { fn __bindgen_test_layout_UniquePtr_open0_LinkedList_open1_nsRange_close1_DefaultDelete_open1_LinkedList_open2_nsRange_close2_close1_close0_instantiation() {
assert_eq!(::std::mem::size_of::<u64>() , 8usize , concat ! ( assert_eq!(::std::mem::size_of::<root::mozilla::UniquePtr<root::mozilla::LinkedList>>()
"Size of template specialization: " , stringify ! ( u64 ) , 8usize , concat ! (
)); "Size of template specialization: " , stringify ! (
assert_eq!(::std::mem::align_of::<u64>() , 8usize , concat ! ( root::mozilla::UniquePtr<root::mozilla::LinkedList> ) ));
assert_eq!(::std::mem::align_of::<root::mozilla::UniquePtr<root::mozilla::LinkedList>>()
, 8usize , concat ! (
"Alignment of template specialization: " , stringify ! ( "Alignment of template specialization: " , stringify ! (
u64 ) )); root::mozilla::UniquePtr<root::mozilla::LinkedList> ) ));
} }
#[test] #[test]
fn __bindgen_test_layout_DefaultDelete_open0_nsTHashtable_open1_nsPtrHashKey_open2_nsRange_close2_close1_close0_instantiation() { fn __bindgen_test_layout_DefaultDelete_open0_LinkedList_open1_nsRange_close1_close0_instantiation() {
assert_eq!(::std::mem::size_of::<root::mozilla::DefaultDelete>() , assert_eq!(::std::mem::size_of::<root::mozilla::DefaultDelete>() ,
1usize , concat ! ( 1usize , concat ! (
"Size of template specialization: " , stringify ! ( "Size of template specialization: " , stringify ! (
@ -34370,16 +34568,18 @@ pub mod root {
root::mozilla::DefaultDelete ) )); root::mozilla::DefaultDelete ) ));
} }
#[test] #[test]
fn __bindgen_test_layout_UniquePtr_open0_nsTHashtable_open1_nsPtrHashKey_open2_nsRange_close2_close1_DefaultDelete_open1_nsTHashtable_open2_nsPtrHashKey_open3_nsRange_close3_close2_close1_close0_instantiation_1() { fn __bindgen_test_layout_UniquePtr_open0_LinkedList_open1_nsRange_close1_DefaultDelete_open1_LinkedList_open2_nsRange_close2_close1_close0_instantiation_1() {
assert_eq!(::std::mem::size_of::<u64>() , 8usize , concat ! ( assert_eq!(::std::mem::size_of::<root::mozilla::UniquePtr<root::mozilla::LinkedList>>()
"Size of template specialization: " , stringify ! ( u64 ) , 8usize , concat ! (
)); "Size of template specialization: " , stringify ! (
assert_eq!(::std::mem::align_of::<u64>() , 8usize , concat ! ( root::mozilla::UniquePtr<root::mozilla::LinkedList> ) ));
assert_eq!(::std::mem::align_of::<root::mozilla::UniquePtr<root::mozilla::LinkedList>>()
, 8usize , concat ! (
"Alignment of template specialization: " , stringify ! ( "Alignment of template specialization: " , stringify ! (
u64 ) )); root::mozilla::UniquePtr<root::mozilla::LinkedList> ) ));
} }
#[test] #[test]
fn __bindgen_test_layout_DefaultDelete_open0_nsTHashtable_open1_nsPtrHashKey_open2_nsRange_close2_close1_close0_instantiation_1() { fn __bindgen_test_layout_DefaultDelete_open0_LinkedList_open1_nsRange_close1_close0_instantiation_1() {
assert_eq!(::std::mem::size_of::<root::mozilla::DefaultDelete>() , assert_eq!(::std::mem::size_of::<root::mozilla::DefaultDelete>() ,
1usize , concat ! ( 1usize , concat ! (
"Size of template specialization: " , stringify ! ( "Size of template specialization: " , stringify ! (
@ -34445,7 +34645,7 @@ pub mod root {
root::JS::DeletePolicy ) )); root::JS::DeletePolicy ) ));
} }
#[test] #[test]
fn __bindgen_test_layout_iterator_open0_input_iterator_tag_UniquePtr_open1_JSErrorNotes_Note_DeletePolicy_open2_JSErrorNotes_Note_close2_close1_long__bindgen_ty_id_236459__bindgen_ty_id_236466_close0_instantiation() { fn __bindgen_test_layout_iterator_open0_input_iterator_tag_UniquePtr_open1_JSErrorNotes_Note_DeletePolicy_open2_JSErrorNotes_Note_close2_close1_long__bindgen_ty_id_236616__bindgen_ty_id_236623_close0_instantiation() {
assert_eq!(::std::mem::size_of::<root::std::iterator>() , 1usize , assert_eq!(::std::mem::size_of::<root::std::iterator>() , 1usize ,
concat ! ( concat ! (
"Size of template specialization: " , stringify ! ( "Size of template specialization: " , stringify ! (
@ -34693,7 +34893,7 @@ pub mod root {
root::RefPtr<root::mozilla::StyleSheet> ) )); root::RefPtr<root::mozilla::StyleSheet> ) ));
} }
#[test] #[test]
fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_238976_close0_instantiation() { fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_239133_close0_instantiation() {
assert_eq!(::std::mem::size_of::<root::nsTArray<*mut root::mozilla::dom::Element>>() assert_eq!(::std::mem::size_of::<root::nsTArray<*mut root::mozilla::dom::Element>>()
, 8usize , concat ! ( , 8usize , concat ! (
"Size of template specialization: " , stringify ! ( "Size of template specialization: " , stringify ! (
@ -34761,7 +34961,7 @@ pub mod root {
root::nsCOMPtr<root::nsIObserver> ) )); root::nsCOMPtr<root::nsIObserver> ) ));
} }
#[test] #[test]
fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_239281_close0_instantiation() { fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_239438_close0_instantiation() {
assert_eq!(::std::mem::size_of::<root::nsTArray<*mut root::mozilla::dom::Element>>() assert_eq!(::std::mem::size_of::<root::nsTArray<*mut root::mozilla::dom::Element>>()
, 8usize , concat ! ( , 8usize , concat ! (
"Size of template specialization: " , stringify ! ( "Size of template specialization: " , stringify ! (
@ -34873,7 +35073,7 @@ pub mod root {
root::RefPtr<root::mozilla::URLExtraData> ) )); root::RefPtr<root::mozilla::URLExtraData> ) ));
} }
#[test] #[test]
fn __bindgen_test_layout_NotNull_open0__bindgen_ty_id_239830_close0_instantiation() { fn __bindgen_test_layout_NotNull_open0__bindgen_ty_id_239987_close0_instantiation() {
assert_eq!(::std::mem::size_of::<root::mozilla::NotNull<*const root::mozilla::Encoding>>() assert_eq!(::std::mem::size_of::<root::mozilla::NotNull<*const root::mozilla::Encoding>>()
, 8usize , concat ! ( , 8usize , concat ! (
"Size of template specialization: " , stringify ! ( "Size of template specialization: " , stringify ! (
@ -35288,7 +35488,7 @@ pub mod root {
root::RefPtr<root::mozilla::StyleSheet> ) )); root::RefPtr<root::mozilla::StyleSheet> ) ));
} }
#[test] #[test]
fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_240254_close0_instantiation() { fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_240413_close0_instantiation() {
assert_eq!(::std::mem::size_of::<root::nsTArray<*mut root::mozilla::StyleSheet>>() assert_eq!(::std::mem::size_of::<root::nsTArray<*mut root::mozilla::StyleSheet>>()
, 8usize , concat ! ( , 8usize , concat ! (
"Size of template specialization: " , stringify ! ( "Size of template specialization: " , stringify ! (
@ -35378,7 +35578,7 @@ pub mod root {
) )); ) ));
} }
#[test] #[test]
fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_240657_close0_instantiation() { fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_240818_close0_instantiation() {
assert_eq!(::std::mem::size_of::<root::nsTArray<*mut root::mozilla::StyleSheet>>() assert_eq!(::std::mem::size_of::<root::nsTArray<*mut root::mozilla::StyleSheet>>()
, 8usize , concat ! ( , 8usize , concat ! (
"Size of template specialization: " , stringify ! ( "Size of template specialization: " , stringify ! (
@ -35479,7 +35679,7 @@ pub mod root {
root::nsTArray<::nsstring::nsStringRepr> ) )); root::nsTArray<::nsstring::nsStringRepr> ) ));
} }
#[test] #[test]
fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_241631_close0_instantiation() { fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_241790_close0_instantiation() {
assert_eq!(::std::mem::size_of::<root::nsTArray<*mut root::mozilla::StyleSheet>>() assert_eq!(::std::mem::size_of::<root::nsTArray<*mut root::mozilla::StyleSheet>>()
, 8usize , concat ! ( , 8usize , concat ! (
"Size of template specialization: " , stringify ! ( "Size of template specialization: " , stringify ! (
@ -35568,7 +35768,7 @@ pub mod root {
root::RefPtr<root::nsCSSFontFaceRule> ) )); root::RefPtr<root::nsCSSFontFaceRule> ) ));
} }
#[test] #[test]
fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_241936_close0_instantiation() { fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_242095_close0_instantiation() {
assert_eq!(::std::mem::size_of::<root::nsTArray<*mut root::nsIContent>>() assert_eq!(::std::mem::size_of::<root::nsTArray<*mut root::nsIContent>>()
, 8usize , concat ! ( , 8usize , concat ! (
"Size of template specialization: " , stringify ! ( "Size of template specialization: " , stringify ! (
@ -35579,7 +35779,7 @@ pub mod root {
root::nsTArray<*mut root::nsIContent> ) )); root::nsTArray<*mut root::nsIContent> ) ));
} }
#[test] #[test]
fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_241941_close0_instantiation() { fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_242100_close0_instantiation() {
assert_eq!(::std::mem::size_of::<root::nsTArray<*mut root::nsIContent>>() assert_eq!(::std::mem::size_of::<root::nsTArray<*mut root::nsIContent>>()
, 8usize , concat ! ( , 8usize , concat ! (
"Size of template specialization: " , stringify ! ( "Size of template specialization: " , stringify ! (
@ -35636,7 +35836,7 @@ pub mod root {
root::RefPtr<root::mozilla::CSSStyleSheet> ) )); root::RefPtr<root::mozilla::CSSStyleSheet> ) ));
} }
#[test] #[test]
fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_242432_close0_instantiation() { fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_242593_close0_instantiation() {
assert_eq!(::std::mem::size_of::<root::nsTArray<*mut root::mozilla::StyleSheet>>() assert_eq!(::std::mem::size_of::<root::nsTArray<*mut root::mozilla::StyleSheet>>()
, 8usize , concat ! ( , 8usize , concat ! (
"Size of template specialization: " , stringify ! ( "Size of template specialization: " , stringify ! (
@ -36295,7 +36495,7 @@ pub mod root {
root::nsCOMPtr<root::nsIWeakReference> ) )); root::nsCOMPtr<root::nsIWeakReference> ) ));
} }
#[test] #[test]
fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_245264_close0_instantiation() { fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_245425_close0_instantiation() {
assert_eq!(::std::mem::size_of::<root::nsTArray<*mut ::std::os::raw::c_void>>() assert_eq!(::std::mem::size_of::<root::nsTArray<*mut ::std::os::raw::c_void>>()
, 8usize , concat ! ( , 8usize , concat ! (
"Size of template specialization: " , stringify ! ( "Size of template specialization: " , stringify ! (
@ -36374,7 +36574,7 @@ pub mod root {
root::mozilla::DefaultDelete ) )); root::mozilla::DefaultDelete ) ));
} }
#[test] #[test]
fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_251538_close0_instantiation() { fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_251697_close0_instantiation() {
assert_eq!(::std::mem::size_of::<root::nsTArray<*mut root::mozilla::dom::AudioContext>>() assert_eq!(::std::mem::size_of::<root::nsTArray<*mut root::mozilla::dom::AudioContext>>()
, 8usize , concat ! ( , 8usize , concat ! (
"Size of template specialization: " , stringify ! ( "Size of template specialization: " , stringify ! (
@ -36407,7 +36607,7 @@ pub mod root {
root::RefPtr<root::mozilla::dom::CallbackObject> ) )); root::RefPtr<root::mozilla::dom::CallbackObject> ) ));
} }
#[test] #[test]
fn __bindgen_test_layout_Heap_open0__bindgen_ty_id_252707_close0_instantiation() { fn __bindgen_test_layout_Heap_open0__bindgen_ty_id_252866_close0_instantiation() {
assert_eq!(::std::mem::size_of::<root::JS::Heap<*mut root::JSObject>>() assert_eq!(::std::mem::size_of::<root::JS::Heap<*mut root::JSObject>>()
, 8usize , concat ! ( , 8usize , concat ! (
"Size of template specialization: " , stringify ! ( "Size of template specialization: " , stringify ! (
@ -36418,7 +36618,7 @@ pub mod root {
root::JS::Heap<*mut root::JSObject> ) )); root::JS::Heap<*mut root::JSObject> ) ));
} }
#[test] #[test]
fn __bindgen_test_layout_Heap_open0__bindgen_ty_id_252711_close0_instantiation() { fn __bindgen_test_layout_Heap_open0__bindgen_ty_id_252870_close0_instantiation() {
assert_eq!(::std::mem::size_of::<root::JS::Heap<*mut root::JSObject>>() assert_eq!(::std::mem::size_of::<root::JS::Heap<*mut root::JSObject>>()
, 8usize , concat ! ( , 8usize , concat ! (
"Size of template specialization: " , stringify ! ( "Size of template specialization: " , stringify ! (
@ -36440,7 +36640,7 @@ pub mod root {
root::nsCOMPtr<root::nsIGlobalObject> ) )); root::nsCOMPtr<root::nsIGlobalObject> ) ));
} }
#[test] #[test]
fn __bindgen_test_layout_TenuredHeap_open0__bindgen_ty_id_252718_close0_instantiation() { fn __bindgen_test_layout_TenuredHeap_open0__bindgen_ty_id_252877_close0_instantiation() {
assert_eq!(::std::mem::size_of::<root::JS::TenuredHeap>() , 8usize , assert_eq!(::std::mem::size_of::<root::JS::TenuredHeap>() , 8usize ,
concat ! ( concat ! (
"Size of template specialization: " , stringify ! ( "Size of template specialization: " , stringify ! (
@ -36519,7 +36719,7 @@ pub mod root {
) )); ) ));
} }
#[test] #[test]
fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_253823_close0_instantiation() { fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_253982_close0_instantiation() {
assert_eq!(::std::mem::size_of::<root::nsTArray<*mut root::nsISupports>>() assert_eq!(::std::mem::size_of::<root::nsTArray<*mut root::nsISupports>>()
, 8usize , concat ! ( , 8usize , concat ! (
"Size of template specialization: " , stringify ! ( "Size of template specialization: " , stringify ! (
@ -36714,7 +36914,7 @@ pub mod root {
root::nsTArray<f64> ) )); root::nsTArray<f64> ) ));
} }
#[test] #[test]
fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_255271_close0_instantiation() { fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_255427_close0_instantiation() {
assert_eq!(::std::mem::size_of::<root::nsTArray<*mut root::mozilla::dom::Element>>() assert_eq!(::std::mem::size_of::<root::nsTArray<*mut root::mozilla::dom::Element>>()
, 8usize , concat ! ( , 8usize , concat ! (
"Size of template specialization: " , stringify ! ( "Size of template specialization: " , stringify ! (
@ -36819,7 +37019,7 @@ pub mod root {
root::nsRefPtrHashKey<root::nsIAtom> ) )); root::nsRefPtrHashKey<root::nsIAtom> ) ));
} }
#[test] #[test]
fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_257679_close0_instantiation() { fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_257835_close0_instantiation() {
assert_eq!(::std::mem::size_of::<root::nsTArray<*mut root::mozilla::CounterStyle>>() assert_eq!(::std::mem::size_of::<root::nsTArray<*mut root::mozilla::CounterStyle>>()
, 8usize , concat ! ( , 8usize , concat ! (
"Size of template specialization: " , stringify ! ( "Size of template specialization: " , stringify ! (
@ -36920,6 +37120,72 @@ pub mod root {
root::mozilla::UniquePtr<::std::os::raw::c_char> ) )); root::mozilla::UniquePtr<::std::os::raw::c_char> ) ));
} }
#[test] #[test]
fn __bindgen_test_layout_RefPtr_open0_SchedulerGroup_close0_instantiation() {
assert_eq!(::std::mem::size_of::<root::RefPtr<root::mozilla::SchedulerGroup>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
root::RefPtr<root::mozilla::SchedulerGroup> ) ));
assert_eq!(::std::mem::align_of::<root::RefPtr<root::mozilla::SchedulerGroup>>()
, 8usize , concat ! (
"Alignment of template specialization: " , stringify ! (
root::RefPtr<root::mozilla::SchedulerGroup> ) ));
}
#[test]
fn __bindgen_test_layout_nsCOMPtr_open0_nsIRunnable_close0_instantiation_5() {
assert_eq!(::std::mem::size_of::<root::nsCOMPtr<root::nsIRunnable>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
root::nsCOMPtr<root::nsIRunnable> ) ));
assert_eq!(::std::mem::align_of::<root::nsCOMPtr<root::nsIRunnable>>()
, 8usize , concat ! (
"Alignment of template specialization: " , stringify ! (
root::nsCOMPtr<root::nsIRunnable> ) ));
}
#[test]
fn __bindgen_test_layout_RefPtr_open0_SchedulerGroup_close0_instantiation_1() {
assert_eq!(::std::mem::size_of::<root::RefPtr<root::mozilla::SchedulerGroup>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
root::RefPtr<root::mozilla::SchedulerGroup> ) ));
assert_eq!(::std::mem::align_of::<root::RefPtr<root::mozilla::SchedulerGroup>>()
, 8usize , concat ! (
"Alignment of template specialization: " , stringify ! (
root::RefPtr<root::mozilla::SchedulerGroup> ) ));
}
#[test]
fn __bindgen_test_layout_nsCOMPtr_open0_nsISerialEventTarget_close0_instantiation() {
assert_eq!(::std::mem::size_of::<root::nsCOMPtr<root::nsISerialEventTarget>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
root::nsCOMPtr<root::nsISerialEventTarget> ) ));
assert_eq!(::std::mem::align_of::<root::nsCOMPtr<root::nsISerialEventTarget>>()
, 8usize , concat ! (
"Alignment of template specialization: " , stringify ! (
root::nsCOMPtr<root::nsISerialEventTarget> ) ));
}
#[test]
fn __bindgen_test_layout_RefPtr_open0_AbstractThread_close0_instantiation() {
assert_eq!(::std::mem::size_of::<root::RefPtr<root::mozilla::AbstractThread>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
root::RefPtr<root::mozilla::AbstractThread> ) ));
assert_eq!(::std::mem::align_of::<root::RefPtr<root::mozilla::AbstractThread>>()
, 8usize , concat ! (
"Alignment of template specialization: " , stringify ! (
root::RefPtr<root::mozilla::AbstractThread> ) ));
}
#[test]
fn __bindgen_test_layout_RefPtr_open0_SchedulerGroup_close0_instantiation_2() {
assert_eq!(::std::mem::size_of::<root::RefPtr<root::mozilla::SchedulerGroup>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
root::RefPtr<root::mozilla::SchedulerGroup> ) ));
assert_eq!(::std::mem::align_of::<root::RefPtr<root::mozilla::SchedulerGroup>>()
, 8usize , concat ! (
"Alignment of template specialization: " , stringify ! (
root::RefPtr<root::mozilla::SchedulerGroup> ) ));
}
#[test]
fn __bindgen_test_layout_nsCOMPtr_open0_nsIEventTarget_close0_instantiation() { fn __bindgen_test_layout_nsCOMPtr_open0_nsIEventTarget_close0_instantiation() {
assert_eq!(::std::mem::size_of::<root::nsCOMPtr<root::nsIEventTarget>>() assert_eq!(::std::mem::size_of::<root::nsCOMPtr<root::nsIEventTarget>>()
, 8usize , concat ! ( , 8usize , concat ! (
@ -37520,7 +37786,7 @@ pub mod root {
root::RefPtr<root::nsStyleImageRequest> ) )); root::RefPtr<root::nsStyleImageRequest> ) ));
} }
#[test] #[test]
fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_260247_close0_instantiation() { fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_260403_close0_instantiation() {
assert_eq!(::std::mem::size_of::<root::nsTArray<*mut root::nsISupports>>() assert_eq!(::std::mem::size_of::<root::nsTArray<*mut root::nsISupports>>()
, 8usize , concat ! ( , 8usize , concat ! (
"Size of template specialization: " , stringify ! ( "Size of template specialization: " , stringify ! (
@ -37757,7 +38023,7 @@ pub mod root {
root::nsCOMPtr<root::nsIURI> ) )); root::nsCOMPtr<root::nsIURI> ) ));
} }
#[test] #[test]
fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_268057_close0_instantiation() { fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_268208_close0_instantiation() {
assert_eq!(::std::mem::size_of::<root::nsTArray<*mut root::nsIContent>>() assert_eq!(::std::mem::size_of::<root::nsTArray<*mut root::nsIContent>>()
, 8usize , concat ! ( , 8usize , concat ! (
"Size of template specialization: " , stringify ! ( "Size of template specialization: " , stringify ! (
@ -37768,7 +38034,7 @@ pub mod root {
root::nsTArray<*mut root::nsIContent> ) )); root::nsTArray<*mut root::nsIContent> ) ));
} }
#[test] #[test]
fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_268062_close0_instantiation() { fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_268213_close0_instantiation() {
assert_eq!(::std::mem::size_of::<root::nsTArray<*mut root::nsIContent>>() assert_eq!(::std::mem::size_of::<root::nsTArray<*mut root::nsIContent>>()
, 8usize , concat ! ( , 8usize , concat ! (
"Size of template specialization: " , stringify ! ( "Size of template specialization: " , stringify ! (
@ -37856,7 +38122,7 @@ pub mod root {
root::RefPtr<root::mozilla::dom::ShadowRoot> ) )); root::RefPtr<root::mozilla::dom::ShadowRoot> ) ));
} }
#[test] #[test]
fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_268175_close0_instantiation() { fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_268326_close0_instantiation() {
assert_eq!(::std::mem::size_of::<root::nsTArray<*mut root::nsIContent>>() assert_eq!(::std::mem::size_of::<root::nsTArray<*mut root::nsIContent>>()
, 8usize , concat ! ( , 8usize , concat ! (
"Size of template specialization: " , stringify ! ( "Size of template specialization: " , stringify ! (
@ -38143,7 +38409,7 @@ pub mod root {
) )); ) ));
} }
#[test] #[test]
fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_269761_close0_instantiation() { fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_269912_close0_instantiation() {
assert_eq!(::std::mem::size_of::<root::nsTArray<*mut root::nsIContent>>() assert_eq!(::std::mem::size_of::<root::nsTArray<*mut root::nsIContent>>()
, 8usize , concat ! ( , 8usize , concat ! (
"Size of template specialization: " , stringify ! ( "Size of template specialization: " , stringify ! (
@ -38165,18 +38431,29 @@ pub mod root {
root::RefPtr<root::mozilla::dom::Element> ) )); root::RefPtr<root::mozilla::dom::Element> ) ));
} }
#[test] #[test]
fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_269923_close0_instantiation() { fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_270074_close0_instantiation() {
assert_eq!(::std::mem::size_of::<root::nsTArray<*mut root::nsIContent>>() assert_eq!(::std::mem::size_of::<root::nsTArray<*mut root::nsIContent>>()
, 8usize , concat ! ( , 8usize , concat ! (
"Size of template specialization: " , stringify ! ( "Size of template specialization: " , stringify ! (
root::nsTArray<::std::os::raw::c_uint> ) )); root::nsTArray<*mut root::nsIContent> ) ));
assert_eq!(::std::mem::align_of::<root::nsTArray<::std::os::raw::c_uint>>() assert_eq!(::std::mem::align_of::<root::nsTArray<*mut root::nsIContent>>()
, 8usize , concat ! ( , 8usize , concat ! (
"Alignment of template specialization: " , stringify ! ( "Alignment of template specialization: " , stringify ! (
root::nsTArray<::std::os::raw::c_uint> ) )); root::nsTArray<*mut root::nsIContent> ) ));
} }
#[test] #[test]
fn __bindgen_test_layout_nsTArray_open0_unsigned_int_close0_instantiation_6() { fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_270079_close0_instantiation() {
assert_eq!(::std::mem::size_of::<root::nsTArray<*mut root::nsIContent>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
root::nsTArray<*mut root::nsIContent> ) ));
assert_eq!(::std::mem::align_of::<root::nsTArray<*mut root::nsIContent>>()
, 8usize , concat ! (
"Alignment of template specialization: " , stringify ! (
root::nsTArray<*mut root::nsIContent> ) ));
}
#[test]
fn __bindgen_test_layout_nsTArray_open0_unsigned_int_close0_instantiation_5() {
assert_eq!(::std::mem::size_of::<root::nsTArray<::std::os::raw::c_uint>>() assert_eq!(::std::mem::size_of::<root::nsTArray<::std::os::raw::c_uint>>()
, 8usize , concat ! ( , 8usize , concat ! (
"Size of template specialization: " , stringify ! ( "Size of template specialization: " , stringify ! (
@ -38187,28 +38464,6 @@ pub mod root {
root::nsTArray<::std::os::raw::c_uint> ) )); root::nsTArray<::std::os::raw::c_uint> ) ));
} }
#[test] #[test]
fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_269928_close0_instantiation() {
assert_eq!(::std::mem::size_of::<root::nsTArray<*mut root::nsIContent>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
root::nsTArray<*mut root::nsIContent> ) ));
assert_eq!(::std::mem::align_of::<root::nsTArray<*mut root::nsIContent>>()
, 8usize , concat ! (
"Alignment of template specialization: " , stringify ! (
root::nsTArray<*mut root::nsIContent> ) ));
}
#[test]
fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_257639_close0_instantiation() {
assert_eq!(::std::mem::size_of::<root::nsTArray<*mut root::nsIContent>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
root::nsTArray<*mut root::nsIContent> ) ));
assert_eq!(::std::mem::align_of::<root::nsTArray<*mut root::nsIContent>>()
, 8usize , concat ! (
"Alignment of template specialization: " , stringify ! (
root::nsTArray<*mut root::nsIContent> ) ));
}
#[test]
fn __bindgen_test_layout_nsTArray_open0_nsString_close0_instantiation_16() { fn __bindgen_test_layout_nsTArray_open0_nsString_close0_instantiation_16() {
assert_eq!(::std::mem::size_of::<root::nsTArray<::nsstring::nsStringRepr>>() , assert_eq!(::std::mem::size_of::<root::nsTArray<::nsstring::nsStringRepr>>() ,
8usize , concat ! ( 8usize , concat ! (
@ -38319,7 +38574,7 @@ pub mod root {
root::nsTArray<root::mozilla::gfx::FontVariation> ) )); root::nsTArray<root::mozilla::gfx::FontVariation> ) ));
} }
#[test] #[test]
fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_272464_close0_instantiation() { fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_272654_close0_instantiation() {
assert_eq!(::std::mem::size_of::<root::nsTArray<*mut root::mozilla::css::DocumentRule>>() assert_eq!(::std::mem::size_of::<root::nsTArray<*mut root::mozilla::css::DocumentRule>>()
, 8usize , concat ! ( , 8usize , concat ! (
"Size of template specialization: " , stringify ! ( "Size of template specialization: " , stringify ! (
@ -38330,7 +38585,7 @@ pub mod root {
root::nsTArray<*mut root::mozilla::css::DocumentRule> ) )); root::nsTArray<*mut root::mozilla::css::DocumentRule> ) ));
} }
#[test] #[test]
fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_272472_close0_instantiation() { fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_272662_close0_instantiation() {
assert_eq!(::std::mem::size_of::<root::nsTArray<*mut root::mozilla::css::DocumentRule>>() assert_eq!(::std::mem::size_of::<root::nsTArray<*mut root::mozilla::css::DocumentRule>>()
, 8usize , concat ! ( , 8usize , concat ! (
"Size of template specialization: " , stringify ! ( "Size of template specialization: " , stringify ! (

View file

@ -1286,6 +1286,12 @@ pub mod root {
#[derive(Debug, Copy, Clone)] #[derive(Debug, Copy, Clone)]
pub struct WeakReference { pub struct WeakReference {
} }
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct ThreadLocal<T> {
pub mValue: T,
pub _phantom_0: ::std::marker::PhantomData<::std::cell::UnsafeCell<T>>,
}
} }
pub type Conditional_Type<A> = A; pub type Conditional_Type<A> = A;
#[repr(u32)] #[repr(u32)]
@ -4813,9 +4819,6 @@ pub mod root {
pub const ServoTraversalFlags_Forgetful: pub const ServoTraversalFlags_Forgetful:
root::mozilla::ServoTraversalFlags = root::mozilla::ServoTraversalFlags =
8; 8;
pub const ServoTraversalFlags_AggressivelyForgetful:
root::mozilla::ServoTraversalFlags =
16;
pub const ServoTraversalFlags_ClearDirtyBits: pub const ServoTraversalFlags_ClearDirtyBits:
root::mozilla::ServoTraversalFlags = root::mozilla::ServoTraversalFlags =
32; 32;
@ -6157,6 +6160,11 @@ pub mod root {
( "Alignment of " , stringify ! ( Runnable ) )); ( "Alignment of " , stringify ! ( Runnable ) ));
} }
#[repr(C)] #[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct AbstractThread {
_unused: [u8; 0],
}
#[repr(C)]
#[derive(Debug)] #[derive(Debug)]
pub struct CycleCollectedJSContext_RunInMetastableStateData { pub struct CycleCollectedJSContext_RunInMetastableStateData {
pub mRunnable: root::nsCOMPtr, pub mRunnable: root::nsCOMPtr,
@ -6265,49 +6273,51 @@ pub mod root {
eUseCounter_DataTransfer_mozUserCancelled_setter = 51, eUseCounter_DataTransfer_mozUserCancelled_setter = 51,
eUseCounter_DataTransfer_mozSourceNode_getter = 52, eUseCounter_DataTransfer_mozSourceNode_getter = 52,
eUseCounter_DataTransfer_mozSourceNode_setter = 53, eUseCounter_DataTransfer_mozSourceNode_setter = 53,
eUseCounter_GetAttributeNode = 54, eUseCounter_custom_JS_asmjs = 54,
eUseCounter_SetAttributeNode = 55, eUseCounter_custom_JS_wasm = 55,
eUseCounter_GetAttributeNodeNS = 56, eUseCounter_GetAttributeNode = 56,
eUseCounter_SetAttributeNodeNS = 57, eUseCounter_SetAttributeNode = 57,
eUseCounter_RemoveAttributeNode = 58, eUseCounter_GetAttributeNodeNS = 58,
eUseCounter_CreateAttribute = 59, eUseCounter_SetAttributeNodeNS = 59,
eUseCounter_CreateAttributeNS = 60, eUseCounter_RemoveAttributeNode = 60,
eUseCounter_NodeValue = 61, eUseCounter_CreateAttribute = 61,
eUseCounter_TextContent = 62, eUseCounter_CreateAttributeNS = 62,
eUseCounter_EnablePrivilege = 63, eUseCounter_NodeValue = 63,
eUseCounter_DOMExceptionCode = 64, eUseCounter_TextContent = 64,
eUseCounter_NoExposedProps = 65, eUseCounter_EnablePrivilege = 65,
eUseCounter_MutationEvent = 66, eUseCounter_DOMExceptionCode = 66,
eUseCounter_Components = 67, eUseCounter_NoExposedProps = 67,
eUseCounter_PrefixedVisibilityAPI = 68, eUseCounter_MutationEvent = 68,
eUseCounter_NodeIteratorDetach = 69, eUseCounter_Components = 69,
eUseCounter_LenientThis = 70, eUseCounter_PrefixedVisibilityAPI = 70,
eUseCounter_GetPreventDefault = 71, eUseCounter_NodeIteratorDetach = 71,
eUseCounter_GetSetUserData = 72, eUseCounter_LenientThis = 72,
eUseCounter_MozGetAsFile = 73, eUseCounter_GetPreventDefault = 73,
eUseCounter_UseOfCaptureEvents = 74, eUseCounter_GetSetUserData = 74,
eUseCounter_UseOfReleaseEvents = 75, eUseCounter_MozGetAsFile = 75,
eUseCounter_UseOfDOM3LoadMethod = 76, eUseCounter_UseOfCaptureEvents = 76,
eUseCounter_ChromeUseOfDOM3LoadMethod = 77, eUseCounter_UseOfReleaseEvents = 77,
eUseCounter_ShowModalDialog = 78, eUseCounter_UseOfDOM3LoadMethod = 78,
eUseCounter_Window_Content = 79, eUseCounter_ChromeUseOfDOM3LoadMethod = 79,
eUseCounter_SyncXMLHttpRequest = 80, eUseCounter_ShowModalDialog = 80,
eUseCounter_Window_Cc_ontrollers = 81, eUseCounter_Window_Content = 81,
eUseCounter_ImportXULIntoContent = 82, eUseCounter_SyncXMLHttpRequest = 82,
eUseCounter_PannerNodeDoppler = 83, eUseCounter_Window_Cc_ontrollers = 83,
eUseCounter_NavigatorGetUserMedia = 84, eUseCounter_ImportXULIntoContent = 84,
eUseCounter_WebrtcDeprecatedPrefix = 85, eUseCounter_PannerNodeDoppler = 85,
eUseCounter_RTCPeerConnectionGetStreams = 86, eUseCounter_NavigatorGetUserMedia = 86,
eUseCounter_AppCache = 87, eUseCounter_WebrtcDeprecatedPrefix = 87,
eUseCounter_PrefixedImageSmoothingEnabled = 88, eUseCounter_RTCPeerConnectionGetStreams = 88,
eUseCounter_PrefixedFullscreenAPI = 89, eUseCounter_AppCache = 89,
eUseCounter_LenientSetter = 90, eUseCounter_PrefixedImageSmoothingEnabled = 90,
eUseCounter_FileLastModifiedDate = 91, eUseCounter_PrefixedFullscreenAPI = 91,
eUseCounter_ImageBitmapRenderingContext_TransferImageBitmap = 92, eUseCounter_LenientSetter = 92,
eUseCounter_URLCreateObjectURL_MediaStream = 93, eUseCounter_FileLastModifiedDate = 93,
eUseCounter_XMLBaseAttribute = 94, eUseCounter_ImageBitmapRenderingContext_TransferImageBitmap = 94,
eUseCounter_XMLBaseAttributeForStyleAttr = 95, eUseCounter_URLCreateObjectURL_MediaStream = 95,
eUseCounter_Count = 96, eUseCounter_XMLBaseAttribute = 96,
eUseCounter_XMLBaseAttributeForStyleAttr = 97,
eUseCounter_Count = 98,
} }
#[repr(C)] #[repr(C)]
#[derive(Debug)] #[derive(Debug)]
@ -6732,6 +6742,90 @@ pub mod root {
impl Clone for XREAppData_NSFreePolicy { impl Clone for XREAppData_NSFreePolicy {
fn clone(&self) -> Self { *self } fn clone(&self) -> Self { *self }
} }
#[repr(C)]
pub struct SchedulerGroup__bindgen_vtable(::std::os::raw::c_void);
#[repr(C)]
#[derive(Debug)]
pub struct SchedulerGroup {
pub vtable_: *const SchedulerGroup__bindgen_vtable,
pub mIsRunning: bool,
pub mEventTargets: [root::nsCOMPtr; 8usize],
pub mAbstractThreads: [root::RefPtr<root::mozilla::AbstractThread>; 8usize],
}
#[repr(C)]
#[derive(Debug)]
pub struct SchedulerGroup_Runnable {
pub _base: root::mozilla::Runnable,
pub _base_1: root::nsIRunnablePriority,
pub _base_2: root::nsILabelableRunnable,
pub mRunnable: root::nsCOMPtr,
pub mGroup: root::RefPtr<root::mozilla::SchedulerGroup>,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct SchedulerGroup_Runnable_COMTypeInfo {
pub _address: u8,
}
#[test]
fn bindgen_test_layout_SchedulerGroup_Runnable() {
assert_eq!(::std::mem::size_of::<SchedulerGroup_Runnable>() ,
64usize , concat ! (
"Size of: " , stringify ! ( SchedulerGroup_Runnable )
));
assert_eq! (::std::mem::align_of::<SchedulerGroup_Runnable>() ,
8usize , concat ! (
"Alignment of " , stringify ! (
SchedulerGroup_Runnable ) ));
}
#[repr(u32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum SchedulerGroup_ValidationType {
StartValidation = 0,
EndValidation = 1,
}
extern "C" {
#[link_name =
"_ZN7mozilla14SchedulerGroup20sTlsValidatingAccessE"]
pub static mut SchedulerGroup_sTlsValidatingAccess:
root::mozilla::detail::ThreadLocal<bool>;
}
#[test]
fn bindgen_test_layout_SchedulerGroup() {
assert_eq!(::std::mem::size_of::<SchedulerGroup>() , 144usize ,
concat ! ( "Size of: " , stringify ! ( SchedulerGroup )
));
assert_eq! (::std::mem::align_of::<SchedulerGroup>() , 8usize ,
concat ! (
"Alignment of " , stringify ! ( SchedulerGroup ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const SchedulerGroup ) ) . mIsRunning
as * const _ as usize } , 8usize , concat ! (
"Alignment of field: " , stringify ! ( SchedulerGroup
) , "::" , stringify ! ( mIsRunning ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const SchedulerGroup ) ) .
mEventTargets as * const _ as usize } , 16usize ,
concat ! (
"Alignment of field: " , stringify ! ( SchedulerGroup
) , "::" , stringify ! ( mEventTargets ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const SchedulerGroup ) ) .
mAbstractThreads as * const _ as usize } , 80usize ,
concat ! (
"Alignment of field: " , stringify ! ( SchedulerGroup
) , "::" , stringify ! ( mAbstractThreads ) ));
}
#[test]
fn __bindgen_test_layout_ThreadLocal_open0_bool__close0_instantiation() {
assert_eq!(::std::mem::size_of::<root::mozilla::detail::ThreadLocal<bool>>()
, 1usize , concat ! (
"Size of template specialization: " , stringify ! (
root::mozilla::detail::ThreadLocal<bool> ) ));
assert_eq!(::std::mem::align_of::<root::mozilla::detail::ThreadLocal<bool>>()
, 1usize , concat ! (
"Alignment of template specialization: " , stringify !
( root::mozilla::detail::ThreadLocal<bool> ) ));
}
pub mod image { pub mod image {
#[allow(unused_imports)] #[allow(unused_imports)]
use self::super::super::super::root; use self::super::super::super::root;
@ -9432,6 +9526,15 @@ pub mod root {
"Alignment of field: " , stringify ! ( ServoMediaList "Alignment of field: " , stringify ! ( ServoMediaList
) , "::" , stringify ! ( mRawList ) )); ) , "::" , stringify ! ( mRawList ) ));
} }
pub mod dmd {
#[allow(unused_imports)]
use self::super::super::super::root;
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct JSONWriteFunc {
_unused: [u8; 0],
}
/// A PostTraversalTask is a task to be performed immediately after a Servo /// A PostTraversalTask is a task to be performed immediately after a Servo
/// traversal. There are just a few tasks we need to perform, so we use this /// traversal. There are just a few tasks we need to perform, so we use this
/// class rather than Runnables, to avoid virtual calls and some allocations. /// class rather than Runnables, to avoid virtual calls and some allocations.
@ -9757,6 +9860,7 @@ pub mod root {
NS_ERROR_PLUGIN_TIME_RANGE_NOT_SUPPORTED = 2152465387, NS_ERROR_PLUGIN_TIME_RANGE_NOT_SUPPORTED = 2152465387,
NS_ERROR_PLUGIN_CLICKTOPLAY = 2152465388, NS_ERROR_PLUGIN_CLICKTOPLAY = 2152465388,
NS_TABLELAYOUT_CELL_NOT_FOUND = 5046272, NS_TABLELAYOUT_CELL_NOT_FOUND = 5046272,
NS_OK_PARSE_SHEET = 5046273,
NS_POSITION_BEFORE_TABLE = 5046275, NS_POSITION_BEFORE_TABLE = 5046275,
NS_STATE_PROPERTY_NOT_THERE = 5046277, NS_STATE_PROPERTY_NOT_THERE = 5046277,
NS_ERROR_HTMLPARSER_EOF = 2152596456, NS_ERROR_HTMLPARSER_EOF = 2152596456,
@ -11555,6 +11659,34 @@ pub mod root {
pub struct JSCompartment { pub struct JSCompartment {
_unused: [u8; 0], _unused: [u8; 0],
} }
#[repr(C)]
#[derive(Debug, Copy)]
pub struct nsIWeakReference {
pub _base: root::nsISupports,
pub mObject: *mut root::nsISupports,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct nsIWeakReference_COMTypeInfo {
pub _address: u8,
}
#[test]
fn bindgen_test_layout_nsIWeakReference() {
assert_eq!(::std::mem::size_of::<nsIWeakReference>() , 16usize ,
concat ! ( "Size of: " , stringify ! ( nsIWeakReference )
));
assert_eq! (::std::mem::align_of::<nsIWeakReference>() , 8usize ,
concat ! (
"Alignment of " , stringify ! ( nsIWeakReference ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const nsIWeakReference ) ) . mObject as *
const _ as usize } , 8usize , concat ! (
"Alignment of field: " , stringify ! ( nsIWeakReference )
, "::" , stringify ! ( mObject ) ));
}
impl Clone for nsIWeakReference {
fn clone(&self) -> Self { *self }
}
/// Factors implementation for all template versions of nsCOMPtr. /// Factors implementation for all template versions of nsCOMPtr.
/// ///
/// Here's the way people normally do things like this: /// Here's the way people normally do things like this:
@ -16005,9 +16137,11 @@ pub mod root {
/// Weak reference to this node. This is cleared by the destructor of /// Weak reference to this node. This is cleared by the destructor of
/// nsNodeWeakReference. /// nsNodeWeakReference.
pub mWeakReference: *mut root::nsNodeWeakReference, pub mWeakReference: *mut root::nsNodeWeakReference,
/// A set of ranges in the common ancestor for the selection to which /// A set of ranges which are in the selection and which have this node as
/// this node belongs to. /// their endpoints' common ancestor. This is a UniquePtr instead of just a
pub mCommonAncestorRanges: u64, /// LinkedList, because that prevents us from pushing DOMSlots up to the next
/// allocation bucket size, at the cost of some complexity.
pub mCommonAncestorRanges: root::mozilla::UniquePtr<root::mozilla::LinkedList>,
/// Number of descendant nodes in the uncomposed document that have been /// Number of descendant nodes in the uncomposed document that have been
/// explicitly set as editable. /// explicitly set as editable.
pub mEditableDescendantCount: u32, pub mEditableDescendantCount: u32,
@ -24971,7 +25105,6 @@ pub mod root {
pub struct nsNodeWeakReference { pub struct nsNodeWeakReference {
pub _base: root::nsIWeakReference, pub _base: root::nsIWeakReference,
pub mRefCnt: root::nsAutoRefCnt, pub mRefCnt: root::nsAutoRefCnt,
pub mNode: *mut root::nsINode,
} }
pub type nsNodeWeakReference_HasThreadSafeRefCnt = pub type nsNodeWeakReference_HasThreadSafeRefCnt =
root::mozilla::FalseType; root::mozilla::FalseType;
@ -24985,14 +25118,9 @@ pub mod root {
"Alignment of " , stringify ! ( nsNodeWeakReference ) )); "Alignment of " , stringify ! ( nsNodeWeakReference ) ));
assert_eq! (unsafe { assert_eq! (unsafe {
& ( * ( 0 as * const nsNodeWeakReference ) ) . mRefCnt as & ( * ( 0 as * const nsNodeWeakReference ) ) . mRefCnt as
* const _ as usize } , 8usize , concat ! ( * const _ as usize } , 16usize , concat ! (
"Alignment of field: " , stringify ! ( nsNodeWeakReference "Alignment of field: " , stringify ! ( nsNodeWeakReference
) , "::" , stringify ! ( mRefCnt ) )); ) , "::" , stringify ! ( mRefCnt ) ));
assert_eq! (unsafe {
& ( * ( 0 as * const nsNodeWeakReference ) ) . mNode as *
const _ as usize } , 16usize , concat ! (
"Alignment of field: " , stringify ! ( nsNodeWeakReference
) , "::" , stringify ! ( mNode ) ));
} }
#[repr(C)] #[repr(C)]
#[derive(Debug, Copy, Clone)] #[derive(Debug, Copy, Clone)]
@ -25240,27 +25368,6 @@ pub mod root {
impl Clone for nsFrameManagerBase { impl Clone for nsFrameManagerBase {
fn clone(&self) -> Self { *self } fn clone(&self) -> Self { *self }
} }
#[repr(C)]
#[derive(Debug, Copy)]
pub struct nsIWeakReference {
pub _base: root::nsISupports,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct nsIWeakReference_COMTypeInfo {
pub _address: u8,
}
#[test]
fn bindgen_test_layout_nsIWeakReference() {
assert_eq!(::std::mem::size_of::<nsIWeakReference>() , 8usize , concat
! ( "Size of: " , stringify ! ( nsIWeakReference ) ));
assert_eq! (::std::mem::align_of::<nsIWeakReference>() , 8usize ,
concat ! (
"Alignment of " , stringify ! ( nsIWeakReference ) ));
}
impl Clone for nsIWeakReference {
fn clone(&self) -> Self { *self }
}
pub type nsWeakPtr = root::nsCOMPtr; pub type nsWeakPtr = root::nsCOMPtr;
/// templated hashtable class maps keys to reference pointers. /// templated hashtable class maps keys to reference pointers.
/// See nsBaseHashtable for complete declaration. /// See nsBaseHashtable for complete declaration.
@ -25778,6 +25885,66 @@ pub mod root {
impl Clone for nsIRunnable { impl Clone for nsIRunnable {
fn clone(&self) -> Self { *self } fn clone(&self) -> Self { *self }
} }
#[repr(C)]
#[derive(Debug, Copy)]
pub struct nsIRunnablePriority {
pub _base: root::nsISupports,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct nsIRunnablePriority_COMTypeInfo {
pub _address: u8,
}
pub const nsIRunnablePriority_PRIORITY_NORMAL:
root::nsIRunnablePriority__bindgen_ty_1 =
nsIRunnablePriority__bindgen_ty_1::PRIORITY_NORMAL;
pub const nsIRunnablePriority_PRIORITY_INPUT:
root::nsIRunnablePriority__bindgen_ty_1 =
nsIRunnablePriority__bindgen_ty_1::PRIORITY_INPUT;
pub const nsIRunnablePriority_PRIORITY_HIGH:
root::nsIRunnablePriority__bindgen_ty_1 =
nsIRunnablePriority__bindgen_ty_1::PRIORITY_HIGH;
#[repr(u32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum nsIRunnablePriority__bindgen_ty_1 {
PRIORITY_NORMAL = 0,
PRIORITY_INPUT = 1,
PRIORITY_HIGH = 2,
}
#[test]
fn bindgen_test_layout_nsIRunnablePriority() {
assert_eq!(::std::mem::size_of::<nsIRunnablePriority>() , 8usize ,
concat ! (
"Size of: " , stringify ! ( nsIRunnablePriority ) ));
assert_eq! (::std::mem::align_of::<nsIRunnablePriority>() , 8usize ,
concat ! (
"Alignment of " , stringify ! ( nsIRunnablePriority ) ));
}
impl Clone for nsIRunnablePriority {
fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct nsISerialEventTarget {
pub _base: root::nsIEventTarget,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct nsISerialEventTarget_COMTypeInfo {
pub _address: u8,
}
#[test]
fn bindgen_test_layout_nsISerialEventTarget() {
assert_eq!(::std::mem::size_of::<nsISerialEventTarget>() , 16usize ,
concat ! (
"Size of: " , stringify ! ( nsISerialEventTarget ) ));
assert_eq! (::std::mem::align_of::<nsISerialEventTarget>() , 8usize ,
concat ! (
"Alignment of " , stringify ! ( nsISerialEventTarget ) ));
}
impl Clone for nsISerialEventTarget {
fn clone(&self) -> Self { *self }
}
pub type nsRunnableMethod_BaseType = u8; pub type nsRunnableMethod_BaseType = u8;
#[repr(C)] #[repr(C)]
#[derive(Debug, Copy, Clone)] #[derive(Debug, Copy, Clone)]
@ -25791,7 +25958,7 @@ pub mod root {
#[repr(C)] #[repr(C)]
#[derive(Debug)] #[derive(Debug)]
pub struct nsPIDOMWindowInner { pub struct nsPIDOMWindowInner {
pub _base: [u64; 30usize], pub _base: [u64; 31usize],
} }
#[repr(C)] #[repr(C)]
#[derive(Debug, Copy, Clone)] #[derive(Debug, Copy, Clone)]
@ -25800,7 +25967,7 @@ pub mod root {
} }
#[test] #[test]
fn bindgen_test_layout_nsPIDOMWindowInner() { fn bindgen_test_layout_nsPIDOMWindowInner() {
assert_eq!(::std::mem::size_of::<nsPIDOMWindowInner>() , 240usize , assert_eq!(::std::mem::size_of::<nsPIDOMWindowInner>() , 248usize ,
concat ! ( "Size of: " , stringify ! ( nsPIDOMWindowInner ) concat ! ( "Size of: " , stringify ! ( nsPIDOMWindowInner )
)); ));
assert_eq! (::std::mem::align_of::<nsPIDOMWindowInner>() , 8usize , assert_eq! (::std::mem::align_of::<nsPIDOMWindowInner>() , 8usize ,
@ -28666,6 +28833,28 @@ pub mod root {
impl Clone for nsCSSProps { impl Clone for nsCSSProps {
fn clone(&self) -> Self { *self } fn clone(&self) -> Self { *self }
} }
#[repr(C)]
#[derive(Debug, Copy)]
pub struct nsILabelableRunnable {
pub _base: root::nsISupports,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct nsILabelableRunnable_COMTypeInfo {
pub _address: u8,
}
#[test]
fn bindgen_test_layout_nsILabelableRunnable() {
assert_eq!(::std::mem::size_of::<nsILabelableRunnable>() , 8usize ,
concat ! (
"Size of: " , stringify ! ( nsILabelableRunnable ) ));
assert_eq! (::std::mem::align_of::<nsILabelableRunnable>() , 8usize ,
concat ! (
"Alignment of " , stringify ! ( nsILabelableRunnable ) ));
}
impl Clone for nsILabelableRunnable {
fn clone(&self) -> Self { *self }
}
/// Class to safely handle main-thread-only pointers off the main thread. /// Class to safely handle main-thread-only pointers off the main thread.
/// ///
/// Classes like XPCWrappedJS are main-thread-only, which means that it is /// Classes like XPCWrappedJS are main-thread-only, which means that it is
@ -33444,7 +33633,7 @@ pub mod root {
root::nsTArray<root::mozilla::gfx::FontVariation> ) )); root::nsTArray<root::mozilla::gfx::FontVariation> ) ));
} }
#[test] #[test]
fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_226630_close0_instantiation() { fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_226795_close0_instantiation() {
assert_eq!(::std::mem::size_of::<root::nsTArray<*mut root::nsCSSSelector>>() assert_eq!(::std::mem::size_of::<root::nsTArray<*mut root::nsCSSSelector>>()
, 8usize , concat ! ( , 8usize , concat ! (
"Size of template specialization: " , stringify ! ( "Size of template specialization: " , stringify ! (
@ -33800,7 +33989,7 @@ pub mod root {
root::mozilla::binding_danger::TErrorResult ) )); root::mozilla::binding_danger::TErrorResult ) ));
} }
#[test] #[test]
fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_228432_close0_instantiation() { fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_228591_close0_instantiation() {
assert_eq!(::std::mem::size_of::<root::nsTArray<*mut root::mozilla::StyleSheet>>() assert_eq!(::std::mem::size_of::<root::nsTArray<*mut root::mozilla::StyleSheet>>()
, 8usize , concat ! ( , 8usize , concat ! (
"Size of template specialization: " , stringify ! ( "Size of template specialization: " , stringify ! (
@ -33866,16 +34055,18 @@ pub mod root {
root::RefPtr<root::nsAttrChildContentList> ) )); root::RefPtr<root::nsAttrChildContentList> ) ));
} }
#[test] #[test]
fn __bindgen_test_layout_UniquePtr_open0_nsTHashtable_open1_nsPtrHashKey_open2_nsRange_close2_close1_DefaultDelete_open1_nsTHashtable_open2_nsPtrHashKey_open3_nsRange_close3_close2_close1_close0_instantiation() { fn __bindgen_test_layout_UniquePtr_open0_LinkedList_open1_nsRange_close1_DefaultDelete_open1_LinkedList_open2_nsRange_close2_close1_close0_instantiation() {
assert_eq!(::std::mem::size_of::<u64>() , 8usize , concat ! ( assert_eq!(::std::mem::size_of::<root::mozilla::UniquePtr<root::mozilla::LinkedList>>()
"Size of template specialization: " , stringify ! ( u64 ) , 8usize , concat ! (
)); "Size of template specialization: " , stringify ! (
assert_eq!(::std::mem::align_of::<u64>() , 8usize , concat ! ( root::mozilla::UniquePtr<root::mozilla::LinkedList> ) ));
assert_eq!(::std::mem::align_of::<root::mozilla::UniquePtr<root::mozilla::LinkedList>>()
, 8usize , concat ! (
"Alignment of template specialization: " , stringify ! ( "Alignment of template specialization: " , stringify ! (
u64 ) )); root::mozilla::UniquePtr<root::mozilla::LinkedList> ) ));
} }
#[test] #[test]
fn __bindgen_test_layout_DefaultDelete_open0_nsTHashtable_open1_nsPtrHashKey_open2_nsRange_close2_close1_close0_instantiation() { fn __bindgen_test_layout_DefaultDelete_open0_LinkedList_open1_nsRange_close1_close0_instantiation() {
assert_eq!(::std::mem::size_of::<root::mozilla::DefaultDelete>() , assert_eq!(::std::mem::size_of::<root::mozilla::DefaultDelete>() ,
1usize , concat ! ( 1usize , concat ! (
"Size of template specialization: " , stringify ! ( "Size of template specialization: " , stringify ! (
@ -33886,16 +34077,18 @@ pub mod root {
root::mozilla::DefaultDelete ) )); root::mozilla::DefaultDelete ) ));
} }
#[test] #[test]
fn __bindgen_test_layout_UniquePtr_open0_nsTHashtable_open1_nsPtrHashKey_open2_nsRange_close2_close1_DefaultDelete_open1_nsTHashtable_open2_nsPtrHashKey_open3_nsRange_close3_close2_close1_close0_instantiation_1() { fn __bindgen_test_layout_UniquePtr_open0_LinkedList_open1_nsRange_close1_DefaultDelete_open1_LinkedList_open2_nsRange_close2_close1_close0_instantiation_1() {
assert_eq!(::std::mem::size_of::<u64>() , 8usize , concat ! ( assert_eq!(::std::mem::size_of::<root::mozilla::UniquePtr<root::mozilla::LinkedList>>()
"Size of template specialization: " , stringify ! ( u64 ) , 8usize , concat ! (
)); "Size of template specialization: " , stringify ! (
assert_eq!(::std::mem::align_of::<u64>() , 8usize , concat ! ( root::mozilla::UniquePtr<root::mozilla::LinkedList> ) ));
assert_eq!(::std::mem::align_of::<root::mozilla::UniquePtr<root::mozilla::LinkedList>>()
, 8usize , concat ! (
"Alignment of template specialization: " , stringify ! ( "Alignment of template specialization: " , stringify ! (
u64 ) )); root::mozilla::UniquePtr<root::mozilla::LinkedList> ) ));
} }
#[test] #[test]
fn __bindgen_test_layout_DefaultDelete_open0_nsTHashtable_open1_nsPtrHashKey_open2_nsRange_close2_close1_close0_instantiation_1() { fn __bindgen_test_layout_DefaultDelete_open0_LinkedList_open1_nsRange_close1_close0_instantiation_1() {
assert_eq!(::std::mem::size_of::<root::mozilla::DefaultDelete>() , assert_eq!(::std::mem::size_of::<root::mozilla::DefaultDelete>() ,
1usize , concat ! ( 1usize , concat ! (
"Size of template specialization: " , stringify ! ( "Size of template specialization: " , stringify ! (
@ -33961,7 +34154,7 @@ pub mod root {
root::JS::DeletePolicy ) )); root::JS::DeletePolicy ) ));
} }
#[test] #[test]
fn __bindgen_test_layout_iterator_open0_input_iterator_tag_UniquePtr_open1_JSErrorNotes_Note_DeletePolicy_open2_JSErrorNotes_Note_close2_close1_long__bindgen_ty_id_234022__bindgen_ty_id_234029_close0_instantiation() { fn __bindgen_test_layout_iterator_open0_input_iterator_tag_UniquePtr_open1_JSErrorNotes_Note_DeletePolicy_open2_JSErrorNotes_Note_close2_close1_long__bindgen_ty_id_234178__bindgen_ty_id_234185_close0_instantiation() {
assert_eq!(::std::mem::size_of::<root::std::iterator>() , 1usize , assert_eq!(::std::mem::size_of::<root::std::iterator>() , 1usize ,
concat ! ( concat ! (
"Size of template specialization: " , stringify ! ( "Size of template specialization: " , stringify ! (
@ -34209,7 +34402,7 @@ pub mod root {
root::RefPtr<root::mozilla::StyleSheet> ) )); root::RefPtr<root::mozilla::StyleSheet> ) ));
} }
#[test] #[test]
fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_236537_close0_instantiation() { fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_236693_close0_instantiation() {
assert_eq!(::std::mem::size_of::<root::nsTArray<*mut root::mozilla::dom::Element>>() assert_eq!(::std::mem::size_of::<root::nsTArray<*mut root::mozilla::dom::Element>>()
, 8usize , concat ! ( , 8usize , concat ! (
"Size of template specialization: " , stringify ! ( "Size of template specialization: " , stringify ! (
@ -34277,7 +34470,7 @@ pub mod root {
root::nsCOMPtr ) )); root::nsCOMPtr ) ));
} }
#[test] #[test]
fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_236842_close0_instantiation() { fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_236998_close0_instantiation() {
assert_eq!(::std::mem::size_of::<root::nsTArray<*mut root::mozilla::dom::Element>>() assert_eq!(::std::mem::size_of::<root::nsTArray<*mut root::mozilla::dom::Element>>()
, 8usize , concat ! ( , 8usize , concat ! (
"Size of template specialization: " , stringify ! ( "Size of template specialization: " , stringify ! (
@ -34389,7 +34582,7 @@ pub mod root {
root::RefPtr<root::mozilla::URLExtraData> ) )); root::RefPtr<root::mozilla::URLExtraData> ) ));
} }
#[test] #[test]
fn __bindgen_test_layout_NotNull_open0__bindgen_ty_id_237391_close0_instantiation() { fn __bindgen_test_layout_NotNull_open0__bindgen_ty_id_237547_close0_instantiation() {
assert_eq!(::std::mem::size_of::<root::mozilla::NotNull<*const root::mozilla::Encoding>>() assert_eq!(::std::mem::size_of::<root::mozilla::NotNull<*const root::mozilla::Encoding>>()
, 8usize , concat ! ( , 8usize , concat ! (
"Size of template specialization: " , stringify ! ( "Size of template specialization: " , stringify ! (
@ -34802,7 +34995,7 @@ pub mod root {
root::RefPtr<root::mozilla::StyleSheet> ) )); root::RefPtr<root::mozilla::StyleSheet> ) ));
} }
#[test] #[test]
fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_237813_close0_instantiation() { fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_237971_close0_instantiation() {
assert_eq!(::std::mem::size_of::<root::nsTArray<*mut root::mozilla::StyleSheet>>() assert_eq!(::std::mem::size_of::<root::nsTArray<*mut root::mozilla::StyleSheet>>()
, 8usize , concat ! ( , 8usize , concat ! (
"Size of template specialization: " , stringify ! ( "Size of template specialization: " , stringify ! (
@ -34892,7 +35085,7 @@ pub mod root {
) )); ) ));
} }
#[test] #[test]
fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_238214_close0_instantiation() { fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_238374_close0_instantiation() {
assert_eq!(::std::mem::size_of::<root::nsTArray<*mut root::mozilla::StyleSheet>>() assert_eq!(::std::mem::size_of::<root::nsTArray<*mut root::mozilla::StyleSheet>>()
, 8usize , concat ! ( , 8usize , concat ! (
"Size of template specialization: " , stringify ! ( "Size of template specialization: " , stringify ! (
@ -34993,7 +35186,7 @@ pub mod root {
root::nsTArray<::nsstring::nsStringRepr> ) )); root::nsTArray<::nsstring::nsStringRepr> ) ));
} }
#[test] #[test]
fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_239178_close0_instantiation() { fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_239336_close0_instantiation() {
assert_eq!(::std::mem::size_of::<root::nsTArray<*mut root::mozilla::StyleSheet>>() assert_eq!(::std::mem::size_of::<root::nsTArray<*mut root::mozilla::StyleSheet>>()
, 8usize , concat ! ( , 8usize , concat ! (
"Size of template specialization: " , stringify ! ( "Size of template specialization: " , stringify ! (
@ -35082,7 +35275,7 @@ pub mod root {
root::RefPtr<root::nsCSSFontFaceRule> ) )); root::RefPtr<root::nsCSSFontFaceRule> ) ));
} }
#[test] #[test]
fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_239481_close0_instantiation() { fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_239639_close0_instantiation() {
assert_eq!(::std::mem::size_of::<root::nsTArray<*mut root::nsIContent>>() assert_eq!(::std::mem::size_of::<root::nsTArray<*mut root::nsIContent>>()
, 8usize , concat ! ( , 8usize , concat ! (
"Size of template specialization: " , stringify ! ( "Size of template specialization: " , stringify ! (
@ -35093,7 +35286,7 @@ pub mod root {
root::nsTArray<*mut root::nsIContent> ) )); root::nsTArray<*mut root::nsIContent> ) ));
} }
#[test] #[test]
fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_239486_close0_instantiation() { fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_239644_close0_instantiation() {
assert_eq!(::std::mem::size_of::<root::nsTArray<*mut root::nsIContent>>() assert_eq!(::std::mem::size_of::<root::nsTArray<*mut root::nsIContent>>()
, 8usize , concat ! ( , 8usize , concat ! (
"Size of template specialization: " , stringify ! ( "Size of template specialization: " , stringify ! (
@ -35150,7 +35343,7 @@ pub mod root {
root::RefPtr<root::mozilla::CSSStyleSheet> ) )); root::RefPtr<root::mozilla::CSSStyleSheet> ) ));
} }
#[test] #[test]
fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_239961_close0_instantiation() { fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_240121_close0_instantiation() {
assert_eq!(::std::mem::size_of::<root::nsTArray<*mut root::mozilla::StyleSheet>>() assert_eq!(::std::mem::size_of::<root::nsTArray<*mut root::mozilla::StyleSheet>>()
, 8usize , concat ! ( , 8usize , concat ! (
"Size of template specialization: " , stringify ! ( "Size of template specialization: " , stringify ! (
@ -35796,7 +35989,7 @@ pub mod root {
root::nsCOMPtr ) )); root::nsCOMPtr ) ));
} }
#[test] #[test]
fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_242763_close0_instantiation() { fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_242923_close0_instantiation() {
assert_eq!(::std::mem::size_of::<root::nsTArray<*mut ::std::os::raw::c_void>>() assert_eq!(::std::mem::size_of::<root::nsTArray<*mut ::std::os::raw::c_void>>()
, 8usize , concat ! ( , 8usize , concat ! (
"Size of template specialization: " , stringify ! ( "Size of template specialization: " , stringify ! (
@ -35875,7 +36068,7 @@ pub mod root {
root::mozilla::DefaultDelete ) )); root::mozilla::DefaultDelete ) ));
} }
#[test] #[test]
fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_249020_close0_instantiation() { fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_249178_close0_instantiation() {
assert_eq!(::std::mem::size_of::<root::nsTArray<*mut root::mozilla::dom::AudioContext>>() assert_eq!(::std::mem::size_of::<root::nsTArray<*mut root::mozilla::dom::AudioContext>>()
, 8usize , concat ! ( , 8usize , concat ! (
"Size of template specialization: " , stringify ! ( "Size of template specialization: " , stringify ! (
@ -35908,7 +36101,7 @@ pub mod root {
root::RefPtr<root::mozilla::dom::CallbackObject> ) )); root::RefPtr<root::mozilla::dom::CallbackObject> ) ));
} }
#[test] #[test]
fn __bindgen_test_layout_Heap_open0__bindgen_ty_id_250189_close0_instantiation() { fn __bindgen_test_layout_Heap_open0__bindgen_ty_id_250347_close0_instantiation() {
assert_eq!(::std::mem::size_of::<root::JS::Heap<*mut root::JSObject>>() assert_eq!(::std::mem::size_of::<root::JS::Heap<*mut root::JSObject>>()
, 8usize , concat ! ( , 8usize , concat ! (
"Size of template specialization: " , stringify ! ( "Size of template specialization: " , stringify ! (
@ -35919,7 +36112,7 @@ pub mod root {
root::JS::Heap<*mut root::JSObject> ) )); root::JS::Heap<*mut root::JSObject> ) ));
} }
#[test] #[test]
fn __bindgen_test_layout_Heap_open0__bindgen_ty_id_250193_close0_instantiation() { fn __bindgen_test_layout_Heap_open0__bindgen_ty_id_250351_close0_instantiation() {
assert_eq!(::std::mem::size_of::<root::JS::Heap<*mut root::JSObject>>() assert_eq!(::std::mem::size_of::<root::JS::Heap<*mut root::JSObject>>()
, 8usize , concat ! ( , 8usize , concat ! (
"Size of template specialization: " , stringify ! ( "Size of template specialization: " , stringify ! (
@ -35941,7 +36134,7 @@ pub mod root {
root::nsCOMPtr ) )); root::nsCOMPtr ) ));
} }
#[test] #[test]
fn __bindgen_test_layout_TenuredHeap_open0__bindgen_ty_id_250200_close0_instantiation() { fn __bindgen_test_layout_TenuredHeap_open0__bindgen_ty_id_250358_close0_instantiation() {
assert_eq!(::std::mem::size_of::<root::JS::TenuredHeap>() , 8usize , assert_eq!(::std::mem::size_of::<root::JS::TenuredHeap>() , 8usize ,
concat ! ( concat ! (
"Size of template specialization: " , stringify ! ( "Size of template specialization: " , stringify ! (
@ -36020,7 +36213,7 @@ pub mod root {
) )); ) ));
} }
#[test] #[test]
fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_251305_close0_instantiation() { fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_251463_close0_instantiation() {
assert_eq!(::std::mem::size_of::<root::nsTArray<*mut root::nsISupports>>() assert_eq!(::std::mem::size_of::<root::nsTArray<*mut root::nsISupports>>()
, 8usize , concat ! ( , 8usize , concat ! (
"Size of template specialization: " , stringify ! ( "Size of template specialization: " , stringify ! (
@ -36215,7 +36408,7 @@ pub mod root {
root::nsTArray<f64> ) )); root::nsTArray<f64> ) ));
} }
#[test] #[test]
fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_252753_close0_instantiation() { fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_252908_close0_instantiation() {
assert_eq!(::std::mem::size_of::<root::nsTArray<*mut root::mozilla::dom::Element>>() assert_eq!(::std::mem::size_of::<root::nsTArray<*mut root::mozilla::dom::Element>>()
, 8usize , concat ! ( , 8usize , concat ! (
"Size of template specialization: " , stringify ! ( "Size of template specialization: " , stringify ! (
@ -36320,7 +36513,7 @@ pub mod root {
root::nsRefPtrHashKey<root::nsIAtom> ) )); root::nsRefPtrHashKey<root::nsIAtom> ) ));
} }
#[test] #[test]
fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_255126_close0_instantiation() { fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_255281_close0_instantiation() {
assert_eq!(::std::mem::size_of::<root::nsTArray<*mut root::mozilla::CounterStyle>>() assert_eq!(::std::mem::size_of::<root::nsTArray<*mut root::mozilla::CounterStyle>>()
, 8usize , concat ! ( , 8usize , concat ! (
"Size of template specialization: " , stringify ! ( "Size of template specialization: " , stringify ! (
@ -36421,6 +36614,72 @@ pub mod root {
root::mozilla::UniquePtr<::std::os::raw::c_char> ) )); root::mozilla::UniquePtr<::std::os::raw::c_char> ) ));
} }
#[test] #[test]
fn __bindgen_test_layout_RefPtr_open0_SchedulerGroup_close0_instantiation() {
assert_eq!(::std::mem::size_of::<root::RefPtr<root::mozilla::SchedulerGroup>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
root::RefPtr<root::mozilla::SchedulerGroup> ) ));
assert_eq!(::std::mem::align_of::<root::RefPtr<root::mozilla::SchedulerGroup>>()
, 8usize , concat ! (
"Alignment of template specialization: " , stringify ! (
root::RefPtr<root::mozilla::SchedulerGroup> ) ));
}
#[test]
fn __bindgen_test_layout_nsCOMPtr_open0_nsIRunnable_close0_instantiation_5() {
assert_eq!(::std::mem::size_of::<root::nsCOMPtr>() , 8usize , concat !
(
"Size of template specialization: " , stringify ! (
root::nsCOMPtr ) ));
assert_eq!(::std::mem::align_of::<root::nsCOMPtr>() , 8usize , concat
! (
"Alignment of template specialization: " , stringify ! (
root::nsCOMPtr ) ));
}
#[test]
fn __bindgen_test_layout_RefPtr_open0_SchedulerGroup_close0_instantiation_1() {
assert_eq!(::std::mem::size_of::<root::RefPtr<root::mozilla::SchedulerGroup>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
root::RefPtr<root::mozilla::SchedulerGroup> ) ));
assert_eq!(::std::mem::align_of::<root::RefPtr<root::mozilla::SchedulerGroup>>()
, 8usize , concat ! (
"Alignment of template specialization: " , stringify ! (
root::RefPtr<root::mozilla::SchedulerGroup> ) ));
}
#[test]
fn __bindgen_test_layout_nsCOMPtr_open0_nsISerialEventTarget_close0_instantiation() {
assert_eq!(::std::mem::size_of::<root::nsCOMPtr>() , 8usize , concat !
(
"Size of template specialization: " , stringify ! (
root::nsCOMPtr ) ));
assert_eq!(::std::mem::align_of::<root::nsCOMPtr>() , 8usize , concat
! (
"Alignment of template specialization: " , stringify ! (
root::nsCOMPtr ) ));
}
#[test]
fn __bindgen_test_layout_RefPtr_open0_AbstractThread_close0_instantiation() {
assert_eq!(::std::mem::size_of::<root::RefPtr<root::mozilla::AbstractThread>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
root::RefPtr<root::mozilla::AbstractThread> ) ));
assert_eq!(::std::mem::align_of::<root::RefPtr<root::mozilla::AbstractThread>>()
, 8usize , concat ! (
"Alignment of template specialization: " , stringify ! (
root::RefPtr<root::mozilla::AbstractThread> ) ));
}
#[test]
fn __bindgen_test_layout_RefPtr_open0_SchedulerGroup_close0_instantiation_2() {
assert_eq!(::std::mem::size_of::<root::RefPtr<root::mozilla::SchedulerGroup>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
root::RefPtr<root::mozilla::SchedulerGroup> ) ));
assert_eq!(::std::mem::align_of::<root::RefPtr<root::mozilla::SchedulerGroup>>()
, 8usize , concat ! (
"Alignment of template specialization: " , stringify ! (
root::RefPtr<root::mozilla::SchedulerGroup> ) ));
}
#[test]
fn __bindgen_test_layout_nsCOMPtr_open0_nsIEventTarget_close0_instantiation() { fn __bindgen_test_layout_nsCOMPtr_open0_nsIEventTarget_close0_instantiation() {
assert_eq!(::std::mem::size_of::<root::nsCOMPtr>() , 8usize , concat ! assert_eq!(::std::mem::size_of::<root::nsCOMPtr>() , 8usize , concat !
( (
@ -37021,7 +37280,7 @@ pub mod root {
root::RefPtr<root::nsStyleImageRequest> ) )); root::RefPtr<root::nsStyleImageRequest> ) ));
} }
#[test] #[test]
fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_257618_close0_instantiation() { fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_257773_close0_instantiation() {
assert_eq!(::std::mem::size_of::<root::nsTArray<*mut root::nsISupports>>() assert_eq!(::std::mem::size_of::<root::nsTArray<*mut root::nsISupports>>()
, 8usize , concat ! ( , 8usize , concat ! (
"Size of template specialization: " , stringify ! ( "Size of template specialization: " , stringify ! (
@ -37258,7 +37517,7 @@ pub mod root {
root::nsCOMPtr ) )); root::nsCOMPtr ) ));
} }
#[test] #[test]
fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_265428_close0_instantiation() { fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_265578_close0_instantiation() {
assert_eq!(::std::mem::size_of::<root::nsTArray<*mut root::nsIContent>>() assert_eq!(::std::mem::size_of::<root::nsTArray<*mut root::nsIContent>>()
, 8usize , concat ! ( , 8usize , concat ! (
"Size of template specialization: " , stringify ! ( "Size of template specialization: " , stringify ! (
@ -37269,7 +37528,7 @@ pub mod root {
root::nsTArray<*mut root::nsIContent> ) )); root::nsTArray<*mut root::nsIContent> ) ));
} }
#[test] #[test]
fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_265433_close0_instantiation() { fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_265583_close0_instantiation() {
assert_eq!(::std::mem::size_of::<root::nsTArray<*mut root::nsIContent>>() assert_eq!(::std::mem::size_of::<root::nsTArray<*mut root::nsIContent>>()
, 8usize , concat ! ( , 8usize , concat ! (
"Size of template specialization: " , stringify ! ( "Size of template specialization: " , stringify ! (
@ -37357,7 +37616,7 @@ pub mod root {
root::RefPtr<root::mozilla::dom::ShadowRoot> ) )); root::RefPtr<root::mozilla::dom::ShadowRoot> ) ));
} }
#[test] #[test]
fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_265546_close0_instantiation() { fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_265696_close0_instantiation() {
assert_eq!(::std::mem::size_of::<root::nsTArray<*mut root::nsIContent>>() assert_eq!(::std::mem::size_of::<root::nsTArray<*mut root::nsIContent>>()
, 8usize , concat ! ( , 8usize , concat ! (
"Size of template specialization: " , stringify ! ( "Size of template specialization: " , stringify ! (
@ -37644,7 +37903,7 @@ pub mod root {
) )); ) ));
} }
#[test] #[test]
fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_267126_close0_instantiation() { fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_267276_close0_instantiation() {
assert_eq!(::std::mem::size_of::<root::nsTArray<*mut root::nsIContent>>() assert_eq!(::std::mem::size_of::<root::nsTArray<*mut root::nsIContent>>()
, 8usize , concat ! ( , 8usize , concat ! (
"Size of template specialization: " , stringify ! ( "Size of template specialization: " , stringify ! (
@ -37666,8 +37925,30 @@ pub mod root {
root::RefPtr<root::mozilla::dom::Element> ) )); root::RefPtr<root::mozilla::dom::Element> ) ));
} }
#[test] #[test]
fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_267284_close0_instantiation() { fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_267434_close0_instantiation() {
assert_eq!(::std::mem::size_of::<root::nsTArray<*mut root::nsIContent>>() assert_eq!(::std::mem::size_of::<root::nsTArray<*mut root::nsIContent>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
root::nsTArray<*mut root::nsIContent> ) ));
assert_eq!(::std::mem::align_of::<root::nsTArray<*mut root::nsIContent>>()
, 8usize , concat ! (
"Alignment of template specialization: " , stringify ! (
root::nsTArray<*mut root::nsIContent> ) ));
}
#[test]
fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_267439_close0_instantiation() {
assert_eq!(::std::mem::size_of::<root::nsTArray<*mut root::nsIContent>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
root::nsTArray<*mut root::nsIContent> ) ));
assert_eq!(::std::mem::align_of::<root::nsTArray<*mut root::nsIContent>>()
, 8usize , concat ! (
"Alignment of template specialization: " , stringify ! (
root::nsTArray<*mut root::nsIContent> ) ));
}
#[test]
fn __bindgen_test_layout_nsTArray_open0_unsigned_int_close0_instantiation_5() {
assert_eq!(::std::mem::size_of::<root::nsTArray<::std::os::raw::c_uint>>()
, 8usize , concat ! ( , 8usize , concat ! (
"Size of template specialization: " , stringify ! ( "Size of template specialization: " , stringify ! (
root::nsTArray<::std::os::raw::c_uint> ) )); root::nsTArray<::std::os::raw::c_uint> ) ));
@ -37677,28 +37958,6 @@ pub mod root {
root::nsTArray<::std::os::raw::c_uint> ) )); root::nsTArray<::std::os::raw::c_uint> ) ));
} }
#[test] #[test]
fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_267289_close0_instantiation() {
assert_eq!(::std::mem::size_of::<root::nsTArray<*mut root::nsIContent>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
root::nsTArray<*mut root::nsIContent> ) ));
assert_eq!(::std::mem::align_of::<root::nsTArray<*mut root::nsIContent>>()
, 8usize , concat ! (
"Alignment of template specialization: " , stringify ! (
root::nsTArray<*mut root::nsIContent> ) ));
}
#[test]
fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_254661_close0_instantiation() {
assert_eq!(::std::mem::size_of::<root::nsTArray<*mut root::nsIContent>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
root::nsTArray<*mut root::nsIContent> ) ));
assert_eq!(::std::mem::align_of::<root::nsTArray<*mut root::nsIContent>>()
, 8usize , concat ! (
"Alignment of template specialization: " , stringify ! (
root::nsTArray<*mut root::nsIContent> ) ));
}
#[test]
fn __bindgen_test_layout_nsTArray_open0_nsString_close0_instantiation_16() { fn __bindgen_test_layout_nsTArray_open0_nsString_close0_instantiation_16() {
assert_eq!(::std::mem::size_of::<root::nsTArray<::nsstring::nsStringRepr>>() , assert_eq!(::std::mem::size_of::<root::nsTArray<::nsstring::nsStringRepr>>() ,
8usize , concat ! ( 8usize , concat ! (
@ -37809,7 +38068,7 @@ pub mod root {
root::nsTArray<root::mozilla::gfx::FontVariation> ) )); root::nsTArray<root::mozilla::gfx::FontVariation> ) ));
} }
#[test] #[test]
fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_269815_close0_instantiation() { fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_270004_close0_instantiation() {
assert_eq!(::std::mem::size_of::<root::nsTArray<*mut root::mozilla::css::DocumentRule>>() assert_eq!(::std::mem::size_of::<root::nsTArray<*mut root::mozilla::css::DocumentRule>>()
, 8usize , concat ! ( , 8usize , concat ! (
"Size of template specialization: " , stringify ! ( "Size of template specialization: " , stringify ! (
@ -37820,7 +38079,7 @@ pub mod root {
root::nsTArray<*mut root::mozilla::css::DocumentRule> ) )); root::nsTArray<*mut root::mozilla::css::DocumentRule> ) ));
} }
#[test] #[test]
fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_269821_close0_instantiation() { fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_270010_close0_instantiation() {
assert_eq!(::std::mem::size_of::<root::nsTArray<*mut root::mozilla::css::DocumentRule>>() assert_eq!(::std::mem::size_of::<root::nsTArray<*mut root::mozilla::css::DocumentRule>>()
, 8usize , concat ! ( , 8usize , concat ! (
"Size of template specialization: " , stringify ! ( "Size of template specialization: " , stringify ! (