mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
Update bindings.
This commit is contained in:
parent
d992442dc6
commit
da8387e1ac
2 changed files with 852 additions and 1029 deletions
File diff suppressed because it is too large
Load diff
|
@ -1632,14 +1632,14 @@ pub mod root {
|
|||
#[repr(C)]
|
||||
#[derive(Debug)]
|
||||
pub struct MutexImpl {
|
||||
pub platformData_: [*mut ::std::os::raw::c_void; 8usize],
|
||||
pub platformData_: [*mut ::std::os::raw::c_void; 5usize],
|
||||
}
|
||||
#[repr(C)]
|
||||
#[derive(Debug, Copy, Clone)]
|
||||
pub struct MutexImpl_PlatformData([u8; 0]);
|
||||
#[test]
|
||||
fn bindgen_test_layout_MutexImpl() {
|
||||
assert_eq!(::std::mem::size_of::<MutexImpl>() , 64usize ,
|
||||
assert_eq!(::std::mem::size_of::<MutexImpl>() , 40usize ,
|
||||
concat ! ( "Size of: " , stringify ! ( MutexImpl )
|
||||
));
|
||||
assert_eq! (::std::mem::align_of::<MutexImpl>() , 8usize ,
|
||||
|
@ -2993,6 +2993,14 @@ pub mod root {
|
|||
#[allow(unused_imports)]
|
||||
use self::super::super::super::super::root;
|
||||
}
|
||||
#[repr(u8)]
|
||||
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
|
||||
pub enum CSSStyleSheetParsingMode {
|
||||
Author = 0,
|
||||
User = 1,
|
||||
Agent = 2,
|
||||
EndGuard_ = 3,
|
||||
}
|
||||
#[repr(C)]
|
||||
#[derive(Debug)]
|
||||
pub struct OriginAttributesDictionary {
|
||||
|
@ -3052,18 +3060,6 @@ pub mod root {
|
|||
#[repr(C)]
|
||||
#[derive(Debug, Copy, Clone)]
|
||||
pub struct Promise([u8; 0]);
|
||||
pub mod workers {
|
||||
#[allow(unused_imports)]
|
||||
use self::super::super::super::super::root;
|
||||
}
|
||||
#[repr(u8)]
|
||||
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
|
||||
pub enum CSSStyleSheetParsingMode {
|
||||
Author = 0,
|
||||
User = 1,
|
||||
Agent = 2,
|
||||
EndGuard_ = 3,
|
||||
}
|
||||
#[repr(C)]
|
||||
#[derive(Debug, Copy, Clone)]
|
||||
pub struct CSSRuleList([u8; 0]);
|
||||
|
@ -4774,92 +4770,6 @@ pub mod root {
|
|||
#[repr(C)]
|
||||
#[derive(Debug, Copy, Clone)]
|
||||
pub struct EventListenerManager([u8; 0]);
|
||||
/**
|
||||
* BlockingResourceBase
|
||||
* Base class of resources that might block clients trying to acquire them.
|
||||
* Does debugging and deadlock detection in DEBUG builds.
|
||||
**/
|
||||
#[repr(C)]
|
||||
#[derive(Debug)]
|
||||
pub struct BlockingResourceBase {
|
||||
pub _address: u8,
|
||||
}
|
||||
#[repr(u32)]
|
||||
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
|
||||
pub enum BlockingResourceBase_BlockingResourceType {
|
||||
eMutex = 0,
|
||||
eReentrantMonitor = 1,
|
||||
eCondVar = 2,
|
||||
}
|
||||
extern "C" {
|
||||
#[link_name =
|
||||
"_ZN7mozilla20BlockingResourceBase17kResourceTypeNameE"]
|
||||
pub static mut BlockingResourceBase_kResourceTypeName:
|
||||
[*const ::std::os::raw::c_char; 0usize];
|
||||
}
|
||||
#[test]
|
||||
fn bindgen_test_layout_BlockingResourceBase() {
|
||||
assert_eq!(::std::mem::size_of::<BlockingResourceBase>() , 1usize
|
||||
, concat ! (
|
||||
"Size of: " , stringify ! ( BlockingResourceBase ) ));
|
||||
assert_eq! (::std::mem::align_of::<BlockingResourceBase>() ,
|
||||
1usize , concat ! (
|
||||
"Alignment of " , stringify ! ( BlockingResourceBase )
|
||||
));
|
||||
}
|
||||
/**
|
||||
* OffTheBooksMutex is identical to Mutex, except that OffTheBooksMutex doesn't
|
||||
* include leak checking. Sometimes you want to intentionally "leak" a mutex
|
||||
* until shutdown; in these cases, OffTheBooksMutex is for you.
|
||||
*/
|
||||
#[repr(C)]
|
||||
#[derive(Debug)]
|
||||
pub struct OffTheBooksMutex {
|
||||
pub _base: root::mozilla::detail::MutexImpl,
|
||||
}
|
||||
#[test]
|
||||
fn bindgen_test_layout_OffTheBooksMutex() {
|
||||
assert_eq!(::std::mem::size_of::<OffTheBooksMutex>() , 64usize ,
|
||||
concat ! (
|
||||
"Size of: " , stringify ! ( OffTheBooksMutex ) ));
|
||||
assert_eq! (::std::mem::align_of::<OffTheBooksMutex>() , 8usize ,
|
||||
concat ! (
|
||||
"Alignment of " , stringify ! ( OffTheBooksMutex ) ));
|
||||
}
|
||||
/**
|
||||
* Mutex
|
||||
* When possible, use MutexAutoLock/MutexAutoUnlock to lock/unlock this
|
||||
* mutex within a scope, instead of calling Lock/Unlock directly.
|
||||
*/
|
||||
#[repr(C)]
|
||||
#[derive(Debug)]
|
||||
pub struct Mutex {
|
||||
pub _base: root::mozilla::OffTheBooksMutex,
|
||||
}
|
||||
#[test]
|
||||
fn bindgen_test_layout_Mutex() {
|
||||
assert_eq!(::std::mem::size_of::<Mutex>() , 64usize , concat ! (
|
||||
"Size of: " , stringify ! ( Mutex ) ));
|
||||
assert_eq! (::std::mem::align_of::<Mutex>() , 8usize , concat ! (
|
||||
"Alignment of " , stringify ! ( Mutex ) ));
|
||||
}
|
||||
pub mod net {
|
||||
#[allow(unused_imports)]
|
||||
use self::super::super::super::root;
|
||||
#[repr(u32)]
|
||||
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
|
||||
pub enum ReferrerPolicy {
|
||||
RP_No_Referrer = 2,
|
||||
RP_Origin = 3,
|
||||
RP_No_Referrer_When_Downgrade = 1,
|
||||
RP_Origin_When_Crossorigin = 4,
|
||||
RP_Unsafe_URL = 5,
|
||||
RP_Same_Origin = 6,
|
||||
RP_Strict_Origin = 7,
|
||||
RP_Strict_Origin_When_Cross_Origin = 8,
|
||||
RP_Unset = 0,
|
||||
}
|
||||
}
|
||||
pub const FlushType_Frames: root::mozilla::FlushType =
|
||||
FlushType::Style;
|
||||
#[repr(u8)]
|
||||
|
@ -5418,6 +5328,23 @@ pub mod root {
|
|||
assert_eq! (::std::mem::align_of::<StyleSheet>() , 8usize , concat
|
||||
! ( "Alignment of " , stringify ! ( StyleSheet ) ));
|
||||
}
|
||||
pub mod net {
|
||||
#[allow(unused_imports)]
|
||||
use self::super::super::super::root;
|
||||
#[repr(u32)]
|
||||
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
|
||||
pub enum ReferrerPolicy {
|
||||
RP_No_Referrer = 2,
|
||||
RP_Origin = 3,
|
||||
RP_No_Referrer_When_Downgrade = 1,
|
||||
RP_Origin_When_Crossorigin = 4,
|
||||
RP_Unsafe_URL = 5,
|
||||
RP_Same_Origin = 6,
|
||||
RP_Strict_Origin = 7,
|
||||
RP_Strict_Origin_When_Cross_Origin = 8,
|
||||
RP_Unset = 0,
|
||||
}
|
||||
}
|
||||
#[repr(u8)]
|
||||
/**
|
||||
* Enumeration that represents one of the two supported style system backends.
|
||||
|
@ -5530,7 +5457,7 @@ pub mod root {
|
|||
eUseCounter_ImageBitmapRenderingContext_TransferImageBitmap = 86,
|
||||
eUseCounter_URLCreateObjectURL_MediaStream = 87,
|
||||
eUseCounter_XMLBaseAttribute = 88,
|
||||
eUseCounter_XMLBaseAttributeWithStyledElement = 89,
|
||||
eUseCounter_XMLBaseAttributeForStyleAttr = 89,
|
||||
eUseCounter_Count = 90,
|
||||
}
|
||||
#[repr(u32)]
|
||||
|
@ -6795,6 +6722,75 @@ pub mod root {
|
|||
#[repr(C)]
|
||||
#[derive(Debug, Copy, Clone)]
|
||||
pub struct RestyleManager([u8; 0]);
|
||||
/**
|
||||
* BlockingResourceBase
|
||||
* Base class of resources that might block clients trying to acquire them.
|
||||
* Does debugging and deadlock detection in DEBUG builds.
|
||||
**/
|
||||
#[repr(C)]
|
||||
#[derive(Debug)]
|
||||
pub struct BlockingResourceBase {
|
||||
pub _address: u8,
|
||||
}
|
||||
#[repr(u32)]
|
||||
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
|
||||
pub enum BlockingResourceBase_BlockingResourceType {
|
||||
eMutex = 0,
|
||||
eReentrantMonitor = 1,
|
||||
eCondVar = 2,
|
||||
}
|
||||
extern "C" {
|
||||
#[link_name =
|
||||
"_ZN7mozilla20BlockingResourceBase17kResourceTypeNameE"]
|
||||
pub static mut BlockingResourceBase_kResourceTypeName:
|
||||
[*const ::std::os::raw::c_char; 0usize];
|
||||
}
|
||||
#[test]
|
||||
fn bindgen_test_layout_BlockingResourceBase() {
|
||||
assert_eq!(::std::mem::size_of::<BlockingResourceBase>() , 1usize
|
||||
, concat ! (
|
||||
"Size of: " , stringify ! ( BlockingResourceBase ) ));
|
||||
assert_eq! (::std::mem::align_of::<BlockingResourceBase>() ,
|
||||
1usize , concat ! (
|
||||
"Alignment of " , stringify ! ( BlockingResourceBase )
|
||||
));
|
||||
}
|
||||
/**
|
||||
* OffTheBooksMutex is identical to Mutex, except that OffTheBooksMutex doesn't
|
||||
* include leak checking. Sometimes you want to intentionally "leak" a mutex
|
||||
* until shutdown; in these cases, OffTheBooksMutex is for you.
|
||||
*/
|
||||
#[repr(C)]
|
||||
#[derive(Debug)]
|
||||
pub struct OffTheBooksMutex {
|
||||
pub _base: root::mozilla::detail::MutexImpl,
|
||||
}
|
||||
#[test]
|
||||
fn bindgen_test_layout_OffTheBooksMutex() {
|
||||
assert_eq!(::std::mem::size_of::<OffTheBooksMutex>() , 40usize ,
|
||||
concat ! (
|
||||
"Size of: " , stringify ! ( OffTheBooksMutex ) ));
|
||||
assert_eq! (::std::mem::align_of::<OffTheBooksMutex>() , 8usize ,
|
||||
concat ! (
|
||||
"Alignment of " , stringify ! ( OffTheBooksMutex ) ));
|
||||
}
|
||||
/**
|
||||
* Mutex
|
||||
* When possible, use MutexAutoLock/MutexAutoUnlock to lock/unlock this
|
||||
* mutex within a scope, instead of calling Lock/Unlock directly.
|
||||
*/
|
||||
#[repr(C)]
|
||||
#[derive(Debug)]
|
||||
pub struct Mutex {
|
||||
pub _base: root::mozilla::OffTheBooksMutex,
|
||||
}
|
||||
#[test]
|
||||
fn bindgen_test_layout_Mutex() {
|
||||
assert_eq!(::std::mem::size_of::<Mutex>() , 40usize , concat ! (
|
||||
"Size of: " , stringify ! ( Mutex ) ));
|
||||
assert_eq! (::std::mem::align_of::<Mutex>() , 8usize , concat ! (
|
||||
"Alignment of " , stringify ! ( Mutex ) ));
|
||||
}
|
||||
pub mod image {
|
||||
#[allow(unused_imports)]
|
||||
use self::super::super::super::root;
|
||||
|
@ -8185,12 +8181,6 @@ pub mod root {
|
|||
pub type pair_first_type<_T1> = _T1;
|
||||
pub type pair_second_type<_T2> = _T2;
|
||||
#[repr(C)]
|
||||
pub struct atomic<_Tp> {
|
||||
pub _base: (),
|
||||
pub _phantom_0: ::std::marker::PhantomData<_Tp>,
|
||||
}
|
||||
pub type atomic___base = [u8; 0usize];
|
||||
#[repr(C)]
|
||||
#[derive(Debug, Copy)]
|
||||
pub struct input_iterator_tag {
|
||||
pub _address: u8,
|
||||
|
@ -8209,62 +8199,6 @@ pub mod root {
|
|||
fn clone(&self) -> Self { *self }
|
||||
}
|
||||
#[repr(C)]
|
||||
#[derive(Debug, Copy)]
|
||||
pub struct forward_iterator_tag {
|
||||
pub _address: u8,
|
||||
}
|
||||
#[test]
|
||||
fn bindgen_test_layout_forward_iterator_tag() {
|
||||
assert_eq!(::std::mem::size_of::<forward_iterator_tag>() , 1usize
|
||||
, concat ! (
|
||||
"Size of: " , stringify ! ( forward_iterator_tag ) ));
|
||||
assert_eq! (::std::mem::align_of::<forward_iterator_tag>() ,
|
||||
1usize , concat ! (
|
||||
"Alignment of " , stringify ! ( forward_iterator_tag )
|
||||
));
|
||||
}
|
||||
impl Clone for forward_iterator_tag {
|
||||
fn clone(&self) -> Self { *self }
|
||||
}
|
||||
#[repr(C)]
|
||||
#[derive(Debug, Copy)]
|
||||
pub struct bidirectional_iterator_tag {
|
||||
pub _address: u8,
|
||||
}
|
||||
#[test]
|
||||
fn bindgen_test_layout_bidirectional_iterator_tag() {
|
||||
assert_eq!(::std::mem::size_of::<bidirectional_iterator_tag>() ,
|
||||
1usize , concat ! (
|
||||
"Size of: " , stringify ! ( bidirectional_iterator_tag
|
||||
) ));
|
||||
assert_eq! (::std::mem::align_of::<bidirectional_iterator_tag>() ,
|
||||
1usize , concat ! (
|
||||
"Alignment of " , stringify ! (
|
||||
bidirectional_iterator_tag ) ));
|
||||
}
|
||||
impl Clone for bidirectional_iterator_tag {
|
||||
fn clone(&self) -> Self { *self }
|
||||
}
|
||||
#[repr(C)]
|
||||
#[derive(Debug, Copy)]
|
||||
pub struct random_access_iterator_tag {
|
||||
pub _address: u8,
|
||||
}
|
||||
#[test]
|
||||
fn bindgen_test_layout_random_access_iterator_tag() {
|
||||
assert_eq!(::std::mem::size_of::<random_access_iterator_tag>() ,
|
||||
1usize , concat ! (
|
||||
"Size of: " , stringify ! ( random_access_iterator_tag
|
||||
) ));
|
||||
assert_eq! (::std::mem::align_of::<random_access_iterator_tag>() ,
|
||||
1usize , concat ! (
|
||||
"Alignment of " , stringify ! (
|
||||
random_access_iterator_tag ) ));
|
||||
}
|
||||
impl Clone for random_access_iterator_tag {
|
||||
fn clone(&self) -> Self { *self }
|
||||
}
|
||||
#[repr(C)]
|
||||
#[derive(Debug, Copy, Clone)]
|
||||
pub struct iterator<_Category, _Tp, _Distance, _Pointer, _Reference> {
|
||||
pub _address: u8,
|
||||
|
@ -8274,22 +8208,22 @@ pub mod root {
|
|||
pub _phantom_3: ::std::marker::PhantomData<_Pointer>,
|
||||
pub _phantom_4: ::std::marker::PhantomData<_Reference>,
|
||||
}
|
||||
pub type iterator_iterator_category<_Category> = _Category;
|
||||
pub type iterator_value_type<_Tp> = _Tp;
|
||||
pub type iterator_difference_type<_Distance> = _Distance;
|
||||
pub type iterator_pointer<_Pointer> = _Pointer;
|
||||
pub type iterator_reference<_Reference> = _Reference;
|
||||
pub type iterator_iterator_category<_Category> = _Category;
|
||||
#[repr(C)]
|
||||
#[derive(Debug, Copy, Clone)]
|
||||
pub struct __bit_const_reference<_Cp> {
|
||||
pub __seg_: root::std::__bit_const_reference___storage_pointer<_Cp>,
|
||||
pub __mask_: root::std::__bit_const_reference___storage_type<_Cp>,
|
||||
#[derive(Debug)]
|
||||
pub struct atomic<_Tp> {
|
||||
pub _M_i: _Tp,
|
||||
}
|
||||
pub type __bit_const_reference___storage_type<_Cp> = _Cp;
|
||||
pub type __bit_const_reference___storage_pointer<_Cp> = _Cp;
|
||||
}
|
||||
pub type __darwin_va_list = root::__builtin_va_list;
|
||||
pub type va_list = root::__darwin_va_list;
|
||||
pub mod __gnu_cxx {
|
||||
#[allow(unused_imports)]
|
||||
use self::super::super::root;
|
||||
}
|
||||
pub type va_list = root::__builtin_va_list;
|
||||
/**
|
||||
* MozRefCountType is Mozilla's reference count type.
|
||||
*
|
||||
|
@ -11754,7 +11688,7 @@ pub mod root {
|
|||
eImageBitmapRenderingContext_TransferImageBitmap = 39,
|
||||
eURLCreateObjectURL_MediaStream = 40,
|
||||
eXMLBaseAttribute = 41,
|
||||
eXMLBaseAttributeWithStyledElement = 42,
|
||||
eXMLBaseAttributeForStyleAttr = 42,
|
||||
eDeprecatedOperationCount = 43,
|
||||
}
|
||||
#[repr(u32)]
|
||||
|
@ -12257,30 +12191,6 @@ pub mod root {
|
|||
#[derive(Debug, Copy, Clone)]
|
||||
pub struct nsISelection([u8; 0]);
|
||||
#[repr(C)]
|
||||
#[derive(Debug, Copy)]
|
||||
pub struct mozIDOMWindowProxy {
|
||||
pub _base: root::nsISupports,
|
||||
}
|
||||
#[repr(C)]
|
||||
#[derive(Debug, Copy, Clone)]
|
||||
pub struct mozIDOMWindowProxy_COMTypeInfo<T, U> {
|
||||
pub _address: u8,
|
||||
pub _phantom_0: ::std::marker::PhantomData<T>,
|
||||
pub _phantom_1: ::std::marker::PhantomData<U>,
|
||||
}
|
||||
#[test]
|
||||
fn bindgen_test_layout_mozIDOMWindowProxy() {
|
||||
assert_eq!(::std::mem::size_of::<mozIDOMWindowProxy>() , 8usize ,
|
||||
concat ! ( "Size of: " , stringify ! ( mozIDOMWindowProxy )
|
||||
));
|
||||
assert_eq! (::std::mem::align_of::<mozIDOMWindowProxy>() , 8usize ,
|
||||
concat ! (
|
||||
"Alignment of " , stringify ! ( mozIDOMWindowProxy ) ));
|
||||
}
|
||||
impl Clone for mozIDOMWindowProxy {
|
||||
fn clone(&self) -> Self { *self }
|
||||
}
|
||||
#[repr(C)]
|
||||
#[derive(Debug)]
|
||||
pub struct nsPresContext {
|
||||
pub _base: root::nsIObserver,
|
||||
|
@ -13303,125 +13213,12 @@ pub mod root {
|
|||
! ( "Alignment of " , stringify ! ( ErrorNote ) ));
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
#[derive(Debug, Copy)]
|
||||
pub struct nsIChannel {
|
||||
pub _base: root::nsIRequest,
|
||||
}
|
||||
#[repr(C)]
|
||||
#[derive(Debug, Copy, Clone)]
|
||||
pub struct nsIChannel_COMTypeInfo<T, U> {
|
||||
pub _address: u8,
|
||||
pub _phantom_0: ::std::marker::PhantomData<T>,
|
||||
pub _phantom_1: ::std::marker::PhantomData<U>,
|
||||
}
|
||||
pub const nsIChannel_LOAD_DOCUMENT_URI: root::nsIChannel__bindgen_ty_1 =
|
||||
nsIChannel__bindgen_ty_1::LOAD_DOCUMENT_URI;
|
||||
pub const nsIChannel_LOAD_RETARGETED_DOCUMENT_URI:
|
||||
root::nsIChannel__bindgen_ty_1 =
|
||||
nsIChannel__bindgen_ty_1::LOAD_RETARGETED_DOCUMENT_URI;
|
||||
pub const nsIChannel_LOAD_REPLACE: root::nsIChannel__bindgen_ty_1 =
|
||||
nsIChannel__bindgen_ty_1::LOAD_REPLACE;
|
||||
pub const nsIChannel_LOAD_INITIAL_DOCUMENT_URI:
|
||||
root::nsIChannel__bindgen_ty_1 =
|
||||
nsIChannel__bindgen_ty_1::LOAD_INITIAL_DOCUMENT_URI;
|
||||
pub const nsIChannel_LOAD_TARGETED: root::nsIChannel__bindgen_ty_1 =
|
||||
nsIChannel__bindgen_ty_1::LOAD_TARGETED;
|
||||
pub const nsIChannel_LOAD_CALL_CONTENT_SNIFFERS:
|
||||
root::nsIChannel__bindgen_ty_1 =
|
||||
nsIChannel__bindgen_ty_1::LOAD_CALL_CONTENT_SNIFFERS;
|
||||
pub const nsIChannel_LOAD_CLASSIFY_URI: root::nsIChannel__bindgen_ty_1 =
|
||||
nsIChannel__bindgen_ty_1::LOAD_CLASSIFY_URI;
|
||||
pub const nsIChannel_LOAD_MEDIA_SNIFFER_OVERRIDES_CONTENT_TYPE:
|
||||
root::nsIChannel__bindgen_ty_1 =
|
||||
nsIChannel__bindgen_ty_1::LOAD_MEDIA_SNIFFER_OVERRIDES_CONTENT_TYPE;
|
||||
pub const nsIChannel_LOAD_EXPLICIT_CREDENTIALS:
|
||||
root::nsIChannel__bindgen_ty_1 =
|
||||
nsIChannel__bindgen_ty_1::LOAD_EXPLICIT_CREDENTIALS;
|
||||
pub const nsIChannel_LOAD_BYPASS_SERVICE_WORKER:
|
||||
root::nsIChannel__bindgen_ty_1 =
|
||||
nsIChannel__bindgen_ty_1::LOAD_BYPASS_SERVICE_WORKER;
|
||||
#[repr(u32)]
|
||||
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
|
||||
pub enum nsIChannel__bindgen_ty_1 {
|
||||
LOAD_DOCUMENT_URI = 65536,
|
||||
LOAD_RETARGETED_DOCUMENT_URI = 131072,
|
||||
LOAD_REPLACE = 262144,
|
||||
LOAD_INITIAL_DOCUMENT_URI = 524288,
|
||||
LOAD_TARGETED = 1048576,
|
||||
LOAD_CALL_CONTENT_SNIFFERS = 2097152,
|
||||
LOAD_CLASSIFY_URI = 4194304,
|
||||
LOAD_MEDIA_SNIFFER_OVERRIDES_CONTENT_TYPE = 8388608,
|
||||
LOAD_EXPLICIT_CREDENTIALS = 16777216,
|
||||
LOAD_BYPASS_SERVICE_WORKER = 33554432,
|
||||
}
|
||||
pub const nsIChannel_DISPOSITION_INLINE: root::nsIChannel__bindgen_ty_2 =
|
||||
nsIChannel__bindgen_ty_2::DISPOSITION_INLINE;
|
||||
pub const nsIChannel_DISPOSITION_ATTACHMENT:
|
||||
root::nsIChannel__bindgen_ty_2 =
|
||||
nsIChannel__bindgen_ty_2::DISPOSITION_ATTACHMENT;
|
||||
#[repr(u32)]
|
||||
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
|
||||
pub enum nsIChannel__bindgen_ty_2 {
|
||||
DISPOSITION_INLINE = 0,
|
||||
DISPOSITION_ATTACHMENT = 1,
|
||||
}
|
||||
#[test]
|
||||
fn bindgen_test_layout_nsIChannel() {
|
||||
assert_eq!(::std::mem::size_of::<nsIChannel>() , 8usize , concat ! (
|
||||
"Size of: " , stringify ! ( nsIChannel ) ));
|
||||
assert_eq! (::std::mem::align_of::<nsIChannel>() , 8usize , concat ! (
|
||||
"Alignment of " , stringify ! ( nsIChannel ) ));
|
||||
}
|
||||
impl Clone for nsIChannel {
|
||||
fn clone(&self) -> Self { *self }
|
||||
}
|
||||
#[repr(C)]
|
||||
#[derive(Debug, Copy)]
|
||||
pub struct nsILoadContext {
|
||||
pub _base: root::nsISupports,
|
||||
}
|
||||
#[repr(C)]
|
||||
#[derive(Debug, Copy, Clone)]
|
||||
pub struct nsILoadContext_COMTypeInfo<T, U> {
|
||||
pub _address: u8,
|
||||
pub _phantom_0: ::std::marker::PhantomData<T>,
|
||||
pub _phantom_1: ::std::marker::PhantomData<U>,
|
||||
}
|
||||
#[test]
|
||||
fn bindgen_test_layout_nsILoadContext() {
|
||||
assert_eq!(::std::mem::size_of::<nsILoadContext>() , 8usize , concat !
|
||||
( "Size of: " , stringify ! ( nsILoadContext ) ));
|
||||
assert_eq! (::std::mem::align_of::<nsILoadContext>() , 8usize , concat
|
||||
! ( "Alignment of " , stringify ! ( nsILoadContext ) ));
|
||||
}
|
||||
impl Clone for nsILoadContext {
|
||||
fn clone(&self) -> Self { *self }
|
||||
}
|
||||
#[repr(C)]
|
||||
#[derive(Debug, Copy)]
|
||||
pub struct nsIInterfaceRequestor {
|
||||
pub _base: root::nsISupports,
|
||||
}
|
||||
#[repr(C)]
|
||||
#[derive(Debug, Copy, Clone)]
|
||||
pub struct nsIInterfaceRequestor_COMTypeInfo<T, U> {
|
||||
pub _address: u8,
|
||||
pub _phantom_0: ::std::marker::PhantomData<T>,
|
||||
pub _phantom_1: ::std::marker::PhantomData<U>,
|
||||
}
|
||||
#[test]
|
||||
fn bindgen_test_layout_nsIInterfaceRequestor() {
|
||||
assert_eq!(::std::mem::size_of::<nsIInterfaceRequestor>() , 8usize ,
|
||||
concat ! (
|
||||
"Size of: " , stringify ! ( nsIInterfaceRequestor ) ));
|
||||
assert_eq! (::std::mem::align_of::<nsIInterfaceRequestor>() , 8usize ,
|
||||
concat ! (
|
||||
"Alignment of " , stringify ! ( nsIInterfaceRequestor )
|
||||
));
|
||||
}
|
||||
impl Clone for nsIInterfaceRequestor {
|
||||
fn clone(&self) -> Self { *self }
|
||||
pub enum nsCompatibility {
|
||||
eCompatibility_FullStandards = 1,
|
||||
eCompatibility_AlmostStandards = 2,
|
||||
eCompatibility_NavQuirks = 3,
|
||||
}
|
||||
#[repr(C)]
|
||||
#[derive(Debug, Copy)]
|
||||
|
@ -13770,6 +13567,82 @@ pub mod root {
|
|||
"Alignment of field: " , stringify ! ( nsINode ) , "::" ,
|
||||
stringify ! ( mSlots ) ));
|
||||
}
|
||||
#[repr(C)]
|
||||
#[derive(Debug, Copy)]
|
||||
pub struct nsIChannel {
|
||||
pub _base: root::nsIRequest,
|
||||
}
|
||||
#[repr(C)]
|
||||
#[derive(Debug, Copy, Clone)]
|
||||
pub struct nsIChannel_COMTypeInfo<T, U> {
|
||||
pub _address: u8,
|
||||
pub _phantom_0: ::std::marker::PhantomData<T>,
|
||||
pub _phantom_1: ::std::marker::PhantomData<U>,
|
||||
}
|
||||
pub const nsIChannel_LOAD_DOCUMENT_URI: root::nsIChannel__bindgen_ty_1 =
|
||||
nsIChannel__bindgen_ty_1::LOAD_DOCUMENT_URI;
|
||||
pub const nsIChannel_LOAD_RETARGETED_DOCUMENT_URI:
|
||||
root::nsIChannel__bindgen_ty_1 =
|
||||
nsIChannel__bindgen_ty_1::LOAD_RETARGETED_DOCUMENT_URI;
|
||||
pub const nsIChannel_LOAD_REPLACE: root::nsIChannel__bindgen_ty_1 =
|
||||
nsIChannel__bindgen_ty_1::LOAD_REPLACE;
|
||||
pub const nsIChannel_LOAD_INITIAL_DOCUMENT_URI:
|
||||
root::nsIChannel__bindgen_ty_1 =
|
||||
nsIChannel__bindgen_ty_1::LOAD_INITIAL_DOCUMENT_URI;
|
||||
pub const nsIChannel_LOAD_TARGETED: root::nsIChannel__bindgen_ty_1 =
|
||||
nsIChannel__bindgen_ty_1::LOAD_TARGETED;
|
||||
pub const nsIChannel_LOAD_CALL_CONTENT_SNIFFERS:
|
||||
root::nsIChannel__bindgen_ty_1 =
|
||||
nsIChannel__bindgen_ty_1::LOAD_CALL_CONTENT_SNIFFERS;
|
||||
pub const nsIChannel_LOAD_CLASSIFY_URI: root::nsIChannel__bindgen_ty_1 =
|
||||
nsIChannel__bindgen_ty_1::LOAD_CLASSIFY_URI;
|
||||
pub const nsIChannel_LOAD_MEDIA_SNIFFER_OVERRIDES_CONTENT_TYPE:
|
||||
root::nsIChannel__bindgen_ty_1 =
|
||||
nsIChannel__bindgen_ty_1::LOAD_MEDIA_SNIFFER_OVERRIDES_CONTENT_TYPE;
|
||||
pub const nsIChannel_LOAD_EXPLICIT_CREDENTIALS:
|
||||
root::nsIChannel__bindgen_ty_1 =
|
||||
nsIChannel__bindgen_ty_1::LOAD_EXPLICIT_CREDENTIALS;
|
||||
pub const nsIChannel_LOAD_BYPASS_SERVICE_WORKER:
|
||||
root::nsIChannel__bindgen_ty_1 =
|
||||
nsIChannel__bindgen_ty_1::LOAD_BYPASS_SERVICE_WORKER;
|
||||
#[repr(u32)]
|
||||
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
|
||||
pub enum nsIChannel__bindgen_ty_1 {
|
||||
LOAD_DOCUMENT_URI = 65536,
|
||||
LOAD_RETARGETED_DOCUMENT_URI = 131072,
|
||||
LOAD_REPLACE = 262144,
|
||||
LOAD_INITIAL_DOCUMENT_URI = 524288,
|
||||
LOAD_TARGETED = 1048576,
|
||||
LOAD_CALL_CONTENT_SNIFFERS = 2097152,
|
||||
LOAD_CLASSIFY_URI = 4194304,
|
||||
LOAD_MEDIA_SNIFFER_OVERRIDES_CONTENT_TYPE = 8388608,
|
||||
LOAD_EXPLICIT_CREDENTIALS = 16777216,
|
||||
LOAD_BYPASS_SERVICE_WORKER = 33554432,
|
||||
}
|
||||
pub const nsIChannel_DISPOSITION_INLINE: root::nsIChannel__bindgen_ty_2 =
|
||||
nsIChannel__bindgen_ty_2::DISPOSITION_INLINE;
|
||||
pub const nsIChannel_DISPOSITION_ATTACHMENT:
|
||||
root::nsIChannel__bindgen_ty_2 =
|
||||
nsIChannel__bindgen_ty_2::DISPOSITION_ATTACHMENT;
|
||||
#[repr(u32)]
|
||||
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
|
||||
pub enum nsIChannel__bindgen_ty_2 {
|
||||
DISPOSITION_INLINE = 0,
|
||||
DISPOSITION_ATTACHMENT = 1,
|
||||
}
|
||||
#[test]
|
||||
fn bindgen_test_layout_nsIChannel() {
|
||||
assert_eq!(::std::mem::size_of::<nsIChannel>() , 8usize , concat ! (
|
||||
"Size of: " , stringify ! ( nsIChannel ) ));
|
||||
assert_eq! (::std::mem::align_of::<nsIChannel>() , 8usize , concat ! (
|
||||
"Alignment of " , stringify ! ( nsIChannel ) ));
|
||||
}
|
||||
impl Clone for nsIChannel {
|
||||
fn clone(&self) -> Self { *self }
|
||||
}
|
||||
#[repr(C)]
|
||||
#[derive(Debug, Copy, Clone)]
|
||||
pub struct nsILoadContext([u8; 0]);
|
||||
pub type nsSecurityFlags = u32;
|
||||
#[repr(C)]
|
||||
#[derive(Debug, Copy)]
|
||||
|
@ -13878,6 +13751,31 @@ pub mod root {
|
|||
fn clone(&self) -> Self { *self }
|
||||
}
|
||||
#[repr(C)]
|
||||
#[derive(Debug, Copy)]
|
||||
pub struct nsIInterfaceRequestor {
|
||||
pub _base: root::nsISupports,
|
||||
}
|
||||
#[repr(C)]
|
||||
#[derive(Debug, Copy, Clone)]
|
||||
pub struct nsIInterfaceRequestor_COMTypeInfo<T, U> {
|
||||
pub _address: u8,
|
||||
pub _phantom_0: ::std::marker::PhantomData<T>,
|
||||
pub _phantom_1: ::std::marker::PhantomData<U>,
|
||||
}
|
||||
#[test]
|
||||
fn bindgen_test_layout_nsIInterfaceRequestor() {
|
||||
assert_eq!(::std::mem::size_of::<nsIInterfaceRequestor>() , 8usize ,
|
||||
concat ! (
|
||||
"Size of: " , stringify ! ( nsIInterfaceRequestor ) ));
|
||||
assert_eq! (::std::mem::align_of::<nsIInterfaceRequestor>() , 8usize ,
|
||||
concat ! (
|
||||
"Alignment of " , stringify ! ( nsIInterfaceRequestor )
|
||||
));
|
||||
}
|
||||
impl Clone for nsIInterfaceRequestor {
|
||||
fn clone(&self) -> Self { *self }
|
||||
}
|
||||
#[repr(C)]
|
||||
#[derive(Debug, Copy, Clone)]
|
||||
pub struct nsIInputStream([u8; 0]);
|
||||
#[repr(C)]
|
||||
|
@ -13904,13 +13802,6 @@ pub mod root {
|
|||
impl Clone for nsIStreamListener {
|
||||
fn clone(&self) -> Self { *self }
|
||||
}
|
||||
#[repr(u32)]
|
||||
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
|
||||
pub enum nsCompatibility {
|
||||
eCompatibility_FullStandards = 1,
|
||||
eCompatibility_AlmostStandards = 2,
|
||||
eCompatibility_NavQuirks = 3,
|
||||
}
|
||||
#[repr(C)]
|
||||
#[derive(Debug)]
|
||||
pub struct nsAttrValue {
|
||||
|
@ -15159,63 +15050,63 @@ pub mod root {
|
|||
#[repr(C)]
|
||||
#[derive(Debug, Copy, Clone)]
|
||||
pub struct nsDOMMutationObserver([u8; 0]);
|
||||
pub const NODE_HAS_LISTENERMANAGER: root::_bindgen_ty_28 =
|
||||
_bindgen_ty_28::NODE_HAS_LISTENERMANAGER;
|
||||
pub const NODE_HAS_PROPERTIES: root::_bindgen_ty_28 =
|
||||
_bindgen_ty_28::NODE_HAS_PROPERTIES;
|
||||
pub const NODE_IS_ANONYMOUS_ROOT: root::_bindgen_ty_28 =
|
||||
_bindgen_ty_28::NODE_IS_ANONYMOUS_ROOT;
|
||||
pub const NODE_IS_IN_NATIVE_ANONYMOUS_SUBTREE: root::_bindgen_ty_28 =
|
||||
_bindgen_ty_28::NODE_IS_IN_NATIVE_ANONYMOUS_SUBTREE;
|
||||
pub const NODE_IS_NATIVE_ANONYMOUS_ROOT: root::_bindgen_ty_28 =
|
||||
_bindgen_ty_28::NODE_IS_NATIVE_ANONYMOUS_ROOT;
|
||||
pub const NODE_FORCE_XBL_BINDINGS: root::_bindgen_ty_28 =
|
||||
_bindgen_ty_28::NODE_FORCE_XBL_BINDINGS;
|
||||
pub const NODE_MAY_BE_IN_BINDING_MNGR: root::_bindgen_ty_28 =
|
||||
_bindgen_ty_28::NODE_MAY_BE_IN_BINDING_MNGR;
|
||||
pub const NODE_IS_EDITABLE: root::_bindgen_ty_28 =
|
||||
_bindgen_ty_28::NODE_IS_EDITABLE;
|
||||
pub const NODE_IS_NATIVE_ANONYMOUS: root::_bindgen_ty_28 =
|
||||
_bindgen_ty_28::NODE_IS_NATIVE_ANONYMOUS;
|
||||
pub const NODE_IS_IN_SHADOW_TREE: root::_bindgen_ty_28 =
|
||||
_bindgen_ty_28::NODE_IS_IN_SHADOW_TREE;
|
||||
pub const NODE_HAS_EMPTY_SELECTOR: root::_bindgen_ty_28 =
|
||||
_bindgen_ty_28::NODE_HAS_EMPTY_SELECTOR;
|
||||
pub const NODE_HAS_SLOW_SELECTOR: root::_bindgen_ty_28 =
|
||||
_bindgen_ty_28::NODE_HAS_SLOW_SELECTOR;
|
||||
pub const NODE_HAS_EDGE_CHILD_SELECTOR: root::_bindgen_ty_28 =
|
||||
_bindgen_ty_28::NODE_HAS_EDGE_CHILD_SELECTOR;
|
||||
pub const NODE_HAS_SLOW_SELECTOR_LATER_SIBLINGS: root::_bindgen_ty_28 =
|
||||
_bindgen_ty_28::NODE_HAS_SLOW_SELECTOR_LATER_SIBLINGS;
|
||||
pub const NODE_ALL_SELECTOR_FLAGS: root::_bindgen_ty_28 =
|
||||
_bindgen_ty_28::NODE_ALL_SELECTOR_FLAGS;
|
||||
pub const NODE_NEEDS_FRAME: root::_bindgen_ty_28 =
|
||||
_bindgen_ty_28::NODE_NEEDS_FRAME;
|
||||
pub const NODE_DESCENDANTS_NEED_FRAMES: root::_bindgen_ty_28 =
|
||||
_bindgen_ty_28::NODE_DESCENDANTS_NEED_FRAMES;
|
||||
pub const NODE_HAS_ACCESSKEY: root::_bindgen_ty_28 =
|
||||
_bindgen_ty_28::NODE_HAS_ACCESSKEY;
|
||||
pub const NODE_HAS_DIRECTION_RTL: root::_bindgen_ty_28 =
|
||||
_bindgen_ty_28::NODE_HAS_DIRECTION_RTL;
|
||||
pub const NODE_HAS_DIRECTION_LTR: root::_bindgen_ty_28 =
|
||||
_bindgen_ty_28::NODE_HAS_DIRECTION_LTR;
|
||||
pub const NODE_ALL_DIRECTION_FLAGS: root::_bindgen_ty_28 =
|
||||
_bindgen_ty_28::NODE_ALL_DIRECTION_FLAGS;
|
||||
pub const NODE_CHROME_ONLY_ACCESS: root::_bindgen_ty_28 =
|
||||
_bindgen_ty_28::NODE_CHROME_ONLY_ACCESS;
|
||||
pub const NODE_IS_ROOT_OF_CHROME_ONLY_ACCESS: root::_bindgen_ty_28 =
|
||||
_bindgen_ty_28::NODE_IS_ROOT_OF_CHROME_ONLY_ACCESS;
|
||||
pub const NODE_SHARED_RESTYLE_BIT_1: root::_bindgen_ty_28 =
|
||||
_bindgen_ty_28::NODE_SHARED_RESTYLE_BIT_1;
|
||||
pub const NODE_SHARED_RESTYLE_BIT_2: root::_bindgen_ty_28 =
|
||||
_bindgen_ty_28::NODE_SHARED_RESTYLE_BIT_2;
|
||||
pub const NODE_HAS_DIRTY_DESCENDANTS_FOR_SERVO: root::_bindgen_ty_28 =
|
||||
_bindgen_ty_28::NODE_SHARED_RESTYLE_BIT_1;
|
||||
pub const NODE_TYPE_SPECIFIC_BITS_OFFSET: root::_bindgen_ty_28 =
|
||||
_bindgen_ty_28::NODE_TYPE_SPECIFIC_BITS_OFFSET;
|
||||
pub const NODE_HAS_LISTENERMANAGER: root::_bindgen_ty_105 =
|
||||
_bindgen_ty_105::NODE_HAS_LISTENERMANAGER;
|
||||
pub const NODE_HAS_PROPERTIES: root::_bindgen_ty_105 =
|
||||
_bindgen_ty_105::NODE_HAS_PROPERTIES;
|
||||
pub const NODE_IS_ANONYMOUS_ROOT: root::_bindgen_ty_105 =
|
||||
_bindgen_ty_105::NODE_IS_ANONYMOUS_ROOT;
|
||||
pub const NODE_IS_IN_NATIVE_ANONYMOUS_SUBTREE: root::_bindgen_ty_105 =
|
||||
_bindgen_ty_105::NODE_IS_IN_NATIVE_ANONYMOUS_SUBTREE;
|
||||
pub const NODE_IS_NATIVE_ANONYMOUS_ROOT: root::_bindgen_ty_105 =
|
||||
_bindgen_ty_105::NODE_IS_NATIVE_ANONYMOUS_ROOT;
|
||||
pub const NODE_FORCE_XBL_BINDINGS: root::_bindgen_ty_105 =
|
||||
_bindgen_ty_105::NODE_FORCE_XBL_BINDINGS;
|
||||
pub const NODE_MAY_BE_IN_BINDING_MNGR: root::_bindgen_ty_105 =
|
||||
_bindgen_ty_105::NODE_MAY_BE_IN_BINDING_MNGR;
|
||||
pub const NODE_IS_EDITABLE: root::_bindgen_ty_105 =
|
||||
_bindgen_ty_105::NODE_IS_EDITABLE;
|
||||
pub const NODE_IS_NATIVE_ANONYMOUS: root::_bindgen_ty_105 =
|
||||
_bindgen_ty_105::NODE_IS_NATIVE_ANONYMOUS;
|
||||
pub const NODE_IS_IN_SHADOW_TREE: root::_bindgen_ty_105 =
|
||||
_bindgen_ty_105::NODE_IS_IN_SHADOW_TREE;
|
||||
pub const NODE_HAS_EMPTY_SELECTOR: root::_bindgen_ty_105 =
|
||||
_bindgen_ty_105::NODE_HAS_EMPTY_SELECTOR;
|
||||
pub const NODE_HAS_SLOW_SELECTOR: root::_bindgen_ty_105 =
|
||||
_bindgen_ty_105::NODE_HAS_SLOW_SELECTOR;
|
||||
pub const NODE_HAS_EDGE_CHILD_SELECTOR: root::_bindgen_ty_105 =
|
||||
_bindgen_ty_105::NODE_HAS_EDGE_CHILD_SELECTOR;
|
||||
pub const NODE_HAS_SLOW_SELECTOR_LATER_SIBLINGS: root::_bindgen_ty_105 =
|
||||
_bindgen_ty_105::NODE_HAS_SLOW_SELECTOR_LATER_SIBLINGS;
|
||||
pub const NODE_ALL_SELECTOR_FLAGS: root::_bindgen_ty_105 =
|
||||
_bindgen_ty_105::NODE_ALL_SELECTOR_FLAGS;
|
||||
pub const NODE_NEEDS_FRAME: root::_bindgen_ty_105 =
|
||||
_bindgen_ty_105::NODE_NEEDS_FRAME;
|
||||
pub const NODE_DESCENDANTS_NEED_FRAMES: root::_bindgen_ty_105 =
|
||||
_bindgen_ty_105::NODE_DESCENDANTS_NEED_FRAMES;
|
||||
pub const NODE_HAS_ACCESSKEY: root::_bindgen_ty_105 =
|
||||
_bindgen_ty_105::NODE_HAS_ACCESSKEY;
|
||||
pub const NODE_HAS_DIRECTION_RTL: root::_bindgen_ty_105 =
|
||||
_bindgen_ty_105::NODE_HAS_DIRECTION_RTL;
|
||||
pub const NODE_HAS_DIRECTION_LTR: root::_bindgen_ty_105 =
|
||||
_bindgen_ty_105::NODE_HAS_DIRECTION_LTR;
|
||||
pub const NODE_ALL_DIRECTION_FLAGS: root::_bindgen_ty_105 =
|
||||
_bindgen_ty_105::NODE_ALL_DIRECTION_FLAGS;
|
||||
pub const NODE_CHROME_ONLY_ACCESS: root::_bindgen_ty_105 =
|
||||
_bindgen_ty_105::NODE_CHROME_ONLY_ACCESS;
|
||||
pub const NODE_IS_ROOT_OF_CHROME_ONLY_ACCESS: root::_bindgen_ty_105 =
|
||||
_bindgen_ty_105::NODE_IS_ROOT_OF_CHROME_ONLY_ACCESS;
|
||||
pub const NODE_SHARED_RESTYLE_BIT_1: root::_bindgen_ty_105 =
|
||||
_bindgen_ty_105::NODE_SHARED_RESTYLE_BIT_1;
|
||||
pub const NODE_SHARED_RESTYLE_BIT_2: root::_bindgen_ty_105 =
|
||||
_bindgen_ty_105::NODE_SHARED_RESTYLE_BIT_2;
|
||||
pub const NODE_HAS_DIRTY_DESCENDANTS_FOR_SERVO: root::_bindgen_ty_105 =
|
||||
_bindgen_ty_105::NODE_SHARED_RESTYLE_BIT_1;
|
||||
pub const NODE_TYPE_SPECIFIC_BITS_OFFSET: root::_bindgen_ty_105 =
|
||||
_bindgen_ty_105::NODE_TYPE_SPECIFIC_BITS_OFFSET;
|
||||
#[repr(u32)]
|
||||
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
|
||||
pub enum _bindgen_ty_28 {
|
||||
pub enum _bindgen_ty_105 {
|
||||
NODE_HAS_LISTENERMANAGER = 4,
|
||||
NODE_HAS_PROPERTIES = 8,
|
||||
NODE_IS_ANONYMOUS_ROOT = 16,
|
||||
|
@ -22096,7 +21987,7 @@ pub mod root {
|
|||
pub type imgRequest_HasThreadSafeRefCnt = root::mozilla::TrueType;
|
||||
#[test]
|
||||
fn bindgen_test_layout_imgRequest() {
|
||||
assert_eq!(::std::mem::size_of::<imgRequest>() , 400usize , concat ! (
|
||||
assert_eq!(::std::mem::size_of::<imgRequest>() , 376usize , concat ! (
|
||||
"Size of: " , stringify ! ( imgRequest ) ));
|
||||
assert_eq! (::std::mem::align_of::<imgRequest>() , 8usize , concat ! (
|
||||
"Alignment of " , stringify ! ( imgRequest ) ));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue