aboutsummaryrefslogtreecommitdiffstats
path: root/components/style/gecko/generated/structs_debug.rs
diff options
context:
space:
mode:
authorJ. Ryan Stinnett <jryans@gmail.com>2017-08-22 11:00:56 -0500
committerJ. Ryan Stinnett <jryans@gmail.com>2017-08-22 11:00:56 -0500
commitd76abed401cd42902b97ce43a0eb4adf4908bb5b (patch)
tree789e7096181d3bfda8d5eed662af0ff27ee3661e /components/style/gecko/generated/structs_debug.rs
parent214c59b25ea009f6431ddb8d4fab2806e5299450 (diff)
downloadservo-d76abed401cd42902b97ce43a0eb4adf4908bb5b.tar.gz
servo-d76abed401cd42902b97ce43a0eb4adf4908bb5b.zip
Update Stylo bindings
Diffstat (limited to 'components/style/gecko/generated/structs_debug.rs')
-rw-r--r--components/style/gecko/generated/structs_debug.rs121
1 files changed, 43 insertions, 78 deletions
diff --git a/components/style/gecko/generated/structs_debug.rs b/components/style/gecko/generated/structs_debug.rs
index e24ecd63ccf..828469bf8d7 100644
--- a/components/style/gecko/generated/structs_debug.rs
+++ b/components/style/gecko/generated/structs_debug.rs
@@ -1418,6 +1418,7 @@ pub mod root {
#[allow(unused_imports)]
use self::super::super::super::root;
#[repr(C)]
+ #[derive(Debug)]
pub struct ErrorReporter {
pub mError: root::nsAutoString,
pub mErrorLine: ::nsstring::nsStringRepr,
@@ -10296,30 +10297,12 @@ pub mod root {
impl Clone for nsString_Segment {
fn clone(&self) -> Self { *self }
}
- #[repr(C)]
- pub struct nsAutoString {
- pub _base: root::nsFixedString,
- pub mStorage: [root::mozilla::detail::nsStringRepr_char_type; 64usize],
- }
- pub type nsAutoString_self_type = root::nsAutoString;
- pub const nsAutoString_kDefaultStorageSize:
- root::nsAutoString__bindgen_ty_1 =
- nsAutoString__bindgen_ty_1::kDefaultStorageSize;
- #[repr(u32)]
- #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
- pub enum nsAutoString__bindgen_ty_1 { kDefaultStorageSize = 64, }
- #[test]
- fn bindgen_test_layout_nsAutoString() {
- assert_eq!(::std::mem::size_of::<nsAutoString>() , 160usize , concat !
- ( "Size of: " , stringify ! ( nsAutoString ) ));
- assert_eq! (::std::mem::align_of::<nsAutoString>() , 8usize , concat !
- ( "Alignment of " , stringify ! ( nsAutoString ) ));
- assert_eq! (unsafe {
- & ( * ( 0 as * const nsAutoString ) ) . mStorage as *
- const _ as usize } , 32usize , concat ! (
- "Alignment of field: " , stringify ! ( nsAutoString ) ,
- "::" , stringify ! ( mStorage ) ));
+ pub type nsAutoStringN_self_type = u8;
+ extern "C" {
+ #[link_name = "kStorageSize"]
+ pub static nsAutoStringN_kStorageSize: usize;
}
+ pub type nsAutoString = [u64; 20usize];
#[repr(C)]
pub struct nsStringComparator__bindgen_vtable(::std::os::raw::c_void);
#[repr(C)]
@@ -10526,6 +10509,14 @@ pub mod root {
pub struct nsCycleCollectingAutoRefCnt {
pub mRefCntAndFlags: usize,
}
+ pub type nsCycleCollectingAutoRefCnt_Suspect =
+ ::std::option::Option<unsafe extern "C" fn(aPtr:
+ *mut ::std::os::raw::c_void,
+ aCp:
+ *mut root::nsCycleCollectionParticipant,
+ aRefCnt:
+ *mut root::nsCycleCollectingAutoRefCnt,
+ aShouldDelete: *mut bool)>;
#[test]
fn bindgen_test_layout_nsCycleCollectingAutoRefCnt() {
assert_eq!(::std::mem::size_of::<nsCycleCollectingAutoRefCnt>() ,
@@ -10595,32 +10586,6 @@ pub mod root {
pub mAlign: root::__BindgenUnionField<u8>,
pub bindgen_union_field: u64,
}
- #[repr(C)]
- #[derive(Debug)]
- pub struct nsFixedString {
- pub _base: ::nsstring::nsStringRepr,
- pub mFixedCapacity: root::mozilla::detail::nsStringRepr_size_type,
- pub mFixedBuf: *mut root::mozilla::detail::nsStringRepr_char_type,
- }
- pub type nsFixedString_self_type = root::nsFixedString;
- pub type nsFixedString_fixed_string_type = root::nsFixedString;
- #[test]
- fn bindgen_test_layout_nsFixedString() {
- assert_eq!(::std::mem::size_of::<nsFixedString>() , 32usize , concat !
- ( "Size of: " , stringify ! ( nsFixedString ) ));
- assert_eq! (::std::mem::align_of::<nsFixedString>() , 8usize , concat
- ! ( "Alignment of " , stringify ! ( nsFixedString ) ));
- assert_eq! (unsafe {
- & ( * ( 0 as * const nsFixedString ) ) . mFixedCapacity as
- * const _ as usize } , 16usize , concat ! (
- "Alignment of field: " , stringify ! ( nsFixedString ) ,
- "::" , stringify ! ( mFixedCapacity ) ));
- assert_eq! (unsafe {
- & ( * ( 0 as * const nsFixedString ) ) . mFixedBuf as *
- const _ as usize } , 24usize , concat ! (
- "Alignment of field: " , stringify ! ( nsFixedString ) ,
- "::" , stringify ! ( mFixedBuf ) ));
- }
pub type PRUint32 = ::std::os::raw::c_uint;
pub type PRIntn = ::std::os::raw::c_int;
pub type PRUintn = ::std::os::raw::c_uint;
@@ -33791,7 +33756,7 @@ pub mod root {
root::nsTArray<root::mozilla::gfx::FontVariation> ) ));
}
#[test]
- fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_228717_close0_instantiation() {
+ fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_228788_close0_instantiation() {
assert_eq!(::std::mem::size_of::<root::nsTArray<*mut root::nsCSSSelector>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -34147,7 +34112,7 @@ pub mod root {
root::mozilla::binding_danger::TErrorResult ) ));
}
#[test]
- fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_230548_close0_instantiation() {
+ fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_230622_close0_instantiation() {
assert_eq!(::std::mem::size_of::<root::nsTArray<*mut root::mozilla::StyleSheet>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -34308,7 +34273,7 @@ pub mod root {
root::JS::DeletePolicy ) ));
}
#[test]
- fn __bindgen_test_layout_iterator_open0_input_iterator_tag_UniquePtr_open1_JSErrorNotes_Note_DeletePolicy_open2_JSErrorNotes_Note_close2_close1_long__bindgen_ty_id_236167__bindgen_ty_id_236174_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_236242__bindgen_ty_id_236249_close0_instantiation() {
assert_eq!(::std::mem::size_of::<root::std::iterator>() , 1usize ,
concat ! (
"Size of template specialization: " , stringify ! (
@@ -34556,7 +34521,7 @@ pub mod root {
root::RefPtr<root::mozilla::StyleSheet> ) ));
}
#[test]
- fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_238666_close0_instantiation() {
+ fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_238741_close0_instantiation() {
assert_eq!(::std::mem::size_of::<root::nsTArray<*mut root::mozilla::dom::Element>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -34624,7 +34589,7 @@ pub mod root {
root::nsCOMPtr<root::nsIObserver> ) ));
}
#[test]
- fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_238968_close0_instantiation() {
+ fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_239043_close0_instantiation() {
assert_eq!(::std::mem::size_of::<root::nsTArray<*mut root::mozilla::dom::Element>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -34736,7 +34701,7 @@ pub mod root {
root::RefPtr<root::mozilla::URLExtraData> ) ));
}
#[test]
- fn __bindgen_test_layout_NotNull_open0__bindgen_ty_id_239510_close0_instantiation() {
+ fn __bindgen_test_layout_NotNull_open0__bindgen_ty_id_239588_close0_instantiation() {
assert_eq!(::std::mem::size_of::<root::mozilla::NotNull<*const root::mozilla::Encoding>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -35140,7 +35105,7 @@ pub mod root {
root::RefPtr<root::mozilla::StyleSheet> ) ));
}
#[test]
- fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_239931_close0_instantiation() {
+ fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_240009_close0_instantiation() {
assert_eq!(::std::mem::size_of::<root::nsTArray<*mut root::mozilla::StyleSheet>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -35230,7 +35195,7 @@ pub mod root {
) ));
}
#[test]
- fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_240330_close0_instantiation() {
+ fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_240409_close0_instantiation() {
assert_eq!(::std::mem::size_of::<root::nsTArray<*mut root::mozilla::StyleSheet>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -35331,7 +35296,7 @@ pub mod root {
root::nsTArray<::nsstring::nsStringRepr> ) ));
}
#[test]
- fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_241301_close0_instantiation() {
+ fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_241380_close0_instantiation() {
assert_eq!(::std::mem::size_of::<root::nsTArray<*mut root::mozilla::StyleSheet>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -35420,7 +35385,7 @@ pub mod root {
root::RefPtr<root::nsCSSFontFaceRule> ) ));
}
#[test]
- fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_241606_close0_instantiation() {
+ fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_241685_close0_instantiation() {
assert_eq!(::std::mem::size_of::<root::nsTArray<*mut root::nsIContent>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -35431,7 +35396,7 @@ pub mod root {
root::nsTArray<*mut root::nsIContent> ) ));
}
#[test]
- fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_241611_close0_instantiation() {
+ fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_241690_close0_instantiation() {
assert_eq!(::std::mem::size_of::<root::nsTArray<*mut root::nsIContent>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -35488,7 +35453,7 @@ pub mod root {
root::RefPtr<root::mozilla::CSSStyleSheet> ) ));
}
#[test]
- fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_242102_close0_instantiation() {
+ fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_242181_close0_instantiation() {
assert_eq!(::std::mem::size_of::<root::nsTArray<*mut root::mozilla::StyleSheet>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -36136,7 +36101,7 @@ pub mod root {
root::nsCOMPtr<root::nsIWeakReference> ) ));
}
#[test]
- fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_244958_close0_instantiation() {
+ fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_245037_close0_instantiation() {
assert_eq!(::std::mem::size_of::<root::nsTArray<*mut ::std::os::raw::c_void>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -36215,7 +36180,7 @@ pub mod root {
root::mozilla::DefaultDelete ) ));
}
#[test]
- fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_251248_close0_instantiation() {
+ fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_251322_close0_instantiation() {
assert_eq!(::std::mem::size_of::<root::nsTArray<*mut root::mozilla::dom::AudioContext>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -36248,7 +36213,7 @@ pub mod root {
root::RefPtr<root::mozilla::dom::CallbackObject> ) ));
}
#[test]
- fn __bindgen_test_layout_Heap_open0__bindgen_ty_id_252417_close0_instantiation() {
+ fn __bindgen_test_layout_Heap_open0__bindgen_ty_id_252491_close0_instantiation() {
assert_eq!(::std::mem::size_of::<root::JS::Heap<*mut root::JSObject>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -36259,7 +36224,7 @@ pub mod root {
root::JS::Heap<*mut root::JSObject> ) ));
}
#[test]
- fn __bindgen_test_layout_Heap_open0__bindgen_ty_id_252421_close0_instantiation() {
+ fn __bindgen_test_layout_Heap_open0__bindgen_ty_id_252495_close0_instantiation() {
assert_eq!(::std::mem::size_of::<root::JS::Heap<*mut root::JSObject>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -36281,7 +36246,7 @@ pub mod root {
root::nsCOMPtr<root::nsIGlobalObject> ) ));
}
#[test]
- fn __bindgen_test_layout_TenuredHeap_open0__bindgen_ty_id_252428_close0_instantiation() {
+ fn __bindgen_test_layout_TenuredHeap_open0__bindgen_ty_id_252502_close0_instantiation() {
assert_eq!(::std::mem::size_of::<root::JS::TenuredHeap>() , 8usize ,
concat ! (
"Size of template specialization: " , stringify ! (
@@ -36360,7 +36325,7 @@ pub mod root {
) ));
}
#[test]
- fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_253533_close0_instantiation() {
+ fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_253607_close0_instantiation() {
assert_eq!(::std::mem::size_of::<root::nsTArray<*mut root::nsISupports>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -36555,7 +36520,7 @@ pub mod root {
root::nsTArray<f64> ) ));
}
#[test]
- fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_254981_close0_instantiation() {
+ fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_255055_close0_instantiation() {
assert_eq!(::std::mem::size_of::<root::nsTArray<*mut root::mozilla::dom::Element>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -36660,7 +36625,7 @@ pub mod root {
root::nsRefPtrHashKey<root::nsIAtom> ) ));
}
#[test]
- fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_257410_close0_instantiation() {
+ fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_257463_close0_instantiation() {
assert_eq!(::std::mem::size_of::<root::nsTArray<*mut root::mozilla::CounterStyle>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -37361,7 +37326,7 @@ pub mod root {
root::RefPtr<root::nsStyleImageRequest> ) ));
}
#[test]
- fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_259968_close0_instantiation() {
+ fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_260021_close0_instantiation() {
assert_eq!(::std::mem::size_of::<root::nsTArray<*mut root::nsISupports>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -37598,7 +37563,7 @@ pub mod root {
root::nsCOMPtr<root::nsIURI> ) ));
}
#[test]
- fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_267780_close0_instantiation() {
+ fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_267833_close0_instantiation() {
assert_eq!(::std::mem::size_of::<root::nsTArray<*mut root::nsIContent>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -37609,7 +37574,7 @@ pub mod root {
root::nsTArray<*mut root::nsIContent> ) ));
}
#[test]
- fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_267785_close0_instantiation() {
+ fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_267838_close0_instantiation() {
assert_eq!(::std::mem::size_of::<root::nsTArray<*mut root::nsIContent>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -37697,7 +37662,7 @@ pub mod root {
root::RefPtr<root::mozilla::dom::ShadowRoot> ) ));
}
#[test]
- fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_267898_close0_instantiation() {
+ fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_267951_close0_instantiation() {
assert_eq!(::std::mem::size_of::<root::nsTArray<*mut root::nsIContent>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -37984,7 +37949,7 @@ pub mod root {
) ));
}
#[test]
- fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_269484_close0_instantiation() {
+ fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_269537_close0_instantiation() {
assert_eq!(::std::mem::size_of::<root::nsTArray<*mut root::nsIContent>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -38006,7 +37971,7 @@ pub mod root {
root::RefPtr<root::mozilla::dom::Element> ) ));
}
#[test]
- fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_269646_close0_instantiation() {
+ fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_269699_close0_instantiation() {
assert_eq!(::std::mem::size_of::<root::nsTArray<*mut root::nsIContent>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -38017,7 +37982,7 @@ pub mod root {
root::nsTArray<*mut root::nsIContent> ) ));
}
#[test]
- fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_269651_close0_instantiation() {
+ fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_269704_close0_instantiation() {
assert_eq!(::std::mem::size_of::<root::nsTArray<*mut root::nsIContent>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -38149,7 +38114,7 @@ pub mod root {
root::nsTArray<root::mozilla::gfx::FontVariation> ) ));
}
#[test]
- fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_272182_close0_instantiation() {
+ fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_272231_close0_instantiation() {
assert_eq!(::std::mem::size_of::<root::nsTArray<*mut root::mozilla::css::DocumentRule>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (
@@ -38160,7 +38125,7 @@ pub mod root {
root::nsTArray<*mut root::mozilla::css::DocumentRule> ) ));
}
#[test]
- fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_272190_close0_instantiation() {
+ fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_272239_close0_instantiation() {
assert_eq!(::std::mem::size_of::<root::nsTArray<*mut root::mozilla::css::DocumentRule>>()
, 8usize , concat ! (
"Size of template specialization: " , stringify ! (