Regenerate bindings.

This commit is contained in:
Cameron McCormack 2016-11-10 10:11:15 +08:00
parent 959dfe4a4f
commit 734b3dcace
3 changed files with 20 additions and 28 deletions

View file

@ -5546,7 +5546,7 @@ pub struct FragmentOrElement_nsDOMSlots {
/**
* Holds any SMIL override style declaration for this element.
*/
pub mSMILOverrideStyleDeclaration: RefPtr<Declaration>,
pub mSMILOverrideStyleDeclaration: RefPtr<DeclarationBlock>,
/**
* An object implementing nsIDOMMozNamedAttrMap for this content (attributes)
* @see FragmentOrElement::GetAttributes
@ -7410,6 +7410,14 @@ fn bindgen_test_layout_nsAttrName() {
assert_eq!(::std::mem::align_of::<nsAttrName>() , 8usize);
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct DeclarationBlock {
pub _address: u8,
}
impl Clone for DeclarationBlock {
fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Debug)]
pub struct URLValue {
pub _base: URLValueData,
@ -7559,14 +7567,6 @@ pub struct nsDOMStringMap {
impl Clone for nsDOMStringMap {
fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct Declaration {
pub _address: u8,
}
impl Clone for Declaration {
fn clone(&self) -> Self { *self }
}
/**
* Interface used for handling clicks on links
*/
@ -8904,7 +8904,7 @@ pub enum nsCSSPropertyID {
eCSSProperty_flex_grow = 106,
eCSSProperty_flex_shrink = 107,
eCSSProperty_flex_wrap = 108,
eCSSProperty_float = 109,
eCSSProperty_float_ = 109,
eCSSProperty_float_edge = 110,
eCSSProperty_flood_color = 111,
eCSSProperty_flood_opacity = 112,

View file

@ -5506,7 +5506,7 @@ pub struct FragmentOrElement_nsDOMSlots {
/**
* Holds any SMIL override style declaration for this element.
*/
pub mSMILOverrideStyleDeclaration: RefPtr<Declaration>,
pub mSMILOverrideStyleDeclaration: RefPtr<DeclarationBlock>,
/**
* An object implementing nsIDOMMozNamedAttrMap for this content (attributes)
* @see FragmentOrElement::GetAttributes
@ -7368,6 +7368,14 @@ fn bindgen_test_layout_nsAttrName() {
assert_eq!(::std::mem::align_of::<nsAttrName>() , 8usize);
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct DeclarationBlock {
pub _address: u8,
}
impl Clone for DeclarationBlock {
fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Debug)]
pub struct URLValue {
pub _base: URLValueData,
@ -7516,14 +7524,6 @@ pub struct nsDOMStringMap {
impl Clone for nsDOMStringMap {
fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct Declaration {
pub _address: u8,
}
impl Clone for Declaration {
fn clone(&self) -> Self { *self }
}
/**
* Interface used for handling clicks on links
*/
@ -8861,7 +8861,7 @@ pub enum nsCSSPropertyID {
eCSSProperty_flex_grow = 106,
eCSSProperty_flex_shrink = 107,
eCSSProperty_flex_wrap = 108,
eCSSProperty_float = 109,
eCSSProperty_float_ = 109,
eCSSProperty_float_edge = 110,
eCSSProperty_flood_color = 111,
eCSSProperty_flood_opacity = 112,

View file

@ -5348,8 +5348,6 @@ cfg_if! {
pub static nsCSSProps_marker_end: *mut nsICSSProperty;
#[link_name = "_ZN10nsCSSProps10marker_midE"]
pub static nsCSSProps_marker_mid: *mut nsICSSProperty;
#[link_name = "_ZN10nsCSSProps13marker_offsetE"]
pub static nsCSSProps_marker_offset: *mut nsICSSProperty;
#[link_name = "_ZN10nsCSSProps12marker_startE"]
pub static nsCSSProps_marker_start: *mut nsICSSProperty;
#[link_name = "_ZN10nsCSSProps4maskE"]
@ -10987,8 +10985,6 @@ cfg_if! {
pub static nsCSSProps_marker_end: *mut nsICSSProperty;
#[link_name = "?marker_mid@nsCSSProps@@2PEAVnsICSSProperty@@EA"]
pub static nsCSSProps_marker_mid: *mut nsICSSProperty;
#[link_name = "?marker_offset@nsCSSProps@@2PEAVnsICSSProperty@@EA"]
pub static nsCSSProps_marker_offset: *mut nsICSSProperty;
#[link_name = "?marker_start@nsCSSProps@@2PEAVnsICSSProperty@@EA"]
pub static nsCSSProps_marker_start: *mut nsICSSProperty;
#[link_name = "?mask@nsCSSProps@@2PEAVnsICSSProperty@@EA"]
@ -16626,8 +16622,6 @@ cfg_if! {
pub static nsCSSProps_marker_end: *mut nsICSSProperty;
#[link_name = "\x01?marker_mid@nsCSSProps@@2PAVnsICSSProperty@@A"]
pub static nsCSSProps_marker_mid: *mut nsICSSProperty;
#[link_name = "\x01?marker_offset@nsCSSProps@@2PAVnsICSSProperty@@A"]
pub static nsCSSProps_marker_offset: *mut nsICSSProperty;
#[link_name = "\x01?marker_start@nsCSSProps@@2PAVnsICSSProperty@@A"]
pub static nsCSSProps_marker_start: *mut nsICSSProperty;
#[link_name = "\x01?mask@nsCSSProps@@2PAVnsICSSProperty@@A"]
@ -22268,8 +22262,6 @@ macro_rules! atom {
{ unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsCSSProps_marker_end as *mut _) } };
("marker-mid") =>
{ unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsCSSProps_marker_mid as *mut _) } };
("marker-offset") =>
{ unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsCSSProps_marker_offset as *mut _) } };
("marker-start") =>
{ unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsCSSProps_marker_start as *mut _) } };
("mask") =>