style: Update bindings.

This commit is contained in:
Emilio Cobos Álvarez 2018-01-08 11:30:33 +01:00
parent 26c7d307b7
commit bfc91c5e12
No known key found for this signature in database
GPG key ID: 056B727BB9C1027C
3 changed files with 67 additions and 89 deletions

View file

@ -2276,8 +2276,6 @@ cfg_if! {
pub static nsGkAtoms_rect: *mut nsStaticAtom;
#[link_name = "_ZN9nsGkAtoms9rectangleE"]
pub static nsGkAtoms_rectangle: *mut nsStaticAtom;
#[link_name = "_ZN9nsGkAtoms3refE"]
pub static nsGkAtoms_ref: *mut nsStaticAtom;
#[link_name = "_ZN9nsGkAtoms7refreshE"]
pub static nsGkAtoms_refresh: *mut nsStaticAtom;
#[link_name = "_ZN9nsGkAtoms3relE"]
@ -2312,8 +2310,6 @@ cfg_if! {
pub static nsGkAtoms_resizer: *mut nsStaticAtom;
#[link_name = "_ZN9nsGkAtoms10resolutionE"]
pub static nsGkAtoms_resolution: *mut nsStaticAtom;
#[link_name = "_ZN9nsGkAtoms8resourceE"]
pub static nsGkAtoms_resource: *mut nsStaticAtom;
#[link_name = "_ZN9nsGkAtoms9resourcesE"]
pub static nsGkAtoms_resources: *mut nsStaticAtom;
#[link_name = "_ZN9nsGkAtoms6resultE"]
@ -2486,14 +2482,6 @@ cfg_if! {
pub static nsGkAtoms_sorthints: *mut nsStaticAtom;
#[link_name = "_ZN9nsGkAtoms10sortLockedE"]
pub static nsGkAtoms_sortLocked: *mut nsStaticAtom;
#[link_name = "_ZN9nsGkAtoms12sortResourceE"]
pub static nsGkAtoms_sortResource: *mut nsStaticAtom;
#[link_name = "_ZN9nsGkAtoms13sortResource2E"]
pub static nsGkAtoms_sortResource2: *mut nsStaticAtom;
#[link_name = "_ZN9nsGkAtoms14sortSeparatorsE"]
pub static nsGkAtoms_sortSeparators: *mut nsStaticAtom;
#[link_name = "_ZN9nsGkAtoms15sortStaticsLastE"]
pub static nsGkAtoms_sortStaticsLast: *mut nsStaticAtom;
#[link_name = "_ZN9nsGkAtoms6sourceE"]
pub static nsGkAtoms_source: *mut nsStaticAtom;
#[link_name = "_ZN9nsGkAtoms5spaceE"]
@ -4374,8 +4362,8 @@ cfg_if! {
pub static nsGkAtoms_AsyncScrollLayerCreationFailed: *mut nsStaticAtom;
#[link_name = "_ZN9nsGkAtoms19forcemessagemanagerE"]
pub static nsGkAtoms_forcemessagemanager: *mut nsStaticAtom;
#[link_name = "_ZN9nsGkAtoms16isPreloadBrowserE"]
pub static nsGkAtoms_isPreloadBrowser: *mut nsStaticAtom;
#[link_name = "_ZN9nsGkAtoms14preloadedStateE"]
pub static nsGkAtoms_preloadedState: *mut nsStaticAtom;
#[link_name = "_ZN9nsGkAtoms24scrollbar_start_backwardE"]
pub static nsGkAtoms_scrollbar_start_backward: *mut nsStaticAtom;
#[link_name = "_ZN9nsGkAtoms23scrollbar_start_forwardE"]
@ -7463,8 +7451,6 @@ cfg_if! {
pub static nsGkAtoms_rect: *mut nsStaticAtom;
#[link_name = "?rectangle@nsGkAtoms@@2PEAVnsStaticAtom@@EA"]
pub static nsGkAtoms_rectangle: *mut nsStaticAtom;
#[link_name = "?ref@nsGkAtoms@@2PEAVnsStaticAtom@@EA"]
pub static nsGkAtoms_ref: *mut nsStaticAtom;
#[link_name = "?refresh@nsGkAtoms@@2PEAVnsStaticAtom@@EA"]
pub static nsGkAtoms_refresh: *mut nsStaticAtom;
#[link_name = "?rel@nsGkAtoms@@2PEAVnsStaticAtom@@EA"]
@ -7499,8 +7485,6 @@ cfg_if! {
pub static nsGkAtoms_resizer: *mut nsStaticAtom;
#[link_name = "?resolution@nsGkAtoms@@2PEAVnsStaticAtom@@EA"]
pub static nsGkAtoms_resolution: *mut nsStaticAtom;
#[link_name = "?resource@nsGkAtoms@@2PEAVnsStaticAtom@@EA"]
pub static nsGkAtoms_resource: *mut nsStaticAtom;
#[link_name = "?resources@nsGkAtoms@@2PEAVnsStaticAtom@@EA"]
pub static nsGkAtoms_resources: *mut nsStaticAtom;
#[link_name = "?result@nsGkAtoms@@2PEAVnsStaticAtom@@EA"]
@ -7673,14 +7657,6 @@ cfg_if! {
pub static nsGkAtoms_sorthints: *mut nsStaticAtom;
#[link_name = "?sortLocked@nsGkAtoms@@2PEAVnsStaticAtom@@EA"]
pub static nsGkAtoms_sortLocked: *mut nsStaticAtom;
#[link_name = "?sortResource@nsGkAtoms@@2PEAVnsStaticAtom@@EA"]
pub static nsGkAtoms_sortResource: *mut nsStaticAtom;
#[link_name = "?sortResource2@nsGkAtoms@@2PEAVnsStaticAtom@@EA"]
pub static nsGkAtoms_sortResource2: *mut nsStaticAtom;
#[link_name = "?sortSeparators@nsGkAtoms@@2PEAVnsStaticAtom@@EA"]
pub static nsGkAtoms_sortSeparators: *mut nsStaticAtom;
#[link_name = "?sortStaticsLast@nsGkAtoms@@2PEAVnsStaticAtom@@EA"]
pub static nsGkAtoms_sortStaticsLast: *mut nsStaticAtom;
#[link_name = "?source@nsGkAtoms@@2PEAVnsStaticAtom@@EA"]
pub static nsGkAtoms_source: *mut nsStaticAtom;
#[link_name = "?space@nsGkAtoms@@2PEAVnsStaticAtom@@EA"]
@ -9561,8 +9537,8 @@ cfg_if! {
pub static nsGkAtoms_AsyncScrollLayerCreationFailed: *mut nsStaticAtom;
#[link_name = "?forcemessagemanager@nsGkAtoms@@2PEAVnsStaticAtom@@EA"]
pub static nsGkAtoms_forcemessagemanager: *mut nsStaticAtom;
#[link_name = "?isPreloadBrowser@nsGkAtoms@@2PEAVnsStaticAtom@@EA"]
pub static nsGkAtoms_isPreloadBrowser: *mut nsStaticAtom;
#[link_name = "?preloadedState@nsGkAtoms@@2PEAVnsStaticAtom@@EA"]
pub static nsGkAtoms_preloadedState: *mut nsStaticAtom;
#[link_name = "?scrollbar_start_backward@nsGkAtoms@@2PEAVnsStaticAtom@@EA"]
pub static nsGkAtoms_scrollbar_start_backward: *mut nsStaticAtom;
#[link_name = "?scrollbar_start_forward@nsGkAtoms@@2PEAVnsStaticAtom@@EA"]
@ -12650,8 +12626,6 @@ cfg_if! {
pub static nsGkAtoms_rect: *mut nsStaticAtom;
#[link_name = "\x01?rectangle@nsGkAtoms@@2PAVnsStaticAtom@@A"]
pub static nsGkAtoms_rectangle: *mut nsStaticAtom;
#[link_name = "\x01?ref@nsGkAtoms@@2PAVnsStaticAtom@@A"]
pub static nsGkAtoms_ref: *mut nsStaticAtom;
#[link_name = "\x01?refresh@nsGkAtoms@@2PAVnsStaticAtom@@A"]
pub static nsGkAtoms_refresh: *mut nsStaticAtom;
#[link_name = "\x01?rel@nsGkAtoms@@2PAVnsStaticAtom@@A"]
@ -12686,8 +12660,6 @@ cfg_if! {
pub static nsGkAtoms_resizer: *mut nsStaticAtom;
#[link_name = "\x01?resolution@nsGkAtoms@@2PAVnsStaticAtom@@A"]
pub static nsGkAtoms_resolution: *mut nsStaticAtom;
#[link_name = "\x01?resource@nsGkAtoms@@2PAVnsStaticAtom@@A"]
pub static nsGkAtoms_resource: *mut nsStaticAtom;
#[link_name = "\x01?resources@nsGkAtoms@@2PAVnsStaticAtom@@A"]
pub static nsGkAtoms_resources: *mut nsStaticAtom;
#[link_name = "\x01?result@nsGkAtoms@@2PAVnsStaticAtom@@A"]
@ -12860,14 +12832,6 @@ cfg_if! {
pub static nsGkAtoms_sorthints: *mut nsStaticAtom;
#[link_name = "\x01?sortLocked@nsGkAtoms@@2PAVnsStaticAtom@@A"]
pub static nsGkAtoms_sortLocked: *mut nsStaticAtom;
#[link_name = "\x01?sortResource@nsGkAtoms@@2PAVnsStaticAtom@@A"]
pub static nsGkAtoms_sortResource: *mut nsStaticAtom;
#[link_name = "\x01?sortResource2@nsGkAtoms@@2PAVnsStaticAtom@@A"]
pub static nsGkAtoms_sortResource2: *mut nsStaticAtom;
#[link_name = "\x01?sortSeparators@nsGkAtoms@@2PAVnsStaticAtom@@A"]
pub static nsGkAtoms_sortSeparators: *mut nsStaticAtom;
#[link_name = "\x01?sortStaticsLast@nsGkAtoms@@2PAVnsStaticAtom@@A"]
pub static nsGkAtoms_sortStaticsLast: *mut nsStaticAtom;
#[link_name = "\x01?source@nsGkAtoms@@2PAVnsStaticAtom@@A"]
pub static nsGkAtoms_source: *mut nsStaticAtom;
#[link_name = "\x01?space@nsGkAtoms@@2PAVnsStaticAtom@@A"]
@ -14748,8 +14712,8 @@ cfg_if! {
pub static nsGkAtoms_AsyncScrollLayerCreationFailed: *mut nsStaticAtom;
#[link_name = "\x01?forcemessagemanager@nsGkAtoms@@2PAVnsStaticAtom@@A"]
pub static nsGkAtoms_forcemessagemanager: *mut nsStaticAtom;
#[link_name = "\x01?isPreloadBrowser@nsGkAtoms@@2PAVnsStaticAtom@@A"]
pub static nsGkAtoms_isPreloadBrowser: *mut nsStaticAtom;
#[link_name = "\x01?preloadedState@nsGkAtoms@@2PAVnsStaticAtom@@A"]
pub static nsGkAtoms_preloadedState: *mut nsStaticAtom;
#[link_name = "\x01?scrollbar_start_backward@nsGkAtoms@@2PAVnsStaticAtom@@A"]
pub static nsGkAtoms_scrollbar_start_backward: *mut nsStaticAtom;
#[link_name = "\x01?scrollbar_start_forward@nsGkAtoms@@2PAVnsStaticAtom@@A"]
@ -17840,8 +17804,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_rect as *mut _) } }};
("rectangle") =>
{{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_rectangle as *mut _) } }};
("ref") =>
{{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_ref as *mut _) } }};
("refresh") =>
{{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_refresh as *mut _) } }};
("rel") =>
@ -17876,8 +17838,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_resizer as *mut _) } }};
("resolution") =>
{{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_resolution as *mut _) } }};
("resource") =>
{{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_resource as *mut _) } }};
("resources") =>
{{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_resources as *mut _) } }};
("result") =>
@ -18050,14 +18010,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_sorthints as *mut _) } }};
("sortLocked") =>
{{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_sortLocked as *mut _) } }};
("sortResource") =>
{{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_sortResource as *mut _) } }};
("sortResource2") =>
{{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_sortResource2 as *mut _) } }};
("sortSeparators") =>
{{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_sortSeparators as *mut _) } }};
("sortStaticsLast") =>
{{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_sortStaticsLast as *mut _) } }};
("source") =>
{{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_source as *mut _) } }};
("space") =>
@ -19938,8 +19890,8 @@ macro_rules! atom {
{{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_AsyncScrollLayerCreationFailed as *mut _) } }};
("forcemessagemanager") =>
{{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_forcemessagemanager as *mut _) } }};
("isPreloadBrowser") =>
{{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_isPreloadBrowser as *mut _) } }};
("preloadedState") =>
{{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_preloadedState as *mut _) } }};
("scrollbar-start-backward") =>
{{ #[allow(unsafe_code)] #[allow(unused_unsafe)]unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_scrollbar_start_backward as *mut _) } }};
("scrollbar-start-forward") =>

View file

@ -1597,4 +1597,4 @@ extern "C" {
pub fn Gecko_GetElementsWithId ( aDocument : * const nsIDocument , aId : * mut nsAtom , ) -> * const nsTArray < * mut Element > ;
} extern "C" {
pub fn Gecko_GetBoolPrefValue ( pref_name : * const :: std :: os :: raw :: c_char , ) -> bool ;
}
}

File diff suppressed because one or more lines are too long