Refactor geckolib atoms regen script

This commit is contained in:
Ravi Shankar 2016-09-28 15:02:47 +05:30 committed by Manish Goregaokar
parent c834e57f4d
commit fa06b922c7
2 changed files with 73 additions and 49 deletions

View file

@ -3,21 +3,21 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
/* Autogenerated file, DO NOT EDIT DIRECTLY */
use gecko_bindings::structs::nsIAtom;
use gecko_bindings::structs::nsIAtom;
use string_cache::Atom;
pub enum nsICSSPseudoElement {}
pub enum nsICSSAnonBoxPseudo {}
#[inline(always)] pub fn unsafe_atom_from_static(ptr: *mut nsIAtom) -> Atom {
unsafe { Atom::from_static(ptr) }
}
#[inline(always)]
pub fn unsafe_atom_from_static(ptr: *mut nsIAtom) -> Atom {
unsafe { Atom::from_static(ptr) }
}
cfg_if! {
cfg_if! {
if #[cfg(not(target_env = "msvc"))] {
extern {
#[link_name = "_ZN9nsGkAtoms6_emptyE"]