Skip to content

Commit

Permalink
style: Re-import generated Gecko bindings.
Browse files Browse the repository at this point in the history
  • Loading branch information
mstange authored and emilio committed Sep 14, 2017
1 parent d638018 commit 82012cb
Show file tree
Hide file tree
Showing 4 changed files with 2,040 additions and 4,661 deletions.
8 changes: 8 additions & 0 deletions components/style/gecko/generated/atom_macro.rs
Expand Up @@ -1798,6 +1798,8 @@ cfg_if! {
pub static nsGkAtoms_only: *mut nsIAtom;
#[link_name = "_ZN9nsGkAtoms9onmessageE"]
pub static nsGkAtoms_onmessage: *mut nsIAtom;
#[link_name = "_ZN9nsGkAtoms14onmessageerrorE"]
pub static nsGkAtoms_onmessageerror: *mut nsIAtom;
#[link_name = "_ZN9nsGkAtoms11onmousedownE"]
pub static nsGkAtoms_onmousedown: *mut nsIAtom;
#[link_name = "_ZN9nsGkAtoms12onmouseenterE"]
Expand Down Expand Up @@ -6961,6 +6963,8 @@ cfg_if! {
pub static nsGkAtoms_only: *mut nsIAtom;
#[link_name = "?onmessage@nsGkAtoms@@2PEAVnsIAtom@@EA"]
pub static nsGkAtoms_onmessage: *mut nsIAtom;
#[link_name = "?onmessageerror@nsGkAtoms@@2PEAVnsIAtom@@EA"]
pub static nsGkAtoms_onmessageerror: *mut nsIAtom;
#[link_name = "?onmousedown@nsGkAtoms@@2PEAVnsIAtom@@EA"]
pub static nsGkAtoms_onmousedown: *mut nsIAtom;
#[link_name = "?onmouseenter@nsGkAtoms@@2PEAVnsIAtom@@EA"]
Expand Down Expand Up @@ -12124,6 +12128,8 @@ cfg_if! {
pub static nsGkAtoms_only: *mut nsIAtom;
#[link_name = "\x01?onmessage@nsGkAtoms@@2PAVnsIAtom@@A"]
pub static nsGkAtoms_onmessage: *mut nsIAtom;
#[link_name = "\x01?onmessageerror@nsGkAtoms@@2PAVnsIAtom@@A"]
pub static nsGkAtoms_onmessageerror: *mut nsIAtom;
#[link_name = "\x01?onmousedown@nsGkAtoms@@2PAVnsIAtom@@A"]
pub static nsGkAtoms_onmousedown: *mut nsIAtom;
#[link_name = "\x01?onmouseenter@nsGkAtoms@@2PAVnsIAtom@@A"]
Expand Down Expand Up @@ -17290,6 +17296,8 @@ macro_rules! atom {
{ unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_only as *mut _) } };
("onmessage") =>
{ unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onmessage as *mut _) } };
("onmessageerror") =>
{ unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onmessageerror as *mut _) } };
("onmousedown") =>
{ unsafe { $crate::string_cache::atom_macro::atom_from_static($crate::string_cache::atom_macro::nsGkAtoms_onmousedown as *mut _) } };
("onmouseenter") =>
Expand Down
4 changes: 4 additions & 0 deletions components/style/gecko/generated/bindings.rs
Expand Up @@ -2956,6 +2956,10 @@ extern "C" {
snapshots:
*const ServoElementSnapshotTable);
}
extern "C" {
pub fn Servo_HasPendingRestyleAncestor(element: RawGeckoElementBorrowed)
-> bool;
}
extern "C" {
pub fn Gecko_CreateCSSErrorReporter(sheet: *mut ServoStyleSheet,
loader: *mut Loader, uri: *mut nsIURI)
Expand Down

0 comments on commit 82012cb

Please sign in to comment.