Skip to content

Commit

Permalink
Regenerate bindings.
Browse files Browse the repository at this point in the history
  • Loading branch information
heycam committed Dec 22, 2016
1 parent e1f8637 commit 2f81e8d
Show file tree
Hide file tree
Showing 3 changed files with 126 additions and 76 deletions.
4 changes: 4 additions & 0 deletions components/style/gecko_bindings/bindings.rs
Expand Up @@ -1010,6 +1010,10 @@ extern "C" {
reference:
RawServoStyleSheetBorrowed);
}
extern "C" {
pub fn Servo_StyleSet_NoteStyleSheetsChanged(set:
RawServoStyleSetBorrowed);
}
extern "C" {
pub fn Servo_CssRules_ListTypes(rules: ServoCssRulesBorrowed,
result: nsTArrayBorrowed_uintptr_t);
Expand Down
99 changes: 61 additions & 38 deletions components/style/gecko_bindings/structs_debug.rs
Expand Up @@ -1614,6 +1614,14 @@ pub mod root {
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct TimeoutManager {
pub _address: u8,
}
impl Clone for TimeoutManager {
fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct PrefSetting {
pub _address: u8,
}
Expand Down Expand Up @@ -3740,6 +3748,12 @@ pub mod root {
NS_ERROR_DOM_MEDIA_CDM_ERR = 2154692621,
NS_ERROR_DOM_MEDIA_NEED_NEW_DECODER = 2154692622,
NS_ERROR_DOM_MEDIA_CUBEB_INITIALIZATION_ERR = 2154692709,
NS_ERROR_UC_UPDATE_UNKNOWN = 2154758145,
NS_ERROR_UC_UPDATE_DUPLICATE_PREFIX = 2154758146,
NS_ERROR_UC_UPDATE_INFINITE_LOOP = 2154758147,
NS_ERROR_UC_UPDATE_WRONG_REMOVAL_INDICES = 2154758148,
NS_ERROR_UC_UPDATE_CHECKSUM_MISMATCH = 2154758149,
NS_ERROR_UC_UPDATE_MISSING_CHECKSUM = 2154758150,
NS_ERROR_DOWNLOAD_COMPLETE = 2155347969,
NS_ERROR_DOWNLOAD_NOT_PARTIAL = 2155347970,
NS_ERROR_UNORM_MOREOUTPUT = 2155348001,
Expand Down Expand Up @@ -3871,6 +3885,7 @@ pub mod root {
pub struct Heap<T> {
pub ptr: T,
}
pub type Heap_ElementType<T> = T;
/**
* The TenuredHeap<T> class is similar to the Heap<T> class above in that it
* encapsulates the GC concerns of an on-heap reference to a JS object. However,
Expand Down Expand Up @@ -3906,9 +3921,10 @@ pub mod root {
pub bits: usize,
pub _phantom_0: ::std::marker::PhantomData<T>,
}
pub type TenuredHeap_ElementType<T> = T;
pub const TenuredHeap_maskBits: root::JS::TenuredHeap__bindgen_ty_1 =
TenuredHeap__bindgen_ty_1::maskBits;
pub const flagsMask: root::JS::TenuredHeap__bindgen_ty_1 =
pub const TenuredHeap_flagsMask: root::JS::TenuredHeap__bindgen_ty_1 =
TenuredHeap__bindgen_ty_1::maskBits;
#[repr(i32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
Expand Down Expand Up @@ -8223,9 +8239,9 @@ pub mod root {
nsIPresShell__bindgen_ty_1::SCROLL_TOP;
pub const nsIPresShell_SCROLL_BOTTOM: root::nsIPresShell__bindgen_ty_1 =
nsIPresShell__bindgen_ty_1::SCROLL_BOTTOM;
pub const SCROLL_LEFT: root::nsIPresShell__bindgen_ty_1 =
pub const nsIPresShell_SCROLL_LEFT: root::nsIPresShell__bindgen_ty_1 =
nsIPresShell__bindgen_ty_1::SCROLL_TOP;
pub const SCROLL_RIGHT: root::nsIPresShell__bindgen_ty_1 =
pub const nsIPresShell_SCROLL_RIGHT: root::nsIPresShell__bindgen_ty_1 =
nsIPresShell__bindgen_ty_1::SCROLL_BOTTOM;
pub const nsIPresShell_SCROLL_CENTER: root::nsIPresShell__bindgen_ty_1 =
nsIPresShell__bindgen_ty_1::SCROLL_CENTER;
Expand Down Expand Up @@ -10764,8 +10780,8 @@ pub mod root {
eCSSProperty_mask_repeat = 181,
eCSSProperty_mask_size = 182,
eCSSProperty_mask_type = 183,
eCSSProperty_math_display = 184,
eCSSProperty_math_variant = 185,
eCSSProperty__moz_math_display = 184,
eCSSProperty__moz_math_variant = 185,
eCSSProperty_max_block_size = 186,
eCSSProperty_max_height = 187,
eCSSProperty_max_inline_size = 188,
Expand Down Expand Up @@ -10818,9 +10834,9 @@ pub mod root {
eCSSProperty_right = 235,
eCSSProperty_ruby_align = 236,
eCSSProperty_ruby_position = 237,
eCSSProperty_script_level = 238,
eCSSProperty_script_min_size = 239,
eCSSProperty_script_size_multiplier = 240,
eCSSProperty__moz_script_level = 238,
eCSSProperty__moz_script_min_size = 239,
eCSSProperty__moz_script_size_multiplier = 240,
eCSSProperty_scroll_behavior = 241,
eCSSProperty_scroll_snap_coordinate = 242,
eCSSProperty_scroll_snap_destination = 243,
Expand Down Expand Up @@ -13067,133 +13083,140 @@ pub mod root {
}
#[test]
fn __bindgen_test_layout_template_17() {
assert_eq!(::std::mem::size_of::<root::mozilla::DefaultDelete<root::mozilla::dom::TimeoutManager>>()
, 1usize);
assert_eq!(::std::mem::align_of::<root::mozilla::DefaultDelete<root::mozilla::dom::TimeoutManager>>()
, 1usize);
}
#[test]
fn __bindgen_test_layout_template_18() {
assert_eq!(::std::mem::size_of::<root::RefPtr<root::mozilla::dom::Element>>()
, 8usize);
assert_eq!(::std::mem::align_of::<root::RefPtr<root::mozilla::dom::Element>>()
, 8usize);
}
#[test]
fn __bindgen_test_layout_template_18() {
fn __bindgen_test_layout_template_19() {
assert_eq!(::std::mem::size_of::<root::nsTArray<root::RefPtr<root::mozilla::dom::Element>>>()
, 8usize);
assert_eq!(::std::mem::align_of::<root::nsTArray<root::RefPtr<root::mozilla::dom::Element>>>()
, 8usize);
}
#[test]
fn __bindgen_test_layout_template_19() {
fn __bindgen_test_layout_template_20() {
assert_eq!(::std::mem::size_of::<root::nsCOMPtr<root::nsIObserver>>()
, 8usize);
assert_eq!(::std::mem::align_of::<root::nsCOMPtr<root::nsIObserver>>()
, 8usize);
}
#[test]
fn __bindgen_test_layout_template_20() {
fn __bindgen_test_layout_template_21() {
assert_eq!(::std::mem::size_of::<root::nsCOMPtr<root::nsIWeakReference>>()
, 8usize);
assert_eq!(::std::mem::align_of::<root::nsCOMPtr<root::nsIWeakReference>>()
, 8usize);
}
#[test]
fn __bindgen_test_layout_template_21() {
fn __bindgen_test_layout_template_22() {
assert_eq!(::std::mem::size_of::<root::nsTArray<*mut root::nsIContent>>()
, 8usize);
assert_eq!(::std::mem::align_of::<root::nsTArray<*mut root::nsIContent>>()
, 8usize);
}
#[test]
fn __bindgen_test_layout_template_22() {
fn __bindgen_test_layout_template_23() {
assert_eq!(::std::mem::size_of::<root::nsTArray<::nsstring::nsStringRepr>>() ,
8usize);
assert_eq!(::std::mem::align_of::<root::nsTArray<::nsstring::nsStringRepr>>() ,
8usize);
}
#[test]
fn __bindgen_test_layout_template_23() {
fn __bindgen_test_layout_template_24() {
assert_eq!(::std::mem::size_of::<root::nsCOMPtr<root::nsIRunnable>>()
, 8usize);
assert_eq!(::std::mem::align_of::<root::nsCOMPtr<root::nsIRunnable>>()
, 8usize);
}
#[test]
fn __bindgen_test_layout_template_24() {
fn __bindgen_test_layout_template_25() {
assert_eq!(::std::mem::size_of::<root::mozilla::OwningNonNull<root::nsINode>>()
, 16usize);
assert_eq!(::std::mem::align_of::<root::mozilla::OwningNonNull<root::nsINode>>()
, 8usize);
}
#[test]
fn __bindgen_test_layout_template_25() {
fn __bindgen_test_layout_template_26() {
assert_eq!(::std::mem::size_of::<root::nsTArray<f64>>() , 8usize);
assert_eq!(::std::mem::align_of::<root::nsTArray<f64>>() , 8usize);
}
#[test]
fn __bindgen_test_layout_template_26() {
fn __bindgen_test_layout_template_27() {
assert_eq!(::std::mem::size_of::<root::RefPtr<root::mozilla::dom::DOMIntersectionObserverEntry>>()
, 8usize);
assert_eq!(::std::mem::align_of::<root::RefPtr<root::mozilla::dom::DOMIntersectionObserverEntry>>()
, 8usize);
}
#[test]
fn __bindgen_test_layout_template_27() {
fn __bindgen_test_layout_template_28() {
assert_eq!(::std::mem::size_of::<root::nsTArray<root::RefPtr<root::mozilla::dom::DOMIntersectionObserverEntry>>>()
, 8usize);
assert_eq!(::std::mem::align_of::<root::nsTArray<root::RefPtr<root::mozilla::dom::DOMIntersectionObserverEntry>>>()
, 8usize);
}
#[test]
fn __bindgen_test_layout_template_28() {
fn __bindgen_test_layout_template_29() {
assert_eq!(::std::mem::size_of::<root::nsMainThreadPtrHolder<root::nsIURI>>()
, 24usize);
assert_eq!(::std::mem::align_of::<root::nsMainThreadPtrHolder<root::nsIURI>>()
, 8usize);
}
#[test]
fn __bindgen_test_layout_template_30() {
assert_eq!(::std::mem::size_of::<root::nsMainThreadPtrHolder<root::nsIPrincipal>>()
, 24usize);
assert_eq!(::std::mem::align_of::<root::nsMainThreadPtrHolder<root::nsIPrincipal>>()
, 8usize);
}
#[test]
fn __bindgen_test_layout_template_31() {
assert_eq!(::std::mem::size_of::<root::nsTArray<root::mozilla::DisplayItemClip_RoundedRect>>()
, 8usize);
assert_eq!(::std::mem::align_of::<root::nsTArray<root::mozilla::DisplayItemClip_RoundedRect>>()
, 8usize);
}
#[test]
fn __bindgen_test_layout_template_29() {
fn __bindgen_test_layout_template_32() {
assert_eq!(::std::mem::size_of::<root::RefPtr<root::mozilla::dom::DOMRect>>()
, 8usize);
assert_eq!(::std::mem::align_of::<root::RefPtr<root::mozilla::dom::DOMRect>>()
, 8usize);
}
#[test]
fn __bindgen_test_layout_template_30() {
fn __bindgen_test_layout_template_33() {
assert_eq!(::std::mem::size_of::<root::mozilla::DefaultDelete<root::ProxyBehaviour>>()
, 1usize);
assert_eq!(::std::mem::align_of::<root::mozilla::DefaultDelete<root::ProxyBehaviour>>()
, 1usize);
}
#[test]
fn __bindgen_test_layout_template_31() {
fn __bindgen_test_layout_template_34() {
assert_eq!(::std::mem::size_of::<root::mozilla::DefaultDelete<root::nsStyleSides>>()
, 1usize);
assert_eq!(::std::mem::align_of::<root::mozilla::DefaultDelete<root::nsStyleSides>>()
, 1usize);
}
#[test]
fn __bindgen_test_layout_template_32() {
fn __bindgen_test_layout_template_35() {
assert_eq!(::std::mem::size_of::<root::mozilla::DefaultDelete<root::CachedBorderImageData>>()
, 1usize);
assert_eq!(::std::mem::align_of::<root::mozilla::DefaultDelete<root::CachedBorderImageData>>()
, 1usize);
}
#[test]
fn __bindgen_test_layout_template_33() {
fn __bindgen_test_layout_template_36() {
assert_eq!(::std::mem::size_of::<root::std::pair<::nsstring::nsStringRepr, ::nsstring::nsStringRepr>>()
, 32usize);
assert_eq!(::std::mem::align_of::<root::std::pair<::nsstring::nsStringRepr, ::nsstring::nsStringRepr>>()
, 8usize);
}
#[test]
fn __bindgen_test_layout_template_34() {
assert_eq!(::std::mem::size_of::<root::nsMainThreadPtrHolder<root::nsIPrincipal>>()
, 24usize);
assert_eq!(::std::mem::align_of::<root::nsMainThreadPtrHolder<root::nsIPrincipal>>()
, 8usize);
}
#[test]
fn __bindgen_test_layout_template_35() {
assert_eq!(::std::mem::size_of::<root::nsMainThreadPtrHolder<root::nsIURI>>()
, 24usize);
assert_eq!(::std::mem::align_of::<root::nsMainThreadPtrHolder<root::nsIURI>>()
, 8usize);
}
}

0 comments on commit 2f81e8d

Please sign in to comment.