style: Update bindings.

This commit is contained in:
Emilio Cobos Álvarez 2018-01-17 16:36:46 +01:00
parent 665690bba6
commit 3cd4f5780f
No known key found for this signature in database
GPG key ID: 056B727BB9C1027C
3 changed files with 3 additions and 15 deletions

View file

@ -2216,8 +2216,6 @@ cfg_if! {
pub static nsGkAtoms_prefix: *mut nsStaticAtom;
#[link_name = "_ZN9nsGkAtoms7preloadE"]
pub static nsGkAtoms_preload: *mut nsStaticAtom;
#[link_name = "_ZN9nsGkAtoms11prerenderedE"]
pub static nsGkAtoms_prerendered: *mut nsStaticAtom;
#[link_name = "_ZN9nsGkAtoms15mozpresentationE"]
pub static nsGkAtoms_mozpresentation: *mut nsStaticAtom;
#[link_name = "_ZN9nsGkAtoms8preserveE"]
@ -7391,8 +7389,6 @@ cfg_if! {
pub static nsGkAtoms_prefix: *mut nsStaticAtom;
#[link_name = "?preload@nsGkAtoms@@2PEAVnsStaticAtom@@EA"]
pub static nsGkAtoms_preload: *mut nsStaticAtom;
#[link_name = "?prerendered@nsGkAtoms@@2PEAVnsStaticAtom@@EA"]
pub static nsGkAtoms_prerendered: *mut nsStaticAtom;
#[link_name = "?mozpresentation@nsGkAtoms@@2PEAVnsStaticAtom@@EA"]
pub static nsGkAtoms_mozpresentation: *mut nsStaticAtom;
#[link_name = "?preserve@nsGkAtoms@@2PEAVnsStaticAtom@@EA"]
@ -12566,8 +12562,6 @@ cfg_if! {
pub static nsGkAtoms_prefix: *mut nsStaticAtom;
#[link_name = "\x01?preload@nsGkAtoms@@2PAVnsStaticAtom@@A"]
pub static nsGkAtoms_preload: *mut nsStaticAtom;
#[link_name = "\x01?prerendered@nsGkAtoms@@2PAVnsStaticAtom@@A"]
pub static nsGkAtoms_prerendered: *mut nsStaticAtom;
#[link_name = "\x01?mozpresentation@nsGkAtoms@@2PAVnsStaticAtom@@A"]
pub static nsGkAtoms_mozpresentation: *mut nsStaticAtom;
#[link_name = "\x01?preserve@nsGkAtoms@@2PAVnsStaticAtom@@A"]
@ -17744,8 +17738,6 @@ macro_rules! atom {
{{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_prefix as *mut _) } }};
("preload") =>
{{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_preload as *mut _) } }};
("prerendered") =>
{{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_prerendered as *mut _) } }};
("mozpresentation") =>
{{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_mozpresentation as *mut _) } }};
("preserve") =>

View file

@ -501,8 +501,6 @@ extern "C" {
pub fn Servo_SourceSizeList_Drop ( ptr : RawServoSourceSizeListOwned , ) ;
} extern "C" {
pub fn Gecko_RecordTraversalStatistics ( total : u32 , parallel : u32 , total_t : u32 , parallel_t : u32 , total_s : u32 , parallel_s : u32 , ) ;
} extern "C" {
pub fn Gecko_IsInDocument ( node : RawGeckoNodeBorrowed , ) -> bool ;
} extern "C" {
pub fn Gecko_IsSignificantChild ( node : RawGeckoNodeBorrowed , text_is_significant : bool , whitespace_is_significant : bool , ) -> bool ;
} extern "C" {
@ -753,8 +751,6 @@ extern "C" {
pub fn Gecko_CalcStyleDifference ( old_style : ServoStyleContextBorrowed , new_style : ServoStyleContextBorrowed , any_style_changed : * mut bool , reset_only_changed : * mut bool , ) -> u32 ;
} extern "C" {
pub fn Gecko_GetElementSnapshot ( table : * const ServoElementSnapshotTable , element : RawGeckoElementBorrowed , ) -> * const ServoElementSnapshot ;
} extern "C" {
pub fn Gecko_DropElementSnapshot ( snapshot : ServoElementSnapshotOwned , ) ;
} extern "C" {
pub fn Gecko_HaveSeenPtr ( table : * mut SeenPtrs , ptr : * const :: std :: os :: raw :: c_void , ) -> bool ;
} extern "C" {
@ -977,8 +973,6 @@ extern "C" {
pub fn Gecko_IsDocumentBody ( element : RawGeckoElementBorrowed , ) -> bool ;
} extern "C" {
pub fn Gecko_GetLookAndFeelSystemColor ( color_id : i32 , pres_context : RawGeckoPresContextBorrowed , ) -> nscolor ;
} extern "C" {
pub fn Gecko_MatchStringArgPseudo ( element : RawGeckoElementBorrowed , type_ : CSSPseudoClassType , ident : * const u16 , ) -> bool ;
} extern "C" {
pub fn Gecko_AddPropertyToSet ( arg1 : nsCSSPropertyIDSetBorrowedMut , arg2 : nsCSSPropertyID , ) ;
} extern "C" {
@ -1157,6 +1151,8 @@ extern "C" {
pub fn Servo_Element_IsDisplayNone ( element : RawGeckoElementBorrowed , ) -> bool ;
} extern "C" {
pub fn Servo_Element_IsPrimaryStyleReusedViaRuleNode ( element : RawGeckoElementBorrowed , ) -> bool ;
} extern "C" {
pub fn Servo_InvalidateStyleForDocStateChanges ( root : RawGeckoElementBorrowed , sets : * const nsTArray < RawServoStyleSetBorrowed > , aStatesChanged : u64 , ) ;
} extern "C" {
pub fn Servo_StyleSheet_FromUTF8Bytes ( loader : * mut Loader , gecko_stylesheet : * mut ServoStyleSheet , data : * const u8 , data_len : usize , parsing_mode : SheetParsingMode , extra_data : * mut RawGeckoURLExtraData , line_number_offset : u32 , quirks_mode : nsCompatibility , reusable_sheets : * mut LoaderReusableStyleSheets , ) -> RawServoStyleSheetContentsStrong ;
} extern "C" {

File diff suppressed because one or more lines are too long