servo/components/style/gecko_bindings/structs_debug.rs
author Cameron McCormack <cam@mcc.id.au>
Mon, 21 Nov 2016 05:49:05 -0600
changeset 340188 880a28f39fcd54bb5b2b2ad2e5fcaac78b925e4e
parent 340157 08012d65dba49870c76553dfb1d30250b37f9496
child 340192 ad973d89dae31942d6e0a48d899b057537fd4551
permissions -rw-r--r--
servo: Merge #14055 - support cursor property url() values in stylo (from heycam:cursor); r=Manishearth <!-- Please describe your changes on the following line: --> This is the Servo-side change for [bug 1310560](https://bugzilla.mozilla.org/show_bug.cgi?id=1310560), which @Manishearth has already r+ed. --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [ ] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [ ] These changes fix #__ (github issue number if applicable). <!-- Either: --> - [ ] There are tests for these changes OR - [ ] These changes do not require tests because _____ <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> Source-Repo: https://github.com/servo/servo Source-Revision: eb531c15d990391f73f3a1030b103dfc3e023427

/* automatically generated by rust-bindgen */

use atomic_refcell::AtomicRefCell;
use data::ElementData;
pub use nsstring::nsStringRepr as nsString;
pub type ServoUnsafeCell<T> = ::std::cell::UnsafeCell<T>;
pub type ServoCell<T> = ::std::cell::Cell<T>;
pub type ServoNodeData = AtomicRefCell<ElementData>;

#[repr(C)]
pub struct __BindgenUnionField<T>(::std::marker::PhantomData<T>);
impl <T> __BindgenUnionField<T> {
    #[inline]
    pub fn new() -> Self { __BindgenUnionField(::std::marker::PhantomData) }
    #[inline]
    pub unsafe fn as_ref(&self) -> &T { ::std::mem::transmute(self) }
    #[inline]
    pub unsafe fn as_mut(&mut self) -> &mut T { ::std::mem::transmute(self) }
}
impl <T> ::std::default::Default for __BindgenUnionField<T> {
    #[inline]
    fn default() -> Self { Self::new() }
}
impl <T> ::std::clone::Clone for __BindgenUnionField<T> {
    #[inline]
    fn clone(&self) -> Self { Self::new() }
}
impl <T> ::std::marker::Copy for __BindgenUnionField<T> { }
impl <T> ::std::fmt::Debug for __BindgenUnionField<T> {
    fn fmt(&self, fmt: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
        fmt.write_str("__BindgenUnionField")
    }
}
pub const NS_FONT_STYLE_NORMAL: ::std::os::raw::c_uint = 0;
pub const NS_FONT_STYLE_ITALIC: ::std::os::raw::c_uint = 1;
pub const NS_FONT_STYLE_OBLIQUE: ::std::os::raw::c_uint = 2;
pub const NS_FONT_WEIGHT_NORMAL: ::std::os::raw::c_uint = 400;
pub const NS_FONT_WEIGHT_BOLD: ::std::os::raw::c_uint = 700;
pub const NS_FONT_WEIGHT_THIN: ::std::os::raw::c_uint = 100;
pub const NS_FONT_STRETCH_ULTRA_CONDENSED: ::std::os::raw::c_int = -4;
pub const NS_FONT_STRETCH_EXTRA_CONDENSED: ::std::os::raw::c_int = -3;
pub const NS_FONT_STRETCH_CONDENSED: ::std::os::raw::c_int = -2;
pub const NS_FONT_STRETCH_SEMI_CONDENSED: ::std::os::raw::c_int = -1;
pub const NS_FONT_STRETCH_NORMAL: ::std::os::raw::c_uint = 0;
pub const NS_FONT_STRETCH_SEMI_EXPANDED: ::std::os::raw::c_uint = 1;
pub const NS_FONT_STRETCH_EXPANDED: ::std::os::raw::c_uint = 2;
pub const NS_FONT_STRETCH_EXTRA_EXPANDED: ::std::os::raw::c_uint = 3;
pub const NS_FONT_STRETCH_ULTRA_EXPANDED: ::std::os::raw::c_uint = 4;
pub const NS_FONT_SMOOTHING_AUTO: ::std::os::raw::c_uint = 0;
pub const NS_FONT_SMOOTHING_GRAYSCALE: ::std::os::raw::c_uint = 1;
pub const NS_FONT_KERNING_AUTO: ::std::os::raw::c_uint = 0;
pub const NS_FONT_KERNING_NONE: ::std::os::raw::c_uint = 1;
pub const NS_FONT_KERNING_NORMAL: ::std::os::raw::c_uint = 2;
pub const NS_FONT_SYNTHESIS_WEIGHT: ::std::os::raw::c_uint = 1;
pub const NS_FONT_SYNTHESIS_STYLE: ::std::os::raw::c_uint = 2;
pub const NS_FONT_DISPLAY_AUTO: ::std::os::raw::c_uint = 0;
pub const NS_FONT_DISPLAY_BLOCK: ::std::os::raw::c_uint = 1;
pub const NS_FONT_DISPLAY_SWAP: ::std::os::raw::c_uint = 2;
pub const NS_FONT_DISPLAY_FALLBACK: ::std::os::raw::c_uint = 3;
pub const NS_FONT_DISPLAY_OPTIONAL: ::std::os::raw::c_uint = 4;
pub const NS_FONT_VARIANT_CAPS_NORMAL: ::std::os::raw::c_uint = 0;
pub const NS_FONT_VARIANT_CAPS_SMALLCAPS: ::std::os::raw::c_uint = 1;
pub const NS_FONT_VARIANT_CAPS_ALLSMALL: ::std::os::raw::c_uint = 2;
pub const NS_FONT_VARIANT_CAPS_PETITECAPS: ::std::os::raw::c_uint = 3;
pub const NS_FONT_VARIANT_CAPS_ALLPETITE: ::std::os::raw::c_uint = 4;
pub const NS_FONT_VARIANT_CAPS_TITLING: ::std::os::raw::c_uint = 5;
pub const NS_FONT_VARIANT_CAPS_UNICASE: ::std::os::raw::c_uint = 6;
pub const NS_FONT_VARIANT_POSITION_NORMAL: ::std::os::raw::c_uint = 0;
pub const NS_FONT_VARIANT_POSITION_SUPER: ::std::os::raw::c_uint = 1;
pub const NS_FONT_VARIANT_POSITION_SUB: ::std::os::raw::c_uint = 2;
pub const NS_FONT_VARIANT_WIDTH_NORMAL: ::std::os::raw::c_uint = 0;
pub const NS_FONT_VARIANT_WIDTH_FULL: ::std::os::raw::c_uint = 1;
pub const NS_FONT_VARIANT_WIDTH_HALF: ::std::os::raw::c_uint = 2;
pub const NS_FONT_VARIANT_WIDTH_THIRD: ::std::os::raw::c_uint = 3;
pub const NS_FONT_VARIANT_WIDTH_QUARTER: ::std::os::raw::c_uint = 4;
pub const NS_THEME_NONE: ::std::os::raw::c_uint = 0;
pub const NS_THEME_BUTTON: ::std::os::raw::c_uint = 1;
pub const NS_THEME_RADIO: ::std::os::raw::c_uint = 2;
pub const NS_THEME_CHECKBOX: ::std::os::raw::c_uint = 3;
pub const NS_THEME_BUTTON_BEVEL: ::std::os::raw::c_uint = 7;
pub const NS_THEME_FOCUS_OUTLINE: ::std::os::raw::c_uint = 8;
pub const NS_THEME_TOOLBOX: ::std::os::raw::c_uint = 11;
pub const NS_THEME_TOOLBAR: ::std::os::raw::c_uint = 12;
pub const NS_THEME_TOOLBARBUTTON: ::std::os::raw::c_uint = 13;
pub const NS_THEME_DUALBUTTON: ::std::os::raw::c_uint = 14;
pub const NS_THEME_TOOLBARBUTTON_DROPDOWN: ::std::os::raw::c_uint = 15;
pub const NS_THEME_BUTTON_ARROW_UP: ::std::os::raw::c_uint = 16;
pub const NS_THEME_BUTTON_ARROW_DOWN: ::std::os::raw::c_uint = 17;
pub const NS_THEME_BUTTON_ARROW_NEXT: ::std::os::raw::c_uint = 18;
pub const NS_THEME_BUTTON_ARROW_PREVIOUS: ::std::os::raw::c_uint = 19;
pub const NS_THEME_SEPARATOR: ::std::os::raw::c_uint = 20;
pub const NS_THEME_TOOLBARGRIPPER: ::std::os::raw::c_uint = 21;
pub const NS_THEME_SPLITTER: ::std::os::raw::c_uint = 22;
pub const NS_THEME_STATUSBAR: ::std::os::raw::c_uint = 23;
pub const NS_THEME_STATUSBARPANEL: ::std::os::raw::c_uint = 24;
pub const NS_THEME_RESIZERPANEL: ::std::os::raw::c_uint = 25;
pub const NS_THEME_RESIZER: ::std::os::raw::c_uint = 26;
pub const NS_THEME_LISTBOX: ::std::os::raw::c_uint = 31;
pub const NS_THEME_LISTITEM: ::std::os::raw::c_uint = 32;
pub const NS_THEME_TREEVIEW: ::std::os::raw::c_uint = 41;
pub const NS_THEME_TREEITEM: ::std::os::raw::c_uint = 42;
pub const NS_THEME_TREETWISTY: ::std::os::raw::c_uint = 43;
pub const NS_THEME_TREELINE: ::std::os::raw::c_uint = 44;
pub const NS_THEME_TREEHEADER: ::std::os::raw::c_uint = 45;
pub const NS_THEME_TREEHEADERCELL: ::std::os::raw::c_uint = 46;
pub const NS_THEME_TREEHEADERSORTARROW: ::std::os::raw::c_uint = 47;
pub const NS_THEME_TREETWISTYOPEN: ::std::os::raw::c_uint = 48;
pub const NS_THEME_PROGRESSBAR: ::std::os::raw::c_uint = 51;
pub const NS_THEME_PROGRESSCHUNK: ::std::os::raw::c_uint = 52;
pub const NS_THEME_PROGRESSBAR_VERTICAL: ::std::os::raw::c_uint = 53;
pub const NS_THEME_PROGRESSCHUNK_VERTICAL: ::std::os::raw::c_uint = 54;
pub const NS_THEME_METERBAR: ::std::os::raw::c_uint = 55;
pub const NS_THEME_METERCHUNK: ::std::os::raw::c_uint = 56;
pub const NS_THEME_TAB: ::std::os::raw::c_uint = 61;
pub const NS_THEME_TABPANEL: ::std::os::raw::c_uint = 62;
pub const NS_THEME_TABPANELS: ::std::os::raw::c_uint = 65;
pub const NS_THEME_TAB_SCROLL_ARROW_BACK: ::std::os::raw::c_uint = 66;
pub const NS_THEME_TAB_SCROLL_ARROW_FORWARD: ::std::os::raw::c_uint = 67;
pub const NS_THEME_TOOLTIP: ::std::os::raw::c_uint = 71;
pub const NS_THEME_SPINNER: ::std::os::raw::c_uint = 72;
pub const NS_THEME_SPINNER_UPBUTTON: ::std::os::raw::c_uint = 73;
pub const NS_THEME_SPINNER_DOWNBUTTON: ::std::os::raw::c_uint = 74;
pub const NS_THEME_SPINNER_TEXTFIELD: ::std::os::raw::c_uint = 75;
pub const NS_THEME_NUMBER_INPUT: ::std::os::raw::c_uint = 76;
pub const NS_THEME_SCROLLBAR: ::std::os::raw::c_uint = 80;
pub const NS_THEME_SCROLLBAR_SMALL: ::std::os::raw::c_uint = 81;
pub const NS_THEME_SCROLLBAR_HORIZONTAL: ::std::os::raw::c_uint = 82;
pub const NS_THEME_SCROLLBAR_VERTICAL: ::std::os::raw::c_uint = 83;
pub const NS_THEME_SCROLLBARBUTTON_UP: ::std::os::raw::c_uint = 84;
pub const NS_THEME_SCROLLBARBUTTON_DOWN: ::std::os::raw::c_uint = 85;
pub const NS_THEME_SCROLLBARBUTTON_LEFT: ::std::os::raw::c_uint = 86;
pub const NS_THEME_SCROLLBARBUTTON_RIGHT: ::std::os::raw::c_uint = 87;
pub const NS_THEME_SCROLLBARTRACK_HORIZONTAL: ::std::os::raw::c_uint = 88;
pub const NS_THEME_SCROLLBARTRACK_VERTICAL: ::std::os::raw::c_uint = 89;
pub const NS_THEME_SCROLLBARTHUMB_HORIZONTAL: ::std::os::raw::c_uint = 90;
pub const NS_THEME_SCROLLBARTHUMB_VERTICAL: ::std::os::raw::c_uint = 91;
pub const NS_THEME_SCROLLBAR_NON_DISAPPEARING: ::std::os::raw::c_uint = 92;
pub const NS_THEME_TEXTFIELD: ::std::os::raw::c_uint = 95;
pub const NS_THEME_CARET: ::std::os::raw::c_uint = 96;
pub const NS_THEME_TEXTFIELD_MULTILINE: ::std::os::raw::c_uint = 97;
pub const NS_THEME_SEARCHFIELD: ::std::os::raw::c_uint = 98;
pub const NS_THEME_MENULIST: ::std::os::raw::c_uint = 101;
pub const NS_THEME_MENULIST_BUTTON: ::std::os::raw::c_uint = 102;
pub const NS_THEME_MENULIST_TEXT: ::std::os::raw::c_uint = 103;
pub const NS_THEME_MENULIST_TEXTFIELD: ::std::os::raw::c_uint = 104;
pub const NS_THEME_SCALE_HORIZONTAL: ::std::os::raw::c_uint = 111;
pub const NS_THEME_SCALE_VERTICAL: ::std::os::raw::c_uint = 112;
pub const NS_THEME_SCALETHUMB_HORIZONTAL: ::std::os::raw::c_uint = 113;
pub const NS_THEME_SCALETHUMB_VERTICAL: ::std::os::raw::c_uint = 114;
pub const NS_THEME_SCALETHUMBSTART: ::std::os::raw::c_uint = 115;
pub const NS_THEME_SCALETHUMBEND: ::std::os::raw::c_uint = 116;
pub const NS_THEME_SCALETHUMBTICK: ::std::os::raw::c_uint = 117;
pub const NS_THEME_RANGE: ::std::os::raw::c_uint = 120;
pub const NS_THEME_RANGE_THUMB: ::std::os::raw::c_uint = 121;
pub const NS_THEME_GROUPBOX: ::std::os::raw::c_uint = 149;
pub const NS_THEME_CHECKBOX_CONTAINER: ::std::os::raw::c_uint = 150;
pub const NS_THEME_RADIO_CONTAINER: ::std::os::raw::c_uint = 151;
pub const NS_THEME_CHECKBOX_LABEL: ::std::os::raw::c_uint = 152;
pub const NS_THEME_RADIO_LABEL: ::std::os::raw::c_uint = 153;
pub const NS_THEME_BUTTON_FOCUS: ::std::os::raw::c_uint = 154;
pub const NS_THEME_WINDOW: ::std::os::raw::c_uint = 200;
pub const NS_THEME_DIALOG: ::std::os::raw::c_uint = 201;
pub const NS_THEME_MENUBAR: ::std::os::raw::c_uint = 210;
pub const NS_THEME_MENUPOPUP: ::std::os::raw::c_uint = 211;
pub const NS_THEME_MENUITEM: ::std::os::raw::c_uint = 212;
pub const NS_THEME_CHECKMENUITEM: ::std::os::raw::c_uint = 213;
pub const NS_THEME_RADIOMENUITEM: ::std::os::raw::c_uint = 214;
pub const NS_THEME_MENUCHECKBOX: ::std::os::raw::c_uint = 215;
pub const NS_THEME_MENURADIO: ::std::os::raw::c_uint = 216;
pub const NS_THEME_MENUSEPARATOR: ::std::os::raw::c_uint = 217;
pub const NS_THEME_MENUARROW: ::std::os::raw::c_uint = 218;
pub const NS_THEME_MENUIMAGE: ::std::os::raw::c_uint = 219;
pub const NS_THEME_MENUITEMTEXT: ::std::os::raw::c_uint = 220;
pub const NS_THEME_WIN_COMMUNICATIONS_TOOLBOX: ::std::os::raw::c_uint = 221;
pub const NS_THEME_WIN_MEDIA_TOOLBOX: ::std::os::raw::c_uint = 222;
pub const NS_THEME_WIN_BROWSERTABBAR_TOOLBOX: ::std::os::raw::c_uint = 223;
pub const NS_THEME_MAC_FULLSCREEN_BUTTON: ::std::os::raw::c_uint = 226;
pub const NS_THEME_MAC_HELP_BUTTON: ::std::os::raw::c_uint = 227;
pub const NS_THEME_WIN_BORDERLESS_GLASS: ::std::os::raw::c_uint = 229;
pub const NS_THEME_WIN_GLASS: ::std::os::raw::c_uint = 230;
pub const NS_THEME_WINDOW_TITLEBAR: ::std::os::raw::c_uint = 231;
pub const NS_THEME_WINDOW_TITLEBAR_MAXIMIZED: ::std::os::raw::c_uint = 232;
pub const NS_THEME_WINDOW_FRAME_LEFT: ::std::os::raw::c_uint = 233;
pub const NS_THEME_WINDOW_FRAME_RIGHT: ::std::os::raw::c_uint = 234;
pub const NS_THEME_WINDOW_FRAME_BOTTOM: ::std::os::raw::c_uint = 235;
pub const NS_THEME_WINDOW_BUTTON_CLOSE: ::std::os::raw::c_uint = 236;
pub const NS_THEME_WINDOW_BUTTON_MINIMIZE: ::std::os::raw::c_uint = 237;
pub const NS_THEME_WINDOW_BUTTON_MAXIMIZE: ::std::os::raw::c_uint = 238;
pub const NS_THEME_WINDOW_BUTTON_RESTORE: ::std::os::raw::c_uint = 239;
pub const NS_THEME_WINDOW_BUTTON_BOX: ::std::os::raw::c_uint = 240;
pub const NS_THEME_WINDOW_BUTTON_BOX_MAXIMIZED: ::std::os::raw::c_uint = 241;
pub const NS_THEME_WIN_EXCLUDE_GLASS: ::std::os::raw::c_uint = 242;
pub const NS_THEME_MAC_VIBRANCY_LIGHT: ::std::os::raw::c_uint = 243;
pub const NS_THEME_MAC_VIBRANCY_DARK: ::std::os::raw::c_uint = 244;
pub const NS_THEME_MAC_DISCLOSURE_BUTTON_OPEN: ::std::os::raw::c_uint = 245;
pub const NS_THEME_MAC_DISCLOSURE_BUTTON_CLOSED: ::std::os::raw::c_uint = 246;
pub const NS_THEME_GTK_INFO_BAR: ::std::os::raw::c_uint = 247;
pub const NS_THEME_MAC_SOURCE_LIST: ::std::os::raw::c_uint = 248;
pub const NS_THEME_MAC_SOURCE_LIST_SELECTION: ::std::os::raw::c_uint = 249;
pub const NS_THEME_MAC_ACTIVE_SOURCE_LIST_SELECTION: ::std::os::raw::c_uint =
    250;
pub const NS_FONT_VARIANT_NORMAL: ::std::os::raw::c_uint = 0;
pub const NS_FONT_VARIANT_SMALL_CAPS: ::std::os::raw::c_uint = 1;
pub const NS_CORNER_TOP_LEFT_X: ::std::os::raw::c_uint = 0;
pub const NS_CORNER_TOP_LEFT_Y: ::std::os::raw::c_uint = 1;
pub const NS_CORNER_TOP_RIGHT_X: ::std::os::raw::c_uint = 2;
pub const NS_CORNER_TOP_RIGHT_Y: ::std::os::raw::c_uint = 3;
pub const NS_CORNER_BOTTOM_RIGHT_X: ::std::os::raw::c_uint = 4;
pub const NS_CORNER_BOTTOM_RIGHT_Y: ::std::os::raw::c_uint = 5;
pub const NS_CORNER_BOTTOM_LEFT_X: ::std::os::raw::c_uint = 6;
pub const NS_CORNER_BOTTOM_LEFT_Y: ::std::os::raw::c_uint = 7;
pub const NS_RADIUS_FARTHEST_SIDE: ::std::os::raw::c_uint = 0;
pub const NS_RADIUS_CLOSEST_SIDE: ::std::os::raw::c_uint = 1;
pub const NS_STYLE_STACK_SIZING_IGNORE: ::std::os::raw::c_uint = 0;
pub const NS_STYLE_STACK_SIZING_STRETCH_TO_FIT: ::std::os::raw::c_uint = 1;
pub const NS_STYLE_AZIMUTH_LEFT_SIDE: ::std::os::raw::c_uint = 0;
pub const NS_STYLE_AZIMUTH_FAR_LEFT: ::std::os::raw::c_uint = 1;
pub const NS_STYLE_AZIMUTH_LEFT: ::std::os::raw::c_uint = 2;
pub const NS_STYLE_AZIMUTH_CENTER_LEFT: ::std::os::raw::c_uint = 3;
pub const NS_STYLE_AZIMUTH_CENTER: ::std::os::raw::c_uint = 4;
pub const NS_STYLE_AZIMUTH_CENTER_RIGHT: ::std::os::raw::c_uint = 5;
pub const NS_STYLE_AZIMUTH_RIGHT: ::std::os::raw::c_uint = 6;
pub const NS_STYLE_AZIMUTH_FAR_RIGHT: ::std::os::raw::c_uint = 7;
pub const NS_STYLE_AZIMUTH_RIGHT_SIDE: ::std::os::raw::c_uint = 8;
pub const NS_STYLE_AZIMUTH_BEHIND: ::std::os::raw::c_uint = 128;
pub const NS_STYLE_AZIMUTH_LEFTWARDS: ::std::os::raw::c_uint = 16;
pub const NS_STYLE_AZIMUTH_RIGHTWARDS: ::std::os::raw::c_uint = 32;
pub const NS_STYLE_ELEVATION_BELOW: ::std::os::raw::c_uint = 1;
pub const NS_STYLE_ELEVATION_LEVEL: ::std::os::raw::c_uint = 2;
pub const NS_STYLE_ELEVATION_ABOVE: ::std::os::raw::c_uint = 3;
pub const NS_STYLE_ELEVATION_HIGHER: ::std::os::raw::c_uint = 4;
pub const NS_STYLE_ELEVATION_LOWER: ::std::os::raw::c_uint = 5;
pub const NS_STYLE_PITCH_X_LOW: ::std::os::raw::c_uint = 1;
pub const NS_STYLE_PITCH_LOW: ::std::os::raw::c_uint = 2;
pub const NS_STYLE_PITCH_MEDIUM: ::std::os::raw::c_uint = 3;
pub const NS_STYLE_PITCH_HIGH: ::std::os::raw::c_uint = 4;
pub const NS_STYLE_PITCH_X_HIGH: ::std::os::raw::c_uint = 5;
pub const NS_STYLE_SPEAK_NONE: ::std::os::raw::c_uint = 0;
pub const NS_STYLE_SPEAK_NORMAL: ::std::os::raw::c_uint = 1;
pub const NS_STYLE_SPEAK_SPELL_OUT: ::std::os::raw::c_uint = 2;
pub const NS_STYLE_SPEAK_HEADER_ONCE: ::std::os::raw::c_uint = 0;
pub const NS_STYLE_SPEAK_HEADER_ALWAYS: ::std::os::raw::c_uint = 1;
pub const NS_STYLE_SPEAK_NUMERAL_DIGITS: ::std::os::raw::c_uint = 0;
pub const NS_STYLE_SPEAK_NUMERAL_CONTINUOUS: ::std::os::raw::c_uint = 1;
pub const NS_STYLE_SPEAK_PUNCTUATION_NONE: ::std::os::raw::c_uint = 0;
pub const NS_STYLE_SPEAK_PUNCTUATION_CODE: ::std::os::raw::c_uint = 1;
pub const NS_STYLE_SPEECH_RATE_X_SLOW: ::std::os::raw::c_uint = 0;
pub const NS_STYLE_SPEECH_RATE_SLOW: ::std::os::raw::c_uint = 1;
pub const NS_STYLE_SPEECH_RATE_MEDIUM: ::std::os::raw::c_uint = 2;
pub const NS_STYLE_SPEECH_RATE_FAST: ::std::os::raw::c_uint = 3;
pub const NS_STYLE_SPEECH_RATE_X_FAST: ::std::os::raw::c_uint = 4;
pub const NS_STYLE_SPEECH_RATE_FASTER: ::std::os::raw::c_uint = 10;
pub const NS_STYLE_SPEECH_RATE_SLOWER: ::std::os::raw::c_uint = 11;
pub const NS_STYLE_VOLUME_SILENT: ::std::os::raw::c_uint = 0;
pub const NS_STYLE_VOLUME_X_SOFT: ::std::os::raw::c_uint = 1;
pub const NS_STYLE_VOLUME_SOFT: ::std::os::raw::c_uint = 2;
pub const NS_STYLE_VOLUME_MEDIUM: ::std::os::raw::c_uint = 3;
pub const NS_STYLE_VOLUME_LOUD: ::std::os::raw::c_uint = 4;
pub const NS_STYLE_VOLUME_X_LOUD: ::std::os::raw::c_uint = 5;
pub const NS_STYLE_COLOR_INHERIT_FROM_BODY: ::std::os::raw::c_uint = 2;
pub const NS_STYLE_WILL_CHANGE_STACKING_CONTEXT: ::std::os::raw::c_uint = 1;
pub const NS_STYLE_WILL_CHANGE_TRANSFORM: ::std::os::raw::c_uint = 2;
pub const NS_STYLE_WILL_CHANGE_SCROLL: ::std::os::raw::c_uint = 4;
pub const NS_STYLE_WILL_CHANGE_OPACITY: ::std::os::raw::c_uint = 8;
pub const NS_STYLE_WILL_CHANGE_FIXPOS_CB: ::std::os::raw::c_uint = 16;
pub const NS_STYLE_WILL_CHANGE_ABSPOS_CB: ::std::os::raw::c_uint = 32;
pub const NS_STYLE_ANIMATION_ITERATION_COUNT_INFINITE: ::std::os::raw::c_uint
          =
    0;
pub const NS_STYLE_ANIMATION_PLAY_STATE_RUNNING: ::std::os::raw::c_uint = 0;
pub const NS_STYLE_ANIMATION_PLAY_STATE_PAUSED: ::std::os::raw::c_uint = 1;
pub const NS_STYLE_IMAGELAYER_ATTACHMENT_SCROLL: ::std::os::raw::c_uint = 0;
pub const NS_STYLE_IMAGELAYER_ATTACHMENT_FIXED: ::std::os::raw::c_uint = 1;
pub const NS_STYLE_IMAGELAYER_ATTACHMENT_LOCAL: ::std::os::raw::c_uint = 2;
pub const NS_STYLE_IMAGELAYER_CLIP_BORDER: ::std::os::raw::c_uint = 0;
pub const NS_STYLE_IMAGELAYER_CLIP_PADDING: ::std::os::raw::c_uint = 1;
pub const NS_STYLE_IMAGELAYER_CLIP_CONTENT: ::std::os::raw::c_uint = 2;
pub const NS_STYLE_IMAGELAYER_CLIP_TEXT: ::std::os::raw::c_uint = 3;
pub const NS_STYLE_IMAGELAYER_CLIP_MOZ_ALMOST_PADDING: ::std::os::raw::c_uint
          =
    127;
pub const NS_STYLE_IMAGELAYER_ORIGIN_BORDER: ::std::os::raw::c_uint = 0;
pub const NS_STYLE_IMAGELAYER_ORIGIN_PADDING: ::std::os::raw::c_uint = 1;
pub const NS_STYLE_IMAGELAYER_ORIGIN_CONTENT: ::std::os::raw::c_uint = 2;
pub const NS_STYLE_IMAGELAYER_POSITION_CENTER: ::std::os::raw::c_uint = 1;
pub const NS_STYLE_IMAGELAYER_POSITION_TOP: ::std::os::raw::c_uint = 2;
pub const NS_STYLE_IMAGELAYER_POSITION_BOTTOM: ::std::os::raw::c_uint = 4;
pub const NS_STYLE_IMAGELAYER_POSITION_LEFT: ::std::os::raw::c_uint = 8;
pub const NS_STYLE_IMAGELAYER_POSITION_RIGHT: ::std::os::raw::c_uint = 16;
pub const NS_STYLE_IMAGELAYER_REPEAT_NO_REPEAT: ::std::os::raw::c_uint = 0;
pub const NS_STYLE_IMAGELAYER_REPEAT_REPEAT_X: ::std::os::raw::c_uint = 1;
pub const NS_STYLE_IMAGELAYER_REPEAT_REPEAT_Y: ::std::os::raw::c_uint = 2;
pub const NS_STYLE_IMAGELAYER_REPEAT_REPEAT: ::std::os::raw::c_uint = 3;
pub const NS_STYLE_IMAGELAYER_REPEAT_SPACE: ::std::os::raw::c_uint = 4;
pub const NS_STYLE_IMAGELAYER_REPEAT_ROUND: ::std::os::raw::c_uint = 5;
pub const NS_STYLE_IMAGELAYER_SIZE_CONTAIN: ::std::os::raw::c_uint = 0;
pub const NS_STYLE_IMAGELAYER_SIZE_COVER: ::std::os::raw::c_uint = 1;
pub const NS_STYLE_MASK_MODE_ALPHA: ::std::os::raw::c_uint = 0;
pub const NS_STYLE_MASK_MODE_LUMINANCE: ::std::os::raw::c_uint = 1;
pub const NS_STYLE_MASK_MODE_MATCH_SOURCE: ::std::os::raw::c_uint = 2;
pub const NS_STYLE_BG_INLINE_POLICY_EACH_BOX: ::std::os::raw::c_uint = 0;
pub const NS_STYLE_BG_INLINE_POLICY_CONTINUOUS: ::std::os::raw::c_uint = 1;
pub const NS_STYLE_BG_INLINE_POLICY_BOUNDING_BOX: ::std::os::raw::c_uint = 2;
pub const NS_STYLE_BORDER_COLLAPSE: ::std::os::raw::c_uint = 0;
pub const NS_STYLE_BORDER_SEPARATE: ::std::os::raw::c_uint = 1;
pub const NS_STYLE_BORDER_WIDTH_THIN: ::std::os::raw::c_uint = 0;
pub const NS_STYLE_BORDER_WIDTH_MEDIUM: ::std::os::raw::c_uint = 1;
pub const NS_STYLE_BORDER_WIDTH_THICK: ::std::os::raw::c_uint = 2;
pub const NS_STYLE_BORDER_STYLE_NONE: ::std::os::raw::c_uint = 0;
pub const NS_STYLE_BORDER_STYLE_GROOVE: ::std::os::raw::c_uint = 1;
pub const NS_STYLE_BORDER_STYLE_RIDGE: ::std::os::raw::c_uint = 2;
pub const NS_STYLE_BORDER_STYLE_DOTTED: ::std::os::raw::c_uint = 3;
pub const NS_STYLE_BORDER_STYLE_DASHED: ::std::os::raw::c_uint = 4;
pub const NS_STYLE_BORDER_STYLE_SOLID: ::std::os::raw::c_uint = 5;
pub const NS_STYLE_BORDER_STYLE_DOUBLE: ::std::os::raw::c_uint = 6;
pub const NS_STYLE_BORDER_STYLE_INSET: ::std::os::raw::c_uint = 7;
pub const NS_STYLE_BORDER_STYLE_OUTSET: ::std::os::raw::c_uint = 8;
pub const NS_STYLE_BORDER_STYLE_HIDDEN: ::std::os::raw::c_uint = 9;
pub const NS_STYLE_BORDER_STYLE_AUTO: ::std::os::raw::c_uint = 10;
pub const NS_STYLE_BORDER_IMAGE_REPEAT_STRETCH: ::std::os::raw::c_uint = 0;
pub const NS_STYLE_BORDER_IMAGE_REPEAT_REPEAT: ::std::os::raw::c_uint = 1;
pub const NS_STYLE_BORDER_IMAGE_REPEAT_ROUND: ::std::os::raw::c_uint = 2;
pub const NS_STYLE_BORDER_IMAGE_REPEAT_SPACE: ::std::os::raw::c_uint = 3;
pub const NS_STYLE_BORDER_IMAGE_SLICE_NOFILL: ::std::os::raw::c_uint = 0;
pub const NS_STYLE_BORDER_IMAGE_SLICE_FILL: ::std::os::raw::c_uint = 1;
pub const NS_STYLE_CONTENT_OPEN_QUOTE: ::std::os::raw::c_uint = 0;
pub const NS_STYLE_CONTENT_CLOSE_QUOTE: ::std::os::raw::c_uint = 1;
pub const NS_STYLE_CONTENT_NO_OPEN_QUOTE: ::std::os::raw::c_uint = 2;
pub const NS_STYLE_CONTENT_NO_CLOSE_QUOTE: ::std::os::raw::c_uint = 3;
pub const NS_STYLE_CONTENT_ALT_CONTENT: ::std::os::raw::c_uint = 4;
pub const NS_STYLE_CURSOR_AUTO: ::std::os::raw::c_uint = 1;
pub const NS_STYLE_CURSOR_CROSSHAIR: ::std::os::raw::c_uint = 2;
pub const NS_STYLE_CURSOR_DEFAULT: ::std::os::raw::c_uint = 3;
pub const NS_STYLE_CURSOR_POINTER: ::std::os::raw::c_uint = 4;
pub const NS_STYLE_CURSOR_MOVE: ::std::os::raw::c_uint = 5;
pub const NS_STYLE_CURSOR_E_RESIZE: ::std::os::raw::c_uint = 6;
pub const NS_STYLE_CURSOR_NE_RESIZE: ::std::os::raw::c_uint = 7;
pub const NS_STYLE_CURSOR_NW_RESIZE: ::std::os::raw::c_uint = 8;
pub const NS_STYLE_CURSOR_N_RESIZE: ::std::os::raw::c_uint = 9;
pub const NS_STYLE_CURSOR_SE_RESIZE: ::std::os::raw::c_uint = 10;
pub const NS_STYLE_CURSOR_SW_RESIZE: ::std::os::raw::c_uint = 11;
pub const NS_STYLE_CURSOR_S_RESIZE: ::std::os::raw::c_uint = 12;
pub const NS_STYLE_CURSOR_W_RESIZE: ::std::os::raw::c_uint = 13;
pub const NS_STYLE_CURSOR_TEXT: ::std::os::raw::c_uint = 14;
pub const NS_STYLE_CURSOR_WAIT: ::std::os::raw::c_uint = 15;
pub const NS_STYLE_CURSOR_HELP: ::std::os::raw::c_uint = 16;
pub const NS_STYLE_CURSOR_COPY: ::std::os::raw::c_uint = 17;
pub const NS_STYLE_CURSOR_ALIAS: ::std::os::raw::c_uint = 18;
pub const NS_STYLE_CURSOR_CONTEXT_MENU: ::std::os::raw::c_uint = 19;
pub const NS_STYLE_CURSOR_CELL: ::std::os::raw::c_uint = 20;
pub const NS_STYLE_CURSOR_GRAB: ::std::os::raw::c_uint = 21;
pub const NS_STYLE_CURSOR_GRABBING: ::std::os::raw::c_uint = 22;
pub const NS_STYLE_CURSOR_SPINNING: ::std::os::raw::c_uint = 23;
pub const NS_STYLE_CURSOR_ZOOM_IN: ::std::os::raw::c_uint = 24;
pub const NS_STYLE_CURSOR_ZOOM_OUT: ::std::os::raw::c_uint = 25;
pub const NS_STYLE_CURSOR_NOT_ALLOWED: ::std::os::raw::c_uint = 26;
pub const NS_STYLE_CURSOR_COL_RESIZE: ::std::os::raw::c_uint = 27;
pub const NS_STYLE_CURSOR_ROW_RESIZE: ::std::os::raw::c_uint = 28;
pub const NS_STYLE_CURSOR_NO_DROP: ::std::os::raw::c_uint = 29;
pub const NS_STYLE_CURSOR_VERTICAL_TEXT: ::std::os::raw::c_uint = 30;
pub const NS_STYLE_CURSOR_ALL_SCROLL: ::std::os::raw::c_uint = 31;
pub const NS_STYLE_CURSOR_NESW_RESIZE: ::std::os::raw::c_uint = 32;
pub const NS_STYLE_CURSOR_NWSE_RESIZE: ::std::os::raw::c_uint = 33;
pub const NS_STYLE_CURSOR_NS_RESIZE: ::std::os::raw::c_uint = 34;
pub const NS_STYLE_CURSOR_EW_RESIZE: ::std::os::raw::c_uint = 35;
pub const NS_STYLE_CURSOR_NONE: ::std::os::raw::c_uint = 36;
pub const NS_STYLE_DIRECTION_LTR: ::std::os::raw::c_uint = 0;
pub const NS_STYLE_DIRECTION_RTL: ::std::os::raw::c_uint = 1;
pub const NS_STYLE_WRITING_MODE_HORIZONTAL_TB: ::std::os::raw::c_uint = 0;
pub const NS_STYLE_WRITING_MODE_VERTICAL_RL: ::std::os::raw::c_uint = 1;
pub const NS_STYLE_WRITING_MODE_VERTICAL_LR: ::std::os::raw::c_uint = 3;
pub const NS_STYLE_WRITING_MODE_SIDEWAYS_MASK: ::std::os::raw::c_uint = 4;
pub const NS_STYLE_WRITING_MODE_SIDEWAYS_RL: ::std::os::raw::c_uint = 5;
pub const NS_STYLE_WRITING_MODE_SIDEWAYS_LR: ::std::os::raw::c_uint = 7;
pub const NS_STYLE_CONTAIN_NONE: ::std::os::raw::c_uint = 0;
pub const NS_STYLE_CONTAIN_STRICT: ::std::os::raw::c_uint = 1;
pub const NS_STYLE_CONTAIN_LAYOUT: ::std::os::raw::c_uint = 2;
pub const NS_STYLE_CONTAIN_STYLE: ::std::os::raw::c_uint = 4;
pub const NS_STYLE_CONTAIN_PAINT: ::std::os::raw::c_uint = 8;
pub const NS_STYLE_CONTAIN_ALL_BITS: ::std::os::raw::c_uint = 14;
pub const NS_STYLE_ALIGN_AUTO: ::std::os::raw::c_uint = 0;
pub const NS_STYLE_ALIGN_NORMAL: ::std::os::raw::c_uint = 1;
pub const NS_STYLE_ALIGN_START: ::std::os::raw::c_uint = 2;
pub const NS_STYLE_ALIGN_END: ::std::os::raw::c_uint = 3;
pub const NS_STYLE_ALIGN_FLEX_START: ::std::os::raw::c_uint = 4;
pub const NS_STYLE_ALIGN_FLEX_END: ::std::os::raw::c_uint = 5;
pub const NS_STYLE_ALIGN_CENTER: ::std::os::raw::c_uint = 6;
pub const NS_STYLE_ALIGN_LEFT: ::std::os::raw::c_uint = 7;
pub const NS_STYLE_ALIGN_RIGHT: ::std::os::raw::c_uint = 8;
pub const NS_STYLE_ALIGN_BASELINE: ::std::os::raw::c_uint = 9;
pub const NS_STYLE_ALIGN_LAST_BASELINE: ::std::os::raw::c_uint = 10;
pub const NS_STYLE_ALIGN_STRETCH: ::std::os::raw::c_uint = 11;
pub const NS_STYLE_ALIGN_SELF_START: ::std::os::raw::c_uint = 12;
pub const NS_STYLE_ALIGN_SELF_END: ::std::os::raw::c_uint = 13;
pub const NS_STYLE_ALIGN_SPACE_BETWEEN: ::std::os::raw::c_uint = 14;
pub const NS_STYLE_ALIGN_SPACE_AROUND: ::std::os::raw::c_uint = 15;
pub const NS_STYLE_ALIGN_SPACE_EVENLY: ::std::os::raw::c_uint = 16;
pub const NS_STYLE_ALIGN_LEGACY: ::std::os::raw::c_uint = 32;
pub const NS_STYLE_ALIGN_SAFE: ::std::os::raw::c_uint = 64;
pub const NS_STYLE_ALIGN_UNSAFE: ::std::os::raw::c_uint = 128;
pub const NS_STYLE_ALIGN_FLAG_BITS: ::std::os::raw::c_uint = 224;
pub const NS_STYLE_ALIGN_ALL_BITS: ::std::os::raw::c_uint = 255;
pub const NS_STYLE_ALIGN_ALL_SHIFT: ::std::os::raw::c_uint = 8;
pub const NS_STYLE_JUSTIFY_AUTO: ::std::os::raw::c_uint = 0;
pub const NS_STYLE_JUSTIFY_NORMAL: ::std::os::raw::c_uint = 1;
pub const NS_STYLE_JUSTIFY_START: ::std::os::raw::c_uint = 2;
pub const NS_STYLE_JUSTIFY_END: ::std::os::raw::c_uint = 3;
pub const NS_STYLE_JUSTIFY_FLEX_START: ::std::os::raw::c_uint = 4;
pub const NS_STYLE_JUSTIFY_FLEX_END: ::std::os::raw::c_uint = 5;
pub const NS_STYLE_JUSTIFY_CENTER: ::std::os::raw::c_uint = 6;
pub const NS_STYLE_JUSTIFY_LEFT: ::std::os::raw::c_uint = 7;
pub const NS_STYLE_JUSTIFY_RIGHT: ::std::os::raw::c_uint = 8;
pub const NS_STYLE_JUSTIFY_BASELINE: ::std::os::raw::c_uint = 9;
pub const NS_STYLE_JUSTIFY_LAST_BASELINE: ::std::os::raw::c_uint = 10;
pub const NS_STYLE_JUSTIFY_STRETCH: ::std::os::raw::c_uint = 11;
pub const NS_STYLE_JUSTIFY_SELF_START: ::std::os::raw::c_uint = 12;
pub const NS_STYLE_JUSTIFY_SELF_END: ::std::os::raw::c_uint = 13;
pub const NS_STYLE_JUSTIFY_SPACE_BETWEEN: ::std::os::raw::c_uint = 14;
pub const NS_STYLE_JUSTIFY_SPACE_AROUND: ::std::os::raw::c_uint = 15;
pub const NS_STYLE_JUSTIFY_SPACE_EVENLY: ::std::os::raw::c_uint = 16;
pub const NS_STYLE_JUSTIFY_LEGACY: ::std::os::raw::c_uint = 32;
pub const NS_STYLE_JUSTIFY_SAFE: ::std::os::raw::c_uint = 64;
pub const NS_STYLE_JUSTIFY_UNSAFE: ::std::os::raw::c_uint = 128;
pub const NS_STYLE_JUSTIFY_FLAG_BITS: ::std::os::raw::c_uint = 224;
pub const NS_STYLE_JUSTIFY_ALL_BITS: ::std::os::raw::c_uint = 255;
pub const NS_STYLE_JUSTIFY_ALL_SHIFT: ::std::os::raw::c_uint = 8;
pub const NS_STYLE_FLEX_DIRECTION_ROW: ::std::os::raw::c_uint = 0;
pub const NS_STYLE_FLEX_DIRECTION_ROW_REVERSE: ::std::os::raw::c_uint = 1;
pub const NS_STYLE_FLEX_DIRECTION_COLUMN: ::std::os::raw::c_uint = 2;
pub const NS_STYLE_FLEX_DIRECTION_COLUMN_REVERSE: ::std::os::raw::c_uint = 3;
pub const NS_STYLE_FLEX_WRAP_NOWRAP: ::std::os::raw::c_uint = 0;
pub const NS_STYLE_FLEX_WRAP_WRAP: ::std::os::raw::c_uint = 1;
pub const NS_STYLE_FLEX_WRAP_WRAP_REVERSE: ::std::os::raw::c_uint = 2;
pub const NS_STYLE_ORDER_INITIAL: ::std::os::raw::c_uint = 0;
pub const NS_STYLE_JUSTIFY_CONTENT_FLEX_START: ::std::os::raw::c_uint = 4;
pub const NS_STYLE_JUSTIFY_CONTENT_FLEX_END: ::std::os::raw::c_uint = 5;
pub const NS_STYLE_JUSTIFY_CONTENT_CENTER: ::std::os::raw::c_uint = 6;
pub const NS_STYLE_JUSTIFY_CONTENT_SPACE_BETWEEN: ::std::os::raw::c_uint = 14;
pub const NS_STYLE_JUSTIFY_CONTENT_SPACE_AROUND: ::std::os::raw::c_uint = 15;
pub const NS_STYLE_FILTER_NONE: ::std::os::raw::c_uint = 0;
pub const NS_STYLE_FILTER_URL: ::std::os::raw::c_uint = 1;
pub const NS_STYLE_FILTER_BLUR: ::std::os::raw::c_uint = 2;
pub const NS_STYLE_FILTER_BRIGHTNESS: ::std::os::raw::c_uint = 3;
pub const NS_STYLE_FILTER_CONTRAST: ::std::os::raw::c_uint = 4;
pub const NS_STYLE_FILTER_GRAYSCALE: ::std::os::raw::c_uint = 5;
pub const NS_STYLE_FILTER_INVERT: ::std::os::raw::c_uint = 6;
pub const NS_STYLE_FILTER_OPACITY: ::std::os::raw::c_uint = 7;
pub const NS_STYLE_FILTER_SATURATE: ::std::os::raw::c_uint = 8;
pub const NS_STYLE_FILTER_SEPIA: ::std::os::raw::c_uint = 9;
pub const NS_STYLE_FILTER_HUE_ROTATE: ::std::os::raw::c_uint = 10;
pub const NS_STYLE_FILTER_DROP_SHADOW: ::std::os::raw::c_uint = 11;
pub const NS_STYLE_FONT_STYLE_NORMAL: ::std::os::raw::c_uint = 0;
pub const NS_STYLE_FONT_STYLE_ITALIC: ::std::os::raw::c_uint = 1;
pub const NS_STYLE_FONT_STYLE_OBLIQUE: ::std::os::raw::c_uint = 2;
pub const NS_STYLE_FONT_WEIGHT_NORMAL: ::std::os::raw::c_uint = 400;
pub const NS_STYLE_FONT_WEIGHT_BOLD: ::std::os::raw::c_uint = 700;
pub const NS_STYLE_FONT_WEIGHT_BOLDER: ::std::os::raw::c_int = -1;
pub const NS_STYLE_FONT_WEIGHT_LIGHTER: ::std::os::raw::c_int = -2;
pub const NS_STYLE_FONT_SIZE_XXSMALL: ::std::os::raw::c_uint = 0;
pub const NS_STYLE_FONT_SIZE_XSMALL: ::std::os::raw::c_uint = 1;
pub const NS_STYLE_FONT_SIZE_SMALL: ::std::os::raw::c_uint = 2;
pub const NS_STYLE_FONT_SIZE_MEDIUM: ::std::os::raw::c_uint = 3;
pub const NS_STYLE_FONT_SIZE_LARGE: ::std::os::raw::c_uint = 4;
pub const NS_STYLE_FONT_SIZE_XLARGE: ::std::os::raw::c_uint = 5;
pub const NS_STYLE_FONT_SIZE_XXLARGE: ::std::os::raw::c_uint = 6;
pub const NS_STYLE_FONT_SIZE_XXXLARGE: ::std::os::raw::c_uint = 7;
pub const NS_STYLE_FONT_SIZE_LARGER: ::std::os::raw::c_uint = 8;
pub const NS_STYLE_FONT_SIZE_SMALLER: ::std::os::raw::c_uint = 9;
pub const NS_STYLE_FONT_STRETCH_ULTRA_CONDENSED: ::std::os::raw::c_int = -4;
pub const NS_STYLE_FONT_STRETCH_EXTRA_CONDENSED: ::std::os::raw::c_int = -3;
pub const NS_STYLE_FONT_STRETCH_CONDENSED: ::std::os::raw::c_int = -2;
pub const NS_STYLE_FONT_STRETCH_SEMI_CONDENSED: ::std::os::raw::c_int = -1;
pub const NS_STYLE_FONT_STRETCH_NORMAL: ::std::os::raw::c_uint = 0;
pub const NS_STYLE_FONT_STRETCH_SEMI_EXPANDED: ::std::os::raw::c_uint = 1;
pub const NS_STYLE_FONT_STRETCH_EXPANDED: ::std::os::raw::c_uint = 2;
pub const NS_STYLE_FONT_STRETCH_EXTRA_EXPANDED: ::std::os::raw::c_uint = 3;
pub const NS_STYLE_FONT_STRETCH_ULTRA_EXPANDED: ::std::os::raw::c_uint = 4;
pub const NS_STYLE_FONT_CAPTION: ::std::os::raw::c_uint = 1;
pub const NS_STYLE_FONT_ICON: ::std::os::raw::c_uint = 2;
pub const NS_STYLE_FONT_MENU: ::std::os::raw::c_uint = 3;
pub const NS_STYLE_FONT_MESSAGE_BOX: ::std::os::raw::c_uint = 4;
pub const NS_STYLE_FONT_SMALL_CAPTION: ::std::os::raw::c_uint = 5;
pub const NS_STYLE_FONT_STATUS_BAR: ::std::os::raw::c_uint = 6;
pub const NS_STYLE_FONT_WINDOW: ::std::os::raw::c_uint = 7;
pub const NS_STYLE_FONT_DOCUMENT: ::std::os::raw::c_uint = 8;
pub const NS_STYLE_FONT_WORKSPACE: ::std::os::raw::c_uint = 9;
pub const NS_STYLE_FONT_DESKTOP: ::std::os::raw::c_uint = 10;
pub const NS_STYLE_FONT_INFO: ::std::os::raw::c_uint = 11;
pub const NS_STYLE_FONT_DIALOG: ::std::os::raw::c_uint = 12;
pub const NS_STYLE_FONT_BUTTON: ::std::os::raw::c_uint = 13;
pub const NS_STYLE_FONT_PULL_DOWN_MENU: ::std::os::raw::c_uint = 14;
pub const NS_STYLE_FONT_LIST: ::std::os::raw::c_uint = 15;
pub const NS_STYLE_FONT_FIELD: ::std::os::raw::c_uint = 16;
pub const NS_STYLE_GRID_AUTO_FLOW_ROW: ::std::os::raw::c_uint = 1;
pub const NS_STYLE_GRID_AUTO_FLOW_COLUMN: ::std::os::raw::c_uint = 2;
pub const NS_STYLE_GRID_AUTO_FLOW_DENSE: ::std::os::raw::c_uint = 4;
pub const NS_STYLE_GRID_TEMPLATE_SUBGRID: ::std::os::raw::c_uint = 0;
pub const NS_STYLE_GRID_TRACK_BREADTH_MAX_CONTENT: ::std::os::raw::c_uint = 1;
pub const NS_STYLE_GRID_TRACK_BREADTH_MIN_CONTENT: ::std::os::raw::c_uint = 2;
pub const NS_STYLE_GRID_REPEAT_AUTO_FILL: ::std::os::raw::c_uint = 0;
pub const NS_STYLE_GRID_REPEAT_AUTO_FIT: ::std::os::raw::c_uint = 1;
pub const NS_STYLE_WIDTH_MAX_CONTENT: ::std::os::raw::c_uint = 0;
pub const NS_STYLE_WIDTH_MIN_CONTENT: ::std::os::raw::c_uint = 1;
pub const NS_STYLE_WIDTH_FIT_CONTENT: ::std::os::raw::c_uint = 2;
pub const NS_STYLE_WIDTH_AVAILABLE: ::std::os::raw::c_uint = 3;
pub const NS_STYLE_POSITION_STATIC: ::std::os::raw::c_uint = 0;
pub const NS_STYLE_POSITION_RELATIVE: ::std::os::raw::c_uint = 1;
pub const NS_STYLE_POSITION_ABSOLUTE: ::std::os::raw::c_uint = 2;
pub const NS_STYLE_POSITION_FIXED: ::std::os::raw::c_uint = 3;
pub const NS_STYLE_POSITION_STICKY: ::std::os::raw::c_uint = 4;
pub const NS_STYLE_CLIP_AUTO: ::std::os::raw::c_uint = 0;
pub const NS_STYLE_CLIP_RECT: ::std::os::raw::c_uint = 1;
pub const NS_STYLE_CLIP_TYPE_MASK: ::std::os::raw::c_uint = 15;
pub const NS_STYLE_CLIP_LEFT_AUTO: ::std::os::raw::c_uint = 16;
pub const NS_STYLE_CLIP_TOP_AUTO: ::std::os::raw::c_uint = 32;
pub const NS_STYLE_CLIP_RIGHT_AUTO: ::std::os::raw::c_uint = 64;
pub const NS_STYLE_CLIP_BOTTOM_AUTO: ::std::os::raw::c_uint = 128;
pub const NS_STYLE_FRAME_YES: ::std::os::raw::c_uint = 0;
pub const NS_STYLE_FRAME_NO: ::std::os::raw::c_uint = 1;
pub const NS_STYLE_FRAME_0: ::std::os::raw::c_uint = 2;
pub const NS_STYLE_FRAME_1: ::std::os::raw::c_uint = 3;
pub const NS_STYLE_FRAME_ON: ::std::os::raw::c_uint = 4;
pub const NS_STYLE_FRAME_OFF: ::std::os::raw::c_uint = 5;
pub const NS_STYLE_FRAME_AUTO: ::std::os::raw::c_uint = 6;
pub const NS_STYLE_FRAME_SCROLL: ::std::os::raw::c_uint = 7;
pub const NS_STYLE_FRAME_NOSCROLL: ::std::os::raw::c_uint = 8;
pub const NS_STYLE_OVERFLOW_VISIBLE: ::std::os::raw::c_uint = 0;
pub const NS_STYLE_OVERFLOW_HIDDEN: ::std::os::raw::c_uint = 1;
pub const NS_STYLE_OVERFLOW_SCROLL: ::std::os::raw::c_uint = 2;
pub const NS_STYLE_OVERFLOW_AUTO: ::std::os::raw::c_uint = 3;
pub const NS_STYLE_OVERFLOW_CLIP: ::std::os::raw::c_uint = 4;
pub const NS_STYLE_OVERFLOW_SCROLLBARS_HORIZONTAL: ::std::os::raw::c_uint = 5;
pub const NS_STYLE_OVERFLOW_SCROLLBARS_VERTICAL: ::std::os::raw::c_uint = 6;
pub const NS_STYLE_OVERFLOW_CLIP_BOX_PADDING_BOX: ::std::os::raw::c_uint = 0;
pub const NS_STYLE_OVERFLOW_CLIP_BOX_CONTENT_BOX: ::std::os::raw::c_uint = 1;
pub const NS_STYLE_LIST_STYLE_CUSTOM: ::std::os::raw::c_int = -1;
pub const NS_STYLE_LIST_STYLE_NONE: ::std::os::raw::c_uint = 0;
pub const NS_STYLE_LIST_STYLE_DISC: ::std::os::raw::c_uint = 1;
pub const NS_STYLE_LIST_STYLE_CIRCLE: ::std::os::raw::c_uint = 2;
pub const NS_STYLE_LIST_STYLE_SQUARE: ::std::os::raw::c_uint = 3;
pub const NS_STYLE_LIST_STYLE_DECIMAL: ::std::os::raw::c_uint = 4;
pub const NS_STYLE_LIST_STYLE_HEBREW: ::std::os::raw::c_uint = 5;
pub const NS_STYLE_LIST_STYLE_JAPANESE_INFORMAL: ::std::os::raw::c_uint = 6;
pub const NS_STYLE_LIST_STYLE_JAPANESE_FORMAL: ::std::os::raw::c_uint = 7;
pub const NS_STYLE_LIST_STYLE_KOREAN_HANGUL_FORMAL: ::std::os::raw::c_uint =
    8;
pub const NS_STYLE_LIST_STYLE_KOREAN_HANJA_INFORMAL: ::std::os::raw::c_uint =
    9;
pub const NS_STYLE_LIST_STYLE_KOREAN_HANJA_FORMAL: ::std::os::raw::c_uint =
    10;
pub const NS_STYLE_LIST_STYLE_SIMP_CHINESE_INFORMAL: ::std::os::raw::c_uint =
    11;
pub const NS_STYLE_LIST_STYLE_SIMP_CHINESE_FORMAL: ::std::os::raw::c_uint =
    12;
pub const NS_STYLE_LIST_STYLE_TRAD_CHINESE_INFORMAL: ::std::os::raw::c_uint =
    13;
pub const NS_STYLE_LIST_STYLE_TRAD_CHINESE_FORMAL: ::std::os::raw::c_uint =
    14;
pub const NS_STYLE_LIST_STYLE_ETHIOPIC_NUMERIC: ::std::os::raw::c_uint = 15;
pub const NS_STYLE_LIST_STYLE_DISCLOSURE_CLOSED: ::std::os::raw::c_uint = 16;
pub const NS_STYLE_LIST_STYLE_DISCLOSURE_OPEN: ::std::os::raw::c_uint = 17;
pub const NS_STYLE_LIST_STYLE__MAX: ::std::os::raw::c_uint = 18;
pub const NS_STYLE_LIST_STYLE_LOWER_ROMAN: ::std::os::raw::c_uint = 100;
pub const NS_STYLE_LIST_STYLE_UPPER_ROMAN: ::std::os::raw::c_uint = 101;
pub const NS_STYLE_LIST_STYLE_LOWER_ALPHA: ::std::os::raw::c_uint = 102;
pub const NS_STYLE_LIST_STYLE_UPPER_ALPHA: ::std::os::raw::c_uint = 103;
pub const NS_STYLE_LIST_STYLE_POSITION_INSIDE: ::std::os::raw::c_uint = 0;
pub const NS_STYLE_LIST_STYLE_POSITION_OUTSIDE: ::std::os::raw::c_uint = 1;
pub const NS_STYLE_MARGIN_SIZE_AUTO: ::std::os::raw::c_uint = 0;
pub const NS_STYLE_POINTER_EVENTS_NONE: ::std::os::raw::c_uint = 0;
pub const NS_STYLE_POINTER_EVENTS_VISIBLEPAINTED: ::std::os::raw::c_uint = 1;
pub const NS_STYLE_POINTER_EVENTS_VISIBLEFILL: ::std::os::raw::c_uint = 2;
pub const NS_STYLE_POINTER_EVENTS_VISIBLESTROKE: ::std::os::raw::c_uint = 3;
pub const NS_STYLE_POINTER_EVENTS_VISIBLE: ::std::os::raw::c_uint = 4;
pub const NS_STYLE_POINTER_EVENTS_PAINTED: ::std::os::raw::c_uint = 5;
pub const NS_STYLE_POINTER_EVENTS_FILL: ::std::os::raw::c_uint = 6;
pub const NS_STYLE_POINTER_EVENTS_STROKE: ::std::os::raw::c_uint = 7;
pub const NS_STYLE_POINTER_EVENTS_ALL: ::std::os::raw::c_uint = 8;
pub const NS_STYLE_POINTER_EVENTS_AUTO: ::std::os::raw::c_uint = 9;
pub const NS_STYLE_IMAGE_ORIENTATION_FLIP: ::std::os::raw::c_uint = 0;
pub const NS_STYLE_IMAGE_ORIENTATION_FROM_IMAGE: ::std::os::raw::c_uint = 1;
pub const NS_STYLE_ISOLATION_AUTO: ::std::os::raw::c_uint = 0;
pub const NS_STYLE_ISOLATION_ISOLATE: ::std::os::raw::c_uint = 1;
pub const NS_STYLE_OBJECT_FIT_FILL: ::std::os::raw::c_uint = 0;
pub const NS_STYLE_OBJECT_FIT_CONTAIN: ::std::os::raw::c_uint = 1;
pub const NS_STYLE_OBJECT_FIT_COVER: ::std::os::raw::c_uint = 2;
pub const NS_STYLE_OBJECT_FIT_NONE: ::std::os::raw::c_uint = 3;
pub const NS_STYLE_OBJECT_FIT_SCALE_DOWN: ::std::os::raw::c_uint = 4;
pub const NS_STYLE_RESIZE_NONE: ::std::os::raw::c_uint = 0;
pub const NS_STYLE_RESIZE_BOTH: ::std::os::raw::c_uint = 1;
pub const NS_STYLE_RESIZE_HORIZONTAL: ::std::os::raw::c_uint = 2;
pub const NS_STYLE_RESIZE_VERTICAL: ::std::os::raw::c_uint = 3;
pub const NS_STYLE_TEXT_ALIGN_START: ::std::os::raw::c_uint = 0;
pub const NS_STYLE_TEXT_ALIGN_LEFT: ::std::os::raw::c_uint = 1;
pub const NS_STYLE_TEXT_ALIGN_RIGHT: ::std::os::raw::c_uint = 2;
pub const NS_STYLE_TEXT_ALIGN_CENTER: ::std::os::raw::c_uint = 3;
pub const NS_STYLE_TEXT_ALIGN_JUSTIFY: ::std::os::raw::c_uint = 4;
pub const NS_STYLE_TEXT_ALIGN_CHAR: ::std::os::raw::c_uint = 5;
pub const NS_STYLE_TEXT_ALIGN_END: ::std::os::raw::c_uint = 6;
pub const NS_STYLE_TEXT_ALIGN_AUTO: ::std::os::raw::c_uint = 7;
pub const NS_STYLE_TEXT_ALIGN_MOZ_CENTER: ::std::os::raw::c_uint = 8;
pub const NS_STYLE_TEXT_ALIGN_MOZ_RIGHT: ::std::os::raw::c_uint = 9;
pub const NS_STYLE_TEXT_ALIGN_MOZ_LEFT: ::std::os::raw::c_uint = 10;
pub const NS_STYLE_TEXT_ALIGN_MOZ_CENTER_OR_INHERIT: ::std::os::raw::c_uint =
    11;
pub const NS_STYLE_TEXT_ALIGN_UNSAFE: ::std::os::raw::c_uint = 12;
pub const NS_STYLE_TEXT_ALIGN_MATCH_PARENT: ::std::os::raw::c_uint = 13;
pub const NS_STYLE_TEXT_DECORATION_LINE_NONE: ::std::os::raw::c_uint = 0;
pub const NS_STYLE_TEXT_DECORATION_LINE_UNDERLINE: ::std::os::raw::c_uint = 1;
pub const NS_STYLE_TEXT_DECORATION_LINE_OVERLINE: ::std::os::raw::c_uint = 2;
pub const NS_STYLE_TEXT_DECORATION_LINE_LINE_THROUGH: ::std::os::raw::c_uint =
    4;
pub const NS_STYLE_TEXT_DECORATION_LINE_BLINK: ::std::os::raw::c_uint = 8;
pub const NS_STYLE_TEXT_DECORATION_LINE_PREF_ANCHORS: ::std::os::raw::c_uint =
    16;
pub const NS_STYLE_TEXT_DECORATION_LINE_OVERRIDE_ALL: ::std::os::raw::c_uint =
    32;
pub const NS_STYLE_TEXT_DECORATION_LINE_LINES_MASK: ::std::os::raw::c_uint =
    7;
pub const NS_STYLE_TEXT_DECORATION_STYLE_NONE: ::std::os::raw::c_uint = 0;
pub const NS_STYLE_TEXT_DECORATION_STYLE_DOTTED: ::std::os::raw::c_uint = 1;
pub const NS_STYLE_TEXT_DECORATION_STYLE_DASHED: ::std::os::raw::c_uint = 2;
pub const NS_STYLE_TEXT_DECORATION_STYLE_SOLID: ::std::os::raw::c_uint = 3;
pub const NS_STYLE_TEXT_DECORATION_STYLE_DOUBLE: ::std::os::raw::c_uint = 4;
pub const NS_STYLE_TEXT_DECORATION_STYLE_WAVY: ::std::os::raw::c_uint = 5;
pub const NS_STYLE_TEXT_DECORATION_STYLE_MAX: ::std::os::raw::c_uint = 5;
pub const NS_STYLE_TEXT_OVERFLOW_CLIP: ::std::os::raw::c_uint = 0;
pub const NS_STYLE_TEXT_OVERFLOW_ELLIPSIS: ::std::os::raw::c_uint = 1;
pub const NS_STYLE_TEXT_OVERFLOW_STRING: ::std::os::raw::c_uint = 2;
pub const NS_STYLE_TEXT_TRANSFORM_NONE: ::std::os::raw::c_uint = 0;
pub const NS_STYLE_TEXT_TRANSFORM_CAPITALIZE: ::std::os::raw::c_uint = 1;
pub const NS_STYLE_TEXT_TRANSFORM_LOWERCASE: ::std::os::raw::c_uint = 2;
pub const NS_STYLE_TEXT_TRANSFORM_UPPERCASE: ::std::os::raw::c_uint = 3;
pub const NS_STYLE_TEXT_TRANSFORM_FULL_WIDTH: ::std::os::raw::c_uint = 4;
pub const NS_STYLE_TOUCH_ACTION_NONE: ::std::os::raw::c_uint = 1;
pub const NS_STYLE_TOUCH_ACTION_AUTO: ::std::os::raw::c_uint = 2;
pub const NS_STYLE_TOUCH_ACTION_PAN_X: ::std::os::raw::c_uint = 4;
pub const NS_STYLE_TOUCH_ACTION_PAN_Y: ::std::os::raw::c_uint = 8;
pub const NS_STYLE_TOUCH_ACTION_MANIPULATION: ::std::os::raw::c_uint = 16;
pub const NS_STYLE_TOP_LAYER_NONE: ::std::os::raw::c_uint = 0;
pub const NS_STYLE_TOP_LAYER_TOP: ::std::os::raw::c_uint = 1;
pub const NS_STYLE_TRANSFORM_BOX_BORDER_BOX: ::std::os::raw::c_uint = 0;
pub const NS_STYLE_TRANSFORM_BOX_FILL_BOX: ::std::os::raw::c_uint = 1;
pub const NS_STYLE_TRANSFORM_BOX_VIEW_BOX: ::std::os::raw::c_uint = 2;
pub const NS_STYLE_TRANSITION_TIMING_FUNCTION_EASE: ::std::os::raw::c_uint =
    0;
pub const NS_STYLE_TRANSITION_TIMING_FUNCTION_LINEAR: ::std::os::raw::c_uint =
    1;
pub const NS_STYLE_TRANSITION_TIMING_FUNCTION_EASE_IN: ::std::os::raw::c_uint
          =
    2;
pub const NS_STYLE_TRANSITION_TIMING_FUNCTION_EASE_OUT: ::std::os::raw::c_uint
          =
    3;
pub const NS_STYLE_TRANSITION_TIMING_FUNCTION_EASE_IN_OUT:
          ::std::os::raw::c_uint =
    4;
pub const NS_STYLE_TRANSITION_TIMING_FUNCTION_STEP_START:
          ::std::os::raw::c_uint =
    5;
pub const NS_STYLE_TRANSITION_TIMING_FUNCTION_STEP_END: ::std::os::raw::c_uint
          =
    6;
pub const NS_STYLE_VERTICAL_ALIGN_BASELINE: ::std::os::raw::c_uint = 14;
pub const NS_STYLE_VERTICAL_ALIGN_SUB: ::std::os::raw::c_uint = 15;
pub const NS_STYLE_VERTICAL_ALIGN_SUPER: ::std::os::raw::c_uint = 16;
pub const NS_STYLE_VERTICAL_ALIGN_TOP: ::std::os::raw::c_uint = 17;
pub const NS_STYLE_VERTICAL_ALIGN_TEXT_TOP: ::std::os::raw::c_uint = 18;
pub const NS_STYLE_VERTICAL_ALIGN_MIDDLE: ::std::os::raw::c_uint = 19;
pub const NS_STYLE_VERTICAL_ALIGN_TEXT_BOTTOM: ::std::os::raw::c_uint = 20;
pub const NS_STYLE_VERTICAL_ALIGN_BOTTOM: ::std::os::raw::c_uint = 21;
pub const NS_STYLE_VERTICAL_ALIGN_MIDDLE_WITH_BASELINE: ::std::os::raw::c_uint
          =
    22;
pub const NS_STYLE_VISIBILITY_HIDDEN: ::std::os::raw::c_uint = 0;
pub const NS_STYLE_VISIBILITY_VISIBLE: ::std::os::raw::c_uint = 1;
pub const NS_STYLE_VISIBILITY_COLLAPSE: ::std::os::raw::c_uint = 2;
pub const NS_STYLE_TABSIZE_INITIAL: ::std::os::raw::c_uint = 8;
pub const NS_STYLE_WHITESPACE_NORMAL: ::std::os::raw::c_uint = 0;
pub const NS_STYLE_WHITESPACE_PRE: ::std::os::raw::c_uint = 1;
pub const NS_STYLE_WHITESPACE_NOWRAP: ::std::os::raw::c_uint = 2;
pub const NS_STYLE_WHITESPACE_PRE_WRAP: ::std::os::raw::c_uint = 3;
pub const NS_STYLE_WHITESPACE_PRE_LINE: ::std::os::raw::c_uint = 4;
pub const NS_STYLE_WHITESPACE_PRE_SPACE: ::std::os::raw::c_uint = 5;
pub const NS_STYLE_WORDBREAK_NORMAL: ::std::os::raw::c_uint = 0;
pub const NS_STYLE_WORDBREAK_BREAK_ALL: ::std::os::raw::c_uint = 1;
pub const NS_STYLE_WORDBREAK_KEEP_ALL: ::std::os::raw::c_uint = 2;
pub const NS_STYLE_OVERFLOWWRAP_NORMAL: ::std::os::raw::c_uint = 0;
pub const NS_STYLE_OVERFLOWWRAP_BREAK_WORD: ::std::os::raw::c_uint = 1;
pub const NS_STYLE_HYPHENS_NONE: ::std::os::raw::c_uint = 0;
pub const NS_STYLE_HYPHENS_MANUAL: ::std::os::raw::c_uint = 1;
pub const NS_STYLE_HYPHENS_AUTO: ::std::os::raw::c_uint = 2;
pub const NS_STYLE_RUBY_ALIGN_START: ::std::os::raw::c_uint = 0;
pub const NS_STYLE_RUBY_ALIGN_CENTER: ::std::os::raw::c_uint = 1;
pub const NS_STYLE_RUBY_ALIGN_SPACE_BETWEEN: ::std::os::raw::c_uint = 2;
pub const NS_STYLE_RUBY_ALIGN_SPACE_AROUND: ::std::os::raw::c_uint = 3;
pub const NS_STYLE_RUBY_POSITION_OVER: ::std::os::raw::c_uint = 0;
pub const NS_STYLE_RUBY_POSITION_UNDER: ::std::os::raw::c_uint = 1;
pub const NS_STYLE_RUBY_POSITION_INTER_CHARACTER: ::std::os::raw::c_uint = 2;
pub const NS_STYLE_TEXT_SIZE_ADJUST_NONE: ::std::os::raw::c_uint = 0;
pub const NS_STYLE_TEXT_SIZE_ADJUST_AUTO: ::std::os::raw::c_uint = 1;
pub const NS_STYLE_TEXT_ORIENTATION_MIXED: ::std::os::raw::c_uint = 0;
pub const NS_STYLE_TEXT_ORIENTATION_UPRIGHT: ::std::os::raw::c_uint = 1;
pub const NS_STYLE_TEXT_ORIENTATION_SIDEWAYS: ::std::os::raw::c_uint = 2;
pub const NS_STYLE_TEXT_COMBINE_UPRIGHT_NONE: ::std::os::raw::c_uint = 0;
pub const NS_STYLE_TEXT_COMBINE_UPRIGHT_ALL: ::std::os::raw::c_uint = 1;
pub const NS_STYLE_TEXT_COMBINE_UPRIGHT_DIGITS_2: ::std::os::raw::c_uint = 2;
pub const NS_STYLE_TEXT_COMBINE_UPRIGHT_DIGITS_3: ::std::os::raw::c_uint = 3;
pub const NS_STYLE_TEXT_COMBINE_UPRIGHT_DIGITS_4: ::std::os::raw::c_uint = 4;
pub const NS_STYLE_LINE_HEIGHT_BLOCK_HEIGHT: ::std::os::raw::c_uint = 0;
pub const NS_STYLE_UNICODE_BIDI_NORMAL: ::std::os::raw::c_uint = 0;
pub const NS_STYLE_UNICODE_BIDI_EMBED: ::std::os::raw::c_uint = 1;
pub const NS_STYLE_UNICODE_BIDI_ISOLATE: ::std::os::raw::c_uint = 2;
pub const NS_STYLE_UNICODE_BIDI_BIDI_OVERRIDE: ::std::os::raw::c_uint = 4;
pub const NS_STYLE_UNICODE_BIDI_ISOLATE_OVERRIDE: ::std::os::raw::c_uint = 6;
pub const NS_STYLE_UNICODE_BIDI_PLAINTEXT: ::std::os::raw::c_uint = 8;
pub const NS_STYLE_TABLE_LAYOUT_AUTO: ::std::os::raw::c_uint = 0;
pub const NS_STYLE_TABLE_LAYOUT_FIXED: ::std::os::raw::c_uint = 1;
pub const NS_STYLE_TABLE_EMPTY_CELLS_HIDE: ::std::os::raw::c_uint = 0;
pub const NS_STYLE_TABLE_EMPTY_CELLS_SHOW: ::std::os::raw::c_uint = 1;
pub const NS_STYLE_CAPTION_SIDE_TOP: ::std::os::raw::c_uint = 0;
pub const NS_STYLE_CAPTION_SIDE_RIGHT: ::std::os::raw::c_uint = 1;
pub const NS_STYLE_CAPTION_SIDE_BOTTOM: ::std::os::raw::c_uint = 2;
pub const NS_STYLE_CAPTION_SIDE_LEFT: ::std::os::raw::c_uint = 3;
pub const NS_STYLE_CAPTION_SIDE_TOP_OUTSIDE: ::std::os::raw::c_uint = 4;
pub const NS_STYLE_CAPTION_SIDE_BOTTOM_OUTSIDE: ::std::os::raw::c_uint = 5;
pub const NS_STYLE_CELL_SCOPE_ROW: ::std::os::raw::c_uint = 0;
pub const NS_STYLE_CELL_SCOPE_COL: ::std::os::raw::c_uint = 1;
pub const NS_STYLE_CELL_SCOPE_ROWGROUP: ::std::os::raw::c_uint = 2;
pub const NS_STYLE_CELL_SCOPE_COLGROUP: ::std::os::raw::c_uint = 3;
pub const NS_STYLE_PAGE_MARKS_NONE: ::std::os::raw::c_uint = 0;
pub const NS_STYLE_PAGE_MARKS_CROP: ::std::os::raw::c_uint = 1;
pub const NS_STYLE_PAGE_MARKS_REGISTER: ::std::os::raw::c_uint = 2;
pub const NS_STYLE_PAGE_SIZE_AUTO: ::std::os::raw::c_uint = 0;
pub const NS_STYLE_PAGE_SIZE_PORTRAIT: ::std::os::raw::c_uint = 1;
pub const NS_STYLE_PAGE_SIZE_LANDSCAPE: ::std::os::raw::c_uint = 2;
pub const NS_STYLE_PAGE_BREAK_AUTO: ::std::os::raw::c_uint = 0;
pub const NS_STYLE_PAGE_BREAK_ALWAYS: ::std::os::raw::c_uint = 1;
pub const NS_STYLE_PAGE_BREAK_AVOID: ::std::os::raw::c_uint = 2;
pub const NS_STYLE_PAGE_BREAK_LEFT: ::std::os::raw::c_uint = 3;
pub const NS_STYLE_PAGE_BREAK_RIGHT: ::std::os::raw::c_uint = 4;
pub const NS_STYLE_COLUMN_COUNT_AUTO: ::std::os::raw::c_uint = 0;
pub const NS_STYLE_COLUMN_COUNT_UNLIMITED: ::std::os::raw::c_int = -1;
pub const NS_STYLE_COLUMN_FILL_AUTO: ::std::os::raw::c_uint = 0;
pub const NS_STYLE_COLUMN_FILL_BALANCE: ::std::os::raw::c_uint = 1;
pub const NS_STYLE_IME_MODE_AUTO: ::std::os::raw::c_uint = 0;
pub const NS_STYLE_IME_MODE_NORMAL: ::std::os::raw::c_uint = 1;
pub const NS_STYLE_IME_MODE_ACTIVE: ::std::os::raw::c_uint = 2;
pub const NS_STYLE_IME_MODE_DISABLED: ::std::os::raw::c_uint = 3;
pub const NS_STYLE_IME_MODE_INACTIVE: ::std::os::raw::c_uint = 4;
pub const NS_STYLE_GRADIENT_SHAPE_LINEAR: ::std::os::raw::c_uint = 0;
pub const NS_STYLE_GRADIENT_SHAPE_ELLIPTICAL: ::std::os::raw::c_uint = 1;
pub const NS_STYLE_GRADIENT_SHAPE_CIRCULAR: ::std::os::raw::c_uint = 2;
pub const NS_STYLE_GRADIENT_SIZE_CLOSEST_SIDE: ::std::os::raw::c_uint = 0;
pub const NS_STYLE_GRADIENT_SIZE_CLOSEST_CORNER: ::std::os::raw::c_uint = 1;
pub const NS_STYLE_GRADIENT_SIZE_FARTHEST_SIDE: ::std::os::raw::c_uint = 2;
pub const NS_STYLE_GRADIENT_SIZE_FARTHEST_CORNER: ::std::os::raw::c_uint = 3;
pub const NS_STYLE_GRADIENT_SIZE_EXPLICIT_SIZE: ::std::os::raw::c_uint = 4;
pub const NS_STYLE_DOMINANT_BASELINE_AUTO: ::std::os::raw::c_uint = 0;
pub const NS_STYLE_DOMINANT_BASELINE_USE_SCRIPT: ::std::os::raw::c_uint = 1;
pub const NS_STYLE_DOMINANT_BASELINE_NO_CHANGE: ::std::os::raw::c_uint = 2;
pub const NS_STYLE_DOMINANT_BASELINE_RESET_SIZE: ::std::os::raw::c_uint = 3;
pub const NS_STYLE_DOMINANT_BASELINE_IDEOGRAPHIC: ::std::os::raw::c_uint = 4;
pub const NS_STYLE_DOMINANT_BASELINE_ALPHABETIC: ::std::os::raw::c_uint = 5;
pub const NS_STYLE_DOMINANT_BASELINE_HANGING: ::std::os::raw::c_uint = 6;
pub const NS_STYLE_DOMINANT_BASELINE_MATHEMATICAL: ::std::os::raw::c_uint = 7;
pub const NS_STYLE_DOMINANT_BASELINE_CENTRAL: ::std::os::raw::c_uint = 8;
pub const NS_STYLE_DOMINANT_BASELINE_MIDDLE: ::std::os::raw::c_uint = 9;
pub const NS_STYLE_DOMINANT_BASELINE_TEXT_AFTER_EDGE: ::std::os::raw::c_uint =
    10;
pub const NS_STYLE_DOMINANT_BASELINE_TEXT_BEFORE_EDGE: ::std::os::raw::c_uint
          =
    11;
pub const NS_STYLE_IMAGE_RENDERING_AUTO: ::std::os::raw::c_uint = 0;
pub const NS_STYLE_IMAGE_RENDERING_OPTIMIZESPEED: ::std::os::raw::c_uint = 1;
pub const NS_STYLE_IMAGE_RENDERING_OPTIMIZEQUALITY: ::std::os::raw::c_uint =
    2;
pub const NS_STYLE_IMAGE_RENDERING_CRISPEDGES: ::std::os::raw::c_uint = 3;
pub const NS_STYLE_MASK_TYPE_LUMINANCE: ::std::os::raw::c_uint = 0;
pub const NS_STYLE_MASK_TYPE_ALPHA: ::std::os::raw::c_uint = 1;
pub const NS_STYLE_PAINT_ORDER_NORMAL: ::std::os::raw::c_uint = 0;
pub const NS_STYLE_PAINT_ORDER_FILL: ::std::os::raw::c_uint = 1;
pub const NS_STYLE_PAINT_ORDER_STROKE: ::std::os::raw::c_uint = 2;
pub const NS_STYLE_PAINT_ORDER_MARKERS: ::std::os::raw::c_uint = 3;
pub const NS_STYLE_PAINT_ORDER_LAST_VALUE: ::std::os::raw::c_uint = 3;
pub const NS_STYLE_PAINT_ORDER_BITWIDTH: ::std::os::raw::c_uint = 2;
pub const NS_STYLE_SHAPE_RENDERING_AUTO: ::std::os::raw::c_uint = 0;
pub const NS_STYLE_SHAPE_RENDERING_OPTIMIZESPEED: ::std::os::raw::c_uint = 1;
pub const NS_STYLE_SHAPE_RENDERING_CRISPEDGES: ::std::os::raw::c_uint = 2;
pub const NS_STYLE_SHAPE_RENDERING_GEOMETRICPRECISION: ::std::os::raw::c_uint
          =
    3;
pub const NS_STYLE_STROKE_LINECAP_BUTT: ::std::os::raw::c_uint = 0;
pub const NS_STYLE_STROKE_LINECAP_ROUND: ::std::os::raw::c_uint = 1;
pub const NS_STYLE_STROKE_LINECAP_SQUARE: ::std::os::raw::c_uint = 2;
pub const NS_STYLE_STROKE_LINEJOIN_MITER: ::std::os::raw::c_uint = 0;
pub const NS_STYLE_STROKE_LINEJOIN_ROUND: ::std::os::raw::c_uint = 1;
pub const NS_STYLE_STROKE_LINEJOIN_BEVEL: ::std::os::raw::c_uint = 2;
pub const NS_STYLE_STROKE_PROP_CONTEXT_VALUE: ::std::os::raw::c_uint = 0;
pub const NS_STYLE_TEXT_ANCHOR_START: ::std::os::raw::c_uint = 0;
pub const NS_STYLE_TEXT_ANCHOR_MIDDLE: ::std::os::raw::c_uint = 1;
pub const NS_STYLE_TEXT_ANCHOR_END: ::std::os::raw::c_uint = 2;
pub const NS_STYLE_TEXT_EMPHASIS_POSITION_OVER: ::std::os::raw::c_uint = 1;
pub const NS_STYLE_TEXT_EMPHASIS_POSITION_UNDER: ::std::os::raw::c_uint = 2;
pub const NS_STYLE_TEXT_EMPHASIS_POSITION_LEFT: ::std::os::raw::c_uint = 4;
pub const NS_STYLE_TEXT_EMPHASIS_POSITION_RIGHT: ::std::os::raw::c_uint = 8;
pub const NS_STYLE_TEXT_EMPHASIS_POSITION_DEFAULT: ::std::os::raw::c_uint = 9;
pub const NS_STYLE_TEXT_EMPHASIS_POSITION_DEFAULT_ZH: ::std::os::raw::c_uint =
    10;
pub const NS_STYLE_TEXT_EMPHASIS_STYLE_NONE: ::std::os::raw::c_uint = 0;
pub const NS_STYLE_TEXT_EMPHASIS_STYLE_FILL_MASK: ::std::os::raw::c_uint = 8;
pub const NS_STYLE_TEXT_EMPHASIS_STYLE_FILLED: ::std::os::raw::c_uint = 0;
pub const NS_STYLE_TEXT_EMPHASIS_STYLE_OPEN: ::std::os::raw::c_uint = 8;
pub const NS_STYLE_TEXT_EMPHASIS_STYLE_SHAPE_MASK: ::std::os::raw::c_uint = 7;
pub const NS_STYLE_TEXT_EMPHASIS_STYLE_DOT: ::std::os::raw::c_uint = 1;
pub const NS_STYLE_TEXT_EMPHASIS_STYLE_CIRCLE: ::std::os::raw::c_uint = 2;
pub const NS_STYLE_TEXT_EMPHASIS_STYLE_DOUBLE_CIRCLE: ::std::os::raw::c_uint =
    3;
pub const NS_STYLE_TEXT_EMPHASIS_STYLE_TRIANGLE: ::std::os::raw::c_uint = 4;
pub const NS_STYLE_TEXT_EMPHASIS_STYLE_SESAME: ::std::os::raw::c_uint = 5;
pub const NS_STYLE_TEXT_EMPHASIS_STYLE_STRING: ::std::os::raw::c_uint = 255;
pub const NS_STYLE_TEXT_RENDERING_AUTO: ::std::os::raw::c_uint = 0;
pub const NS_STYLE_TEXT_RENDERING_OPTIMIZESPEED: ::std::os::raw::c_uint = 1;
pub const NS_STYLE_TEXT_RENDERING_OPTIMIZELEGIBILITY: ::std::os::raw::c_uint =
    2;
pub const NS_STYLE_TEXT_RENDERING_GEOMETRICPRECISION: ::std::os::raw::c_uint =
    3;
pub const NS_STYLE_COLOR_ADJUST_ECONOMY: ::std::os::raw::c_uint = 0;
pub const NS_STYLE_COLOR_ADJUST_EXACT: ::std::os::raw::c_uint = 1;
pub const NS_STYLE_COLOR_INTERPOLATION_AUTO: ::std::os::raw::c_uint = 0;
pub const NS_STYLE_COLOR_INTERPOLATION_SRGB: ::std::os::raw::c_uint = 1;
pub const NS_STYLE_COLOR_INTERPOLATION_LINEARRGB: ::std::os::raw::c_uint = 2;
pub const NS_STYLE_VECTOR_EFFECT_NONE: ::std::os::raw::c_uint = 0;
pub const NS_STYLE_VECTOR_EFFECT_NON_SCALING_STROKE: ::std::os::raw::c_uint =
    1;
pub const NS_STYLE_BACKFACE_VISIBILITY_VISIBLE: ::std::os::raw::c_uint = 1;
pub const NS_STYLE_BACKFACE_VISIBILITY_HIDDEN: ::std::os::raw::c_uint = 0;
pub const NS_STYLE_TRANSFORM_STYLE_FLAT: ::std::os::raw::c_uint = 0;
pub const NS_STYLE_TRANSFORM_STYLE_PRESERVE_3D: ::std::os::raw::c_uint = 1;
pub const NS_STYLE_CONTEXT_FILL_OPACITY: ::std::os::raw::c_uint = 0;
pub const NS_STYLE_CONTEXT_STROKE_OPACITY: ::std::os::raw::c_uint = 1;
pub const NS_STYLE_BLEND_NORMAL: ::std::os::raw::c_uint = 0;
pub const NS_STYLE_BLEND_MULTIPLY: ::std::os::raw::c_uint = 1;
pub const NS_STYLE_BLEND_SCREEN: ::std::os::raw::c_uint = 2;
pub const NS_STYLE_BLEND_OVERLAY: ::std::os::raw::c_uint = 3;
pub const NS_STYLE_BLEND_DARKEN: ::std::os::raw::c_uint = 4;
pub const NS_STYLE_BLEND_LIGHTEN: ::std::os::raw::c_uint = 5;
pub const NS_STYLE_BLEND_COLOR_DODGE: ::std::os::raw::c_uint = 6;
pub const NS_STYLE_BLEND_COLOR_BURN: ::std::os::raw::c_uint = 7;
pub const NS_STYLE_BLEND_HARD_LIGHT: ::std::os::raw::c_uint = 8;
pub const NS_STYLE_BLEND_SOFT_LIGHT: ::std::os::raw::c_uint = 9;
pub const NS_STYLE_BLEND_DIFFERENCE: ::std::os::raw::c_uint = 10;
pub const NS_STYLE_BLEND_EXCLUSION: ::std::os::raw::c_uint = 11;
pub const NS_STYLE_BLEND_HUE: ::std::os::raw::c_uint = 12;
pub const NS_STYLE_BLEND_SATURATION: ::std::os::raw::c_uint = 13;
pub const NS_STYLE_BLEND_COLOR: ::std::os::raw::c_uint = 14;
pub const NS_STYLE_BLEND_LUMINOSITY: ::std::os::raw::c_uint = 15;
pub const NS_STYLE_MASK_COMPOSITE_ADD: ::std::os::raw::c_uint = 0;
pub const NS_STYLE_MASK_COMPOSITE_SUBTRACT: ::std::os::raw::c_uint = 1;
pub const NS_STYLE_MASK_COMPOSITE_INTERSECT: ::std::os::raw::c_uint = 2;
pub const NS_STYLE_MASK_COMPOSITE_EXCLUDE: ::std::os::raw::c_uint = 3;
pub const NS_STYLE_CONTROL_CHARACTER_VISIBILITY_HIDDEN: ::std::os::raw::c_uint
          =
    0;
pub const NS_STYLE_CONTROL_CHARACTER_VISIBILITY_VISIBLE:
          ::std::os::raw::c_uint =
    1;
pub const NS_STYLE_COUNTER_SYSTEM_CYCLIC: ::std::os::raw::c_uint = 0;
pub const NS_STYLE_COUNTER_SYSTEM_NUMERIC: ::std::os::raw::c_uint = 1;
pub const NS_STYLE_COUNTER_SYSTEM_ALPHABETIC: ::std::os::raw::c_uint = 2;
pub const NS_STYLE_COUNTER_SYSTEM_SYMBOLIC: ::std::os::raw::c_uint = 3;
pub const NS_STYLE_COUNTER_SYSTEM_ADDITIVE: ::std::os::raw::c_uint = 4;
pub const NS_STYLE_COUNTER_SYSTEM_FIXED: ::std::os::raw::c_uint = 5;
pub const NS_STYLE_COUNTER_SYSTEM_EXTENDS: ::std::os::raw::c_uint = 6;
pub const NS_STYLE_COUNTER_RANGE_INFINITE: ::std::os::raw::c_uint = 0;
pub const NS_STYLE_COUNTER_SPEAKAS_BULLETS: ::std::os::raw::c_uint = 0;
pub const NS_STYLE_COUNTER_SPEAKAS_NUMBERS: ::std::os::raw::c_uint = 1;
pub const NS_STYLE_COUNTER_SPEAKAS_WORDS: ::std::os::raw::c_uint = 2;
pub const NS_STYLE_COUNTER_SPEAKAS_SPELL_OUT: ::std::os::raw::c_uint = 3;
pub const NS_STYLE_COUNTER_SPEAKAS_OTHER: ::std::os::raw::c_uint = 255;
pub const NS_STYLE_SCROLL_BEHAVIOR_AUTO: ::std::os::raw::c_uint = 0;
pub const NS_STYLE_SCROLL_BEHAVIOR_SMOOTH: ::std::os::raw::c_uint = 1;
pub const NS_STYLE_SCROLL_SNAP_TYPE_NONE: ::std::os::raw::c_uint = 0;
pub const NS_STYLE_SCROLL_SNAP_TYPE_MANDATORY: ::std::os::raw::c_uint = 1;
pub const NS_STYLE_SCROLL_SNAP_TYPE_PROXIMITY: ::std::os::raw::c_uint = 2;
pub const NS_STYLE_ORIENTATION_PORTRAIT: ::std::os::raw::c_uint = 0;
pub const NS_STYLE_ORIENTATION_LANDSCAPE: ::std::os::raw::c_uint = 1;
pub const NS_STYLE_SCAN_PROGRESSIVE: ::std::os::raw::c_uint = 0;
pub const NS_STYLE_SCAN_INTERLACE: ::std::os::raw::c_uint = 1;
pub const NS_STYLE_DISPLAY_MODE_BROWSER: ::std::os::raw::c_uint = 0;
pub const NS_STYLE_DISPLAY_MODE_MINIMAL_UI: ::std::os::raw::c_uint = 1;
pub const NS_STYLE_DISPLAY_MODE_STANDALONE: ::std::os::raw::c_uint = 2;
pub const NS_STYLE_INHERIT_MASK: ::std::os::raw::c_uint = 16777215;
pub const NS_STYLE_HAS_TEXT_DECORATION_LINES: ::std::os::raw::c_uint =
    16777216;
pub const NS_STYLE_HAS_PSEUDO_ELEMENT_DATA: ::std::os::raw::c_uint = 33554432;
pub const NS_STYLE_RELEVANT_LINK_VISITED: ::std::os::raw::c_uint = 67108864;
pub const NS_STYLE_IS_STYLE_IF_VISITED: ::std::os::raw::c_uint = 134217728;
pub const NS_STYLE_CHILD_USES_GRANDANCESTOR_STYLE: ::std::os::raw::c_uint =
    268435456;
pub const NS_STYLE_IS_SHARED: ::std::os::raw::c_uint = 536870912;
pub const NS_STYLE_IS_GOING_AWAY: ::std::os::raw::c_uint = 1073741824;
pub const NS_STYLE_SUPPRESS_LINEBREAK: ::std::os::raw::c_uint = 2147483648;
pub const NS_STYLE_IN_DISPLAY_NONE_SUBTREE: ::std::os::raw::c_ulonglong =
    4294967296;
pub const NS_STYLE_INELIGIBLE_FOR_SHARING: ::std::os::raw::c_ulonglong =
    8589934592;
pub const NS_STYLE_HAS_CHILD_THAT_USES_RESET_STYLE:
          ::std::os::raw::c_ulonglong =
    17179869184;
pub const NS_STYLE_IS_TEXT_COMBINED: ::std::os::raw::c_ulonglong =
    34359738368;
pub const NS_STYLE_CONTEXT_TYPE_SHIFT: ::std::os::raw::c_uint = 36;
#[repr(C)]
#[derive(Debug, Copy)]
pub struct fallible_t {
    pub _address: u8,
}
#[test]
fn bindgen_test_layout_fallible_t() {
    assert_eq!(::std::mem::size_of::<fallible_t>() , 1usize);
    assert_eq!(::std::mem::align_of::<fallible_t>() , 1usize);
}
impl Clone for fallible_t {
    fn clone(&self) -> Self { *self }
}
/** Convenient aliases. */
pub type TrueType = u8;
pub type FalseType = u8;
/**
 * MozRefCountType is Mozilla's reference count type.
 *
 * We use the same type to represent the refcount of RefCounted objects
 * as well, in order to be able to use the leak detection facilities
 * that are implemented by XPCOM.
 *
 * Note that this type is not in the mozilla namespace so that it is
 * usable for both C and C++ code.
 */
pub type MozRefCountType = usize;
pub const nsresult_NS_ERROR_NO_INTERFACE: nsresult = nsresult::NS_NOINTERFACE;
pub const nsresult_NS_ERROR_INVALID_ARG: nsresult =
    nsresult::NS_ERROR_ILLEGAL_VALUE;
pub const nsresult_NS_ERROR_INVALID_POINTER: nsresult =
    nsresult::NS_ERROR_ILLEGAL_VALUE;
pub const nsresult_NS_ERROR_NULL_POINTER: nsresult =
    nsresult::NS_ERROR_ILLEGAL_VALUE;
pub const nsresult_NS_BINDING_SUCCEEDED: nsresult = nsresult::NS_OK;
pub const nsresult_NS_NET_STATUS_RESOLVING_HOST: nsresult =
    nsresult::NS_BINDING_REDIRECTED;
pub const nsresult_NS_NET_STATUS_RESOLVED_HOST: nsresult =
    nsresult::NS_ERROR_ALREADY_CONNECTED;
pub const nsresult_NS_NET_STATUS_CONNECTED_TO: nsresult =
    nsresult::NS_BINDING_RETARGETED;
pub const nsresult_NS_NET_STATUS_WAITING_FOR: nsresult =
    nsresult::NS_ERROR_MALFORMED_URI;
pub const nsresult_NS_STATE_PROPERTY_EXISTS: nsresult = nsresult::NS_OK;
pub const nsresult_NS_ERROR_HTMLPARSER_CONTINUE: nsresult = nsresult::NS_OK;
pub const nsresult_NS_RDF_ASSERTION_ACCEPTED: nsresult = nsresult::NS_OK;
pub const nsresult_NS_EXACT_LENGTH: nsresult =
    nsresult::NS_OK_UDEC_EXACTLENGTH;
pub const nsresult_NS_PARTIAL_MORE_INPUT: nsresult =
    nsresult::NS_OK_UDEC_MOREINPUT;
pub const nsresult_NS_PARTIAL_MORE_OUTPUT: nsresult =
    nsresult::NS_OK_UDEC_MOREOUTPUT;
pub const nsresult_NS_ERROR_ILLEGAL_INPUT: nsresult =
    nsresult::NS_ERROR_UDEC_ILLEGALINPUT;
pub const nsresult_NS_ERROR_XPATH_INVALID_ARG: nsresult =
    nsresult::NS_ERROR_ILLEGAL_VALUE;
pub const nsresult_NS_SUCCESS_RESTART_APP: nsresult =
    nsresult::NS_SUCCESS_DONT_FIXUP;
#[repr(u32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum nsresult {
    NS_OK = 0,
    NS_ERROR_BASE = 3253927936,
    NS_ERROR_NOT_INITIALIZED = 3253927937,
    NS_ERROR_ALREADY_INITIALIZED = 3253927938,
    NS_ERROR_NOT_IMPLEMENTED = 2147500033,
    NS_NOINTERFACE = 2147500034,
    NS_ERROR_ABORT = 2147500036,
    NS_ERROR_FAILURE = 2147500037,
    NS_ERROR_UNEXPECTED = 2147549183,
    NS_ERROR_OUT_OF_MEMORY = 2147942414,
    NS_ERROR_ILLEGAL_VALUE = 2147942487,
    NS_ERROR_NO_AGGREGATION = 2147746064,
    NS_ERROR_NOT_AVAILABLE = 2147746065,
    NS_ERROR_FACTORY_NOT_REGISTERED = 2147746132,
    NS_ERROR_FACTORY_REGISTER_AGAIN = 2147746133,
    NS_ERROR_FACTORY_NOT_LOADED = 2147746296,
    NS_ERROR_FACTORY_NO_SIGNATURE_SUPPORT = 3253928193,
    NS_ERROR_FACTORY_EXISTS = 3253928192,
    NS_ERROR_CANNOT_CONVERT_DATA = 2152071169,
    NS_ERROR_OBJECT_IS_IMMUTABLE = 2152071170,
    NS_ERROR_LOSS_OF_SIGNIFICANT_DATA = 2152071171,
    NS_ERROR_NOT_SAME_THREAD = 2152071172,
    NS_ERROR_ILLEGAL_DURING_SHUTDOWN = 2152071198,
    NS_ERROR_SERVICE_NOT_AVAILABLE = 2152071190,
    NS_SUCCESS_LOSS_OF_INSIGNIFICANT_DATA = 4587521,
    NS_SUCCESS_INTERRUPTED_TRAVERSE = 4587522,
    NS_ERROR_SERVICE_NOT_FOUND = 4587542,
    NS_ERROR_SERVICE_IN_USE = 4587543,
    NS_BASE_STREAM_CLOSED = 2152136706,
    NS_BASE_STREAM_OSERROR = 2152136707,
    NS_BASE_STREAM_ILLEGAL_ARGS = 2152136708,
    NS_BASE_STREAM_NO_CONVERTER = 2152136709,
    NS_BASE_STREAM_BAD_CONVERSION = 2152136710,
    NS_BASE_STREAM_WOULD_BLOCK = 2152136711,
    NS_ERROR_GFX_PRINTER_NO_PRINTER_AVAILABLE = 2152202241,
    NS_ERROR_GFX_PRINTER_NAME_NOT_FOUND = 2152202242,
    NS_ERROR_GFX_PRINTER_COULD_NOT_OPEN_FILE = 2152202243,
    NS_ERROR_GFX_PRINTER_STARTDOC = 2152202244,
    NS_ERROR_GFX_PRINTER_ENDDOC = 2152202245,
    NS_ERROR_GFX_PRINTER_STARTPAGE = 2152202246,
    NS_ERROR_GFX_PRINTER_DOC_IS_BUSY = 2152202247,
    NS_ERROR_GFX_CMAP_MALFORMED = 2152202291,
    NS_SUCCESS_EVENT_CONSUMED = 4784129,
    NS_SUCCESS_EVENT_HANDLED_ASYNCHRONOUSLY = 4784130,
    NS_BINDING_FAILED = 2152398849,
    NS_BINDING_ABORTED = 2152398850,
    NS_BINDING_REDIRECTED = 2152398851,
    NS_BINDING_RETARGETED = 2152398852,
    NS_ERROR_MALFORMED_URI = 2152398858,
    NS_ERROR_IN_PROGRESS = 2152398863,
    NS_ERROR_NO_CONTENT = 2152398865,
    NS_ERROR_UNKNOWN_PROTOCOL = 2152398866,
    NS_ERROR_INVALID_CONTENT_ENCODING = 2152398875,
    NS_ERROR_CORRUPTED_CONTENT = 2152398877,
    NS_ERROR_INVALID_SIGNATURE = 2152398906,
    NS_ERROR_FIRST_HEADER_FIELD_COMPONENT_EMPTY = 2152398882,
    NS_ERROR_ALREADY_OPENED = 2152398921,
    NS_ERROR_ALREADY_CONNECTED = 2152398859,
    NS_ERROR_NOT_CONNECTED = 2152398860,
    NS_ERROR_CONNECTION_REFUSED = 2152398861,
    NS_ERROR_NET_TIMEOUT = 2152398862,
    NS_ERROR_OFFLINE = 2152398864,
    NS_ERROR_PORT_ACCESS_NOT_ALLOWED = 2152398867,
    NS_ERROR_NET_RESET = 2152398868,
    NS_ERROR_NET_INTERRUPT = 2152398919,
    NS_ERROR_PROXY_CONNECTION_REFUSED = 2152398920,
    NS_ERROR_NET_PARTIAL_TRANSFER = 2152398924,
    NS_ERROR_NET_INADEQUATE_SECURITY = 2152398930,
    NS_ERROR_NOT_RESUMABLE = 2152398873,
    NS_ERROR_REDIRECT_LOOP = 2152398879,
    NS_ERROR_ENTITY_CHANGED = 2152398880,
    NS_ERROR_UNSAFE_CONTENT_TYPE = 2152398922,
    NS_ERROR_REMOTE_XUL = 2152398923,
    NS_ERROR_LOAD_SHOWED_ERRORPAGE = 2152398925,
    NS_ERROR_FTP_LOGIN = 2152398869,
    NS_ERROR_FTP_CWD = 2152398870,
    NS_ERROR_FTP_PASV = 2152398871,
    NS_ERROR_FTP_PWD = 2152398872,
    NS_ERROR_FTP_LIST = 2152398876,
    NS_ERROR_UNKNOWN_HOST = 2152398878,
    NS_ERROR_DNS_LOOKUP_QUEUE_FULL = 2152398881,
    NS_ERROR_UNKNOWN_PROXY_HOST = 2152398890,
    NS_ERROR_UNKNOWN_SOCKET_TYPE = 2152398899,
    NS_ERROR_SOCKET_CREATE_FAILED = 2152398900,
    NS_ERROR_SOCKET_ADDRESS_NOT_SUPPORTED = 2152398901,
    NS_ERROR_SOCKET_ADDRESS_IN_USE = 2152398902,
    NS_ERROR_CACHE_KEY_NOT_FOUND = 2152398909,
    NS_ERROR_CACHE_DATA_IS_STREAM = 2152398910,
    NS_ERROR_CACHE_DATA_IS_NOT_STREAM = 2152398911,
    NS_ERROR_CACHE_WAIT_FOR_VALIDATION = 2152398912,
    NS_ERROR_CACHE_ENTRY_DOOMED = 2152398913,
    NS_ERROR_CACHE_READ_ACCESS_DENIED = 2152398914,
    NS_ERROR_CACHE_WRITE_ACCESS_DENIED = 2152398915,
    NS_ERROR_CACHE_IN_USE = 2152398916,
    NS_ERROR_DOCUMENT_NOT_CACHED = 2152398918,
    NS_ERROR_INSUFFICIENT_DOMAIN_LEVELS = 2152398928,
    NS_ERROR_HOST_IS_IP_ADDRESS = 2152398929,
    NS_SUCCESS_ADOPTED_DATA = 4915290,
    NS_NET_STATUS_BEGIN_FTP_TRANSACTION = 4915227,
    NS_NET_STATUS_END_FTP_TRANSACTION = 4915228,
    NS_SUCCESS_AUTH_FINISHED = 4915240,
    NS_NET_STATUS_READING = 2152398856,
    NS_NET_STATUS_WRITING = 2152398857,
    NS_NET_STATUS_CONNECTING_TO = 2152398855,
    NS_NET_STATUS_SENDING_TO = 2152398853,
    NS_NET_STATUS_RECEIVING_FROM = 2152398854,
    NS_ERROR_INTERCEPTION_FAILED = 2152398948,
    NS_ERROR_PLUGINS_PLUGINSNOTCHANGED = 2152465384,
    NS_ERROR_PLUGIN_DISABLED = 2152465385,
    NS_ERROR_PLUGIN_BLOCKLISTED = 2152465386,
    NS_ERROR_PLUGIN_TIME_RANGE_NOT_SUPPORTED = 2152465387,
    NS_ERROR_PLUGIN_CLICKTOPLAY = 2152465388,
    NS_PLUGIN_INIT_PENDING = 4981741,
    NS_TABLELAYOUT_CELL_NOT_FOUND = 5046272,
    NS_POSITION_BEFORE_TABLE = 5046275,
    NS_STATE_PROPERTY_NOT_THERE = 5046277,
    NS_ERROR_HTMLPARSER_EOF = 2152596456,
    NS_ERROR_HTMLPARSER_UNKNOWN = 2152596457,
    NS_ERROR_HTMLPARSER_CANTPROPAGATE = 2152596458,
    NS_ERROR_HTMLPARSER_CONTEXTMISMATCH = 2152596459,
    NS_ERROR_HTMLPARSER_BADFILENAME = 2152596460,
    NS_ERROR_HTMLPARSER_BADURL = 2152596461,
    NS_ERROR_HTMLPARSER_INVALIDPARSERCONTEXT = 2152596462,
    NS_ERROR_HTMLPARSER_INTERRUPTED = 2152596463,
    NS_ERROR_HTMLPARSER_BLOCK = 2152596464,
    NS_ERROR_HTMLPARSER_BADTOKENIZER = 2152596465,
    NS_ERROR_HTMLPARSER_BADATTRIBUTE = 2152596466,
    NS_ERROR_HTMLPARSER_UNRESOLVEDDTD = 2152596467,
    NS_ERROR_HTMLPARSER_MISPLACEDTABLECONTENT = 2152596468,
    NS_ERROR_HTMLPARSER_BADDTD = 2152596469,
    NS_ERROR_HTMLPARSER_BADCONTEXT = 2152596470,
    NS_ERROR_HTMLPARSER_STOPPARSING = 2152596471,
    NS_ERROR_HTMLPARSER_UNTERMINATEDSTRINGLITERAL = 2152596472,
    NS_ERROR_HTMLPARSER_HIERARCHYTOODEEP = 2152596473,
    NS_ERROR_HTMLPARSER_FAKE_ENDTAG = 2152596474,
    NS_ERROR_HTMLPARSER_INVALID_COMMENT = 2152596475,
    NS_HTMLTOKENS_NOT_AN_ENTITY = 5113808,
    NS_HTMLPARSER_VALID_META_CHARSET = 5114808,
    NS_RDF_CURSOR_EMPTY = 5177345,
    NS_RDF_NO_VALUE = 5177346,
    NS_RDF_ASSERTION_REJECTED = 5177347,
    NS_RDF_STOP_VISIT = 5177348,
    NS_ERROR_UCONV_NOCONV = 2152726529,
    NS_ERROR_UDEC_ILLEGALINPUT = 2152726542,
    NS_SUCCESS_USING_FALLBACK_LOCALE = 5242882,
    NS_OK_UDEC_EXACTLENGTH = 5242891,
    NS_OK_UDEC_MOREINPUT = 5242892,
    NS_OK_UDEC_MOREOUTPUT = 5242893,
    NS_OK_UDEC_NOBOMFOUND = 5242894,
    NS_OK_UENC_EXACTLENGTH = 5242913,
    NS_OK_UENC_MOREOUTPUT = 5242914,
    NS_ERROR_UENC_NOMAPPING = 5242915,
    NS_OK_UENC_MOREINPUT = 5242916,
    NS_ERROR_FILE_UNRECOGNIZED_PATH = 2152857601,
    NS_ERROR_FILE_UNRESOLVABLE_SYMLINK = 2152857602,
    NS_ERROR_FILE_EXECUTION_FAILED = 2152857603,
    NS_ERROR_FILE_UNKNOWN_TYPE = 2152857604,
    NS_ERROR_FILE_DESTINATION_NOT_DIR = 2152857605,
    NS_ERROR_FILE_TARGET_DOES_NOT_EXIST = 2152857606,
    NS_ERROR_FILE_COPY_OR_MOVE_FAILED = 2152857607,
    NS_ERROR_FILE_ALREADY_EXISTS = 2152857608,
    NS_ERROR_FILE_INVALID_PATH = 2152857609,
    NS_ERROR_FILE_DISK_FULL = 2152857610,
    NS_ERROR_FILE_CORRUPTED = 2152857611,
    NS_ERROR_FILE_NOT_DIRECTORY = 2152857612,
    NS_ERROR_FILE_IS_DIRECTORY = 2152857613,
    NS_ERROR_FILE_IS_LOCKED = 2152857614,
    NS_ERROR_FILE_TOO_BIG = 2152857615,
    NS_ERROR_FILE_NO_DEVICE_SPACE = 2152857616,
    NS_ERROR_FILE_NAME_TOO_LONG = 2152857617,
    NS_ERROR_FILE_NOT_FOUND = 2152857618,
    NS_ERROR_FILE_READ_ONLY = 2152857619,
    NS_ERROR_FILE_DIR_NOT_EMPTY = 2152857620,
    NS_ERROR_FILE_ACCESS_DENIED = 2152857621,
    NS_SUCCESS_FILE_DIRECTORY_EMPTY = 5373953,
    NS_SUCCESS_AGGREGATE_RESULT = 5373954,
    NS_ERROR_DOM_INDEX_SIZE_ERR = 2152923137,
    NS_ERROR_DOM_HIERARCHY_REQUEST_ERR = 2152923139,
    NS_ERROR_DOM_WRONG_DOCUMENT_ERR = 2152923140,
    NS_ERROR_DOM_INVALID_CHARACTER_ERR = 2152923141,
    NS_ERROR_DOM_NO_MODIFICATION_ALLOWED_ERR = 2152923143,
    NS_ERROR_DOM_NOT_FOUND_ERR = 2152923144,
    NS_ERROR_DOM_NOT_SUPPORTED_ERR = 2152923145,
    NS_ERROR_DOM_INUSE_ATTRIBUTE_ERR = 2152923146,
    NS_ERROR_DOM_INVALID_STATE_ERR = 2152923147,
    NS_ERROR_DOM_SYNTAX_ERR = 2152923148,
    NS_ERROR_DOM_INVALID_MODIFICATION_ERR = 2152923149,
    NS_ERROR_DOM_NAMESPACE_ERR = 2152923150,
    NS_ERROR_DOM_INVALID_ACCESS_ERR = 2152923151,
    NS_ERROR_DOM_TYPE_MISMATCH_ERR = 2152923153,
    NS_ERROR_DOM_SECURITY_ERR = 2152923154,
    NS_ERROR_DOM_NETWORK_ERR = 2152923155,
    NS_ERROR_DOM_ABORT_ERR = 2152923156,
    NS_ERROR_DOM_URL_MISMATCH_ERR = 2152923157,
    NS_ERROR_DOM_QUOTA_EXCEEDED_ERR = 2152923158,
    NS_ERROR_DOM_TIMEOUT_ERR = 2152923159,
    NS_ERROR_DOM_INVALID_NODE_TYPE_ERR = 2152923160,
    NS_ERROR_DOM_DATA_CLONE_ERR = 2152923161,
    NS_ERROR_TYPE_ERR = 2152923162,
    NS_ERROR_RANGE_ERR = 2152923163,
    NS_ERROR_DOM_ENCODING_NOT_SUPPORTED_ERR = 2152923164,
    NS_ERROR_DOM_INVALID_POINTER_ERR = 2152923165,
    NS_ERROR_DOM_UNKNOWN_ERR = 2152923166,
    NS_ERROR_DOM_DATA_ERR = 2152923167,
    NS_ERROR_DOM_OPERATION_ERR = 2152923168,
    NS_ERROR_DOM_NOT_ALLOWED_ERR = 2152923169,
    NS_ERROR_DOM_SECMAN_ERR = 2152924137,
    NS_ERROR_DOM_WRONG_TYPE_ERR = 2152924138,
    NS_ERROR_DOM_NOT_OBJECT_ERR = 2152924139,
    NS_ERROR_DOM_NOT_XPC_OBJECT_ERR = 2152924140,
    NS_ERROR_DOM_NOT_NUMBER_ERR = 2152924141,
    NS_ERROR_DOM_NOT_BOOLEAN_ERR = 2152924142,
    NS_ERROR_DOM_NOT_FUNCTION_ERR = 2152924143,
    NS_ERROR_DOM_TOO_FEW_PARAMETERS_ERR = 2152924144,
    NS_ERROR_DOM_BAD_DOCUMENT_DOMAIN = 2152924145,
    NS_ERROR_DOM_PROP_ACCESS_DENIED = 2152924146,
    NS_ERROR_DOM_XPCONNECT_ACCESS_DENIED = 2152924147,
    NS_ERROR_DOM_BAD_URI = 2152924148,
    NS_ERROR_DOM_RETVAL_UNDEFINED = 2152924149,
    NS_ERROR_DOM_QUOTA_REACHED = 2152924150,
    NS_ERROR_DOM_JS_EXCEPTION = 2152924151,
    NS_ERROR_UNCATCHABLE_EXCEPTION = 2152924152,
    NS_ERROR_DOM_DOMEXCEPTION = 2152924153,
    NS_ERROR_DOM_EXCEPTION_ON_JSCONTEXT = 2152924154,
    NS_ERROR_DOM_MALFORMED_URI = 2152924155,
    NS_ERROR_DOM_INVALID_HEADER_NAME = 2152924156,
    NS_ERROR_DOM_INVALID_STATE_XHR_HAS_INVALID_CONTEXT = 2152924157,
    NS_ERROR_DOM_INVALID_STATE_XHR_MUST_BE_OPENED = 2152924158,
    NS_ERROR_DOM_INVALID_STATE_XHR_MUST_NOT_BE_SENDING = 2152924159,
    NS_ERROR_DOM_INVALID_STATE_XHR_MUST_NOT_BE_LOADING_OR_DONE = 2152924160,
    NS_ERROR_DOM_INVALID_STATE_XHR_HAS_WRONG_RESPONSETYPE_FOR_RESPONSEXML =
        2152924161,
    NS_ERROR_DOM_INVALID_STATE_XHR_HAS_WRONG_RESPONSETYPE_FOR_RESPONSETEXT =
        2152924162,
    NS_ERROR_DOM_INVALID_STATE_XHR_CHUNKED_RESPONSETYPES_UNSUPPORTED_FOR_SYNC
        = 2152924163,
    NS_ERROR_DOM_INVALID_ACCESS_XHR_TIMEOUT_AND_RESPONSETYPE_UNSUPPORTED_FOR_SYNC
        = 2152924164,
    NS_SUCCESS_DOM_NO_OPERATION = 5439489,
    NS_SUCCESS_DOM_SCRIPT_EVALUATION_THREW = 5439490,
    NS_SUCCESS_DOM_SCRIPT_EVALUATION_THREW_UNCATCHABLE = 5439491,
    NS_IMAGELIB_SUCCESS_LOAD_FINISHED = 5505024,
    NS_IMAGELIB_CHANGING_OWNER = 5505025,
    NS_IMAGELIB_ERROR_FAILURE = 2152988677,
    NS_IMAGELIB_ERROR_NO_DECODER = 2152988678,
    NS_IMAGELIB_ERROR_NOT_FINISHED = 2152988679,
    NS_IMAGELIB_ERROR_NO_ENCODER = 2152988681,
    NS_SUCCESS_EDITOR_ELEMENT_NOT_FOUND = 5636097,
    NS_SUCCESS_EDITOR_FOUND_TARGET = 5636098,
    NS_ERROR_XPC_NOT_ENOUGH_ARGS = 2153185281,
    NS_ERROR_XPC_NEED_OUT_OBJECT = 2153185282,
    NS_ERROR_XPC_CANT_SET_OUT_VAL = 2153185283,
    NS_ERROR_XPC_NATIVE_RETURNED_FAILURE = 2153185284,
    NS_ERROR_XPC_CANT_GET_INTERFACE_INFO = 2153185285,
    NS_ERROR_XPC_CANT_GET_PARAM_IFACE_INFO = 2153185286,
    NS_ERROR_XPC_CANT_GET_METHOD_INFO = 2153185287,
    NS_ERROR_XPC_UNEXPECTED = 2153185288,
    NS_ERROR_XPC_BAD_CONVERT_JS = 2153185289,
    NS_ERROR_XPC_BAD_CONVERT_NATIVE = 2153185290,
    NS_ERROR_XPC_BAD_CONVERT_JS_NULL_REF = 2153185291,
    NS_ERROR_XPC_BAD_OP_ON_WN_PROTO = 2153185292,
    NS_ERROR_XPC_CANT_CONVERT_WN_TO_FUN = 2153185293,
    NS_ERROR_XPC_CANT_DEFINE_PROP_ON_WN = 2153185294,
    NS_ERROR_XPC_CANT_WATCH_WN_STATIC = 2153185295,
    NS_ERROR_XPC_CANT_EXPORT_WN_STATIC = 2153185296,
    NS_ERROR_XPC_SCRIPTABLE_CALL_FAILED = 2153185297,
    NS_ERROR_XPC_SCRIPTABLE_CTOR_FAILED = 2153185298,
    NS_ERROR_XPC_CANT_CALL_WO_SCRIPTABLE = 2153185299,
    NS_ERROR_XPC_CANT_CTOR_WO_SCRIPTABLE = 2153185300,
    NS_ERROR_XPC_CI_RETURNED_FAILURE = 2153185301,
    NS_ERROR_XPC_GS_RETURNED_FAILURE = 2153185302,
    NS_ERROR_XPC_BAD_CID = 2153185303,
    NS_ERROR_XPC_BAD_IID = 2153185304,
    NS_ERROR_XPC_CANT_CREATE_WN = 2153185305,
    NS_ERROR_XPC_JS_THREW_EXCEPTION = 2153185306,
    NS_ERROR_XPC_JS_THREW_NATIVE_OBJECT = 2153185307,
    NS_ERROR_XPC_JS_THREW_JS_OBJECT = 2153185308,
    NS_ERROR_XPC_JS_THREW_NULL = 2153185309,
    NS_ERROR_XPC_JS_THREW_STRING = 2153185310,
    NS_ERROR_XPC_JS_THREW_NUMBER = 2153185311,
    NS_ERROR_XPC_JAVASCRIPT_ERROR = 2153185312,
    NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS = 2153185313,
    NS_ERROR_XPC_CANT_CONVERT_PRIMITIVE_TO_ARRAY = 2153185314,
    NS_ERROR_XPC_CANT_CONVERT_OBJECT_TO_ARRAY = 2153185315,
    NS_ERROR_XPC_NOT_ENOUGH_ELEMENTS_IN_ARRAY = 2153185316,
    NS_ERROR_XPC_CANT_GET_ARRAY_INFO = 2153185317,
    NS_ERROR_XPC_NOT_ENOUGH_CHARS_IN_STRING = 2153185318,
    NS_ERROR_XPC_SECURITY_MANAGER_VETO = 2153185319,
    NS_ERROR_XPC_INTERFACE_NOT_SCRIPTABLE = 2153185320,
    NS_ERROR_XPC_INTERFACE_NOT_FROM_NSISUPPORTS = 2153185321,
    NS_ERROR_XPC_CANT_GET_JSOBJECT_OF_DOM_OBJECT = 2153185322,
    NS_ERROR_XPC_CANT_SET_READ_ONLY_CONSTANT = 2153185323,
    NS_ERROR_XPC_CANT_SET_READ_ONLY_ATTRIBUTE = 2153185324,
    NS_ERROR_XPC_CANT_SET_READ_ONLY_METHOD = 2153185325,
    NS_ERROR_XPC_CANT_ADD_PROP_TO_WRAPPED_NATIVE = 2153185326,
    NS_ERROR_XPC_CALL_TO_SCRIPTABLE_FAILED = 2153185327,
    NS_ERROR_XPC_JSOBJECT_HAS_NO_FUNCTION_NAMED = 2153185328,
    NS_ERROR_XPC_BAD_ID_STRING = 2153185329,
    NS_ERROR_XPC_BAD_INITIALIZER_NAME = 2153185330,
    NS_ERROR_XPC_HAS_BEEN_SHUTDOWN = 2153185331,
    NS_ERROR_XPC_CANT_MODIFY_PROP_ON_WN = 2153185332,
    NS_ERROR_XPC_BAD_CONVERT_JS_ZERO_ISNOT_NULL = 2153185333,
    NS_ERROR_XPC_CANT_PASS_CPOW_TO_NATIVE = 2153185334,
    NS_ERROR_LAUNCHED_CHILD_PROCESS = 2153251016,
    NS_ERROR_CSP_FORM_ACTION_VIOLATION = 2153381986,
    NS_ERROR_CSP_FRAME_ANCESTOR_VIOLATION = 2153381987,
    NS_ERROR_SRI_CORRUPT = 2153382088,
    NS_ERROR_SRI_DISABLED = 2153382089,
    NS_ERROR_SRI_NOT_ELIGIBLE = 2153382090,
    NS_ERROR_SRI_UNEXPECTED_HASH_TYPE = 2153382091,
    NS_ERROR_SRI_IMPORT = 2153382092,
    NS_ERROR_CMS_VERIFY_NOT_SIGNED = 2153382912,
    NS_ERROR_CMS_VERIFY_NO_CONTENT_INFO = 2153382913,
    NS_ERROR_CMS_VERIFY_BAD_DIGEST = 2153382914,
    NS_ERROR_CMS_VERIFY_NOCERT = 2153382916,
    NS_ERROR_CMS_VERIFY_UNTRUSTED = 2153382917,
    NS_ERROR_CMS_VERIFY_ERROR_UNVERIFIED = 2153382919,
    NS_ERROR_CMS_VERIFY_ERROR_PROCESSING = 2153382920,
    NS_ERROR_CMS_VERIFY_BAD_SIGNATURE = 2153382921,
    NS_ERROR_CMS_VERIFY_DIGEST_MISMATCH = 2153382922,
    NS_ERROR_CMS_VERIFY_UNKNOWN_ALGO = 2153382923,
    NS_ERROR_CMS_VERIFY_UNSUPPORTED_ALGO = 2153382924,
    NS_ERROR_CMS_VERIFY_MALFORMED_SIGNATURE = 2153382925,
    NS_ERROR_CMS_VERIFY_HEADER_MISMATCH = 2153382926,
    NS_ERROR_CMS_VERIFY_NOT_YET_ATTEMPTED = 2153382927,
    NS_ERROR_CMS_VERIFY_CERT_WITHOUT_ADDRESS = 2153382928,
    NS_ERROR_CMS_ENCRYPT_NO_BULK_ALG = 2153382944,
    NS_ERROR_CMS_ENCRYPT_INCOMPLETE = 2153382945,
    NS_ERROR_DOM_INVALID_EXPRESSION_ERR = 2153447475,
    NS_ERROR_DOM_TYPE_ERR = 2153447476,
    NS_ERROR_WONT_HANDLE_CONTENT = 2153578497,
    NS_ERROR_MALWARE_URI = 2153578526,
    NS_ERROR_PHISHING_URI = 2153578527,
    NS_ERROR_TRACKING_URI = 2153578530,
    NS_ERROR_UNWANTED_URI = 2153578531,
    NS_ERROR_BLOCKED_URI = 2153578533,
    NS_ERROR_SAVE_LINK_AS_TIMEOUT = 2153578528,
    NS_ERROR_PARSED_DATA_CACHED = 2153578529,
    NS_REFRESHURI_HEADER_FOUND = 6094850,
    NS_ERROR_IMAGE_SRC_CHANGED = 2153644036,
    NS_ERROR_IMAGE_BLOCKED = 2153644037,
    NS_ERROR_CONTENT_BLOCKED = 2153644038,
    NS_ERROR_CONTENT_BLOCKED_SHOW_ALT = 2153644039,
    NS_PROPTABLE_PROP_NOT_THERE = 2153644042,
    NS_ERROR_XBL_BLOCKED = 2153644047,
    NS_ERROR_CONTENT_CRASHED = 2153644048,
    NS_HTML_STYLE_PROPERTY_NOT_THERE = 6160386,
    NS_CONTENT_BLOCKED = 6160392,
    NS_CONTENT_BLOCKED_SHOW_ALT = 6160393,
    NS_PROPTABLE_PROP_OVERWRITTEN = 6160395,
    NS_FINDBROADCASTER_NOT_FOUND = 6160396,
    NS_FINDBROADCASTER_FOUND = 6160397,
    NS_FINDBROADCASTER_AWAIT_OVERLAYS = 6160398,
    NS_ERROR_XSLT_PARSE_FAILURE = 2153775105,
    NS_ERROR_XPATH_PARSE_FAILURE = 2153775106,
    NS_ERROR_XSLT_ALREADY_SET = 2153775107,
    NS_ERROR_XSLT_EXECUTION_FAILURE = 2153775108,
    NS_ERROR_XPATH_UNKNOWN_FUNCTION = 2153775109,
    NS_ERROR_XSLT_BAD_RECURSION = 2153775110,
    NS_ERROR_XSLT_BAD_VALUE = 2153775111,
    NS_ERROR_XSLT_NODESET_EXPECTED = 2153775112,
    NS_ERROR_XSLT_ABORTED = 2153775113,
    NS_ERROR_XSLT_NETWORK_ERROR = 2153775114,
    NS_ERROR_XSLT_WRONG_MIME_TYPE = 2153775115,
    NS_ERROR_XSLT_LOAD_RECURSION = 2153775116,
    NS_ERROR_XPATH_BAD_ARGUMENT_COUNT = 2153775117,
    NS_ERROR_XPATH_BAD_EXTENSION_FUNCTION = 2153775118,
    NS_ERROR_XPATH_PAREN_EXPECTED = 2153775119,
    NS_ERROR_XPATH_INVALID_AXIS = 2153775120,
    NS_ERROR_XPATH_NO_NODE_TYPE_TEST = 2153775121,
    NS_ERROR_XPATH_BRACKET_EXPECTED = 2153775122,
    NS_ERROR_XPATH_INVALID_VAR_NAME = 2153775123,
    NS_ERROR_XPATH_UNEXPECTED_END = 2153775124,
    NS_ERROR_XPATH_OPERATOR_EXPECTED = 2153775125,
    NS_ERROR_XPATH_UNCLOSED_LITERAL = 2153775126,
    NS_ERROR_XPATH_BAD_COLON = 2153775127,
    NS_ERROR_XPATH_BAD_BANG = 2153775128,
    NS_ERROR_XPATH_ILLEGAL_CHAR = 2153775129,
    NS_ERROR_XPATH_BINARY_EXPECTED = 2153775130,
    NS_ERROR_XSLT_LOAD_BLOCKED_ERROR = 2153775131,
    NS_ERROR_XPATH_INVALID_EXPRESSION_EVALUATED = 2153775132,
    NS_ERROR_XPATH_UNBALANCED_CURLY_BRACE = 2153775133,
    NS_ERROR_XSLT_BAD_NODE_NAME = 2153775134,
    NS_ERROR_XSLT_VAR_ALREADY_SET = 2153775135,
    NS_ERROR_XSLT_CALL_TO_KEY_NOT_ALLOWED = 2153775136,
    NS_XSLT_GET_NEW_HANDLER = 6291457,
    NS_ERROR_TRANSPORT_INIT = 2153840641,
    NS_ERROR_DUPLICATE_HANDLE = 2153840642,
    NS_ERROR_BRIDGE_OPEN_PARENT = 2153840643,
    NS_ERROR_BRIDGE_OPEN_CHILD = 2153840644,
    NS_ERROR_DOM_SVG_WRONG_TYPE_ERR = 2153906176,
    NS_ERROR_DOM_SVG_MATRIX_NOT_INVERTABLE = 2153906178,
    NS_ERROR_STORAGE_BUSY = 2153971713,
    NS_ERROR_STORAGE_IOERR = 2153971714,
    NS_ERROR_STORAGE_CONSTRAINT = 2153971715,
    NS_ERROR_DOM_FILE_NOT_FOUND_ERR = 2154102784,
    NS_ERROR_DOM_FILE_NOT_READABLE_ERR = 2154102785,
    NS_ERROR_DOM_FILE_ABORT_ERR = 2154102786,
    NS_ERROR_DOM_INDEXEDDB_UNKNOWN_ERR = 2154168321,
    NS_ERROR_DOM_INDEXEDDB_NOT_FOUND_ERR = 2154168323,
    NS_ERROR_DOM_INDEXEDDB_CONSTRAINT_ERR = 2154168324,
    NS_ERROR_DOM_INDEXEDDB_DATA_ERR = 2154168325,
    NS_ERROR_DOM_INDEXEDDB_NOT_ALLOWED_ERR = 2154168326,
    NS_ERROR_DOM_INDEXEDDB_TRANSACTION_INACTIVE_ERR = 2154168327,
    NS_ERROR_DOM_INDEXEDDB_ABORT_ERR = 2154168328,
    NS_ERROR_DOM_INDEXEDDB_READ_ONLY_ERR = 2154168329,
    NS_ERROR_DOM_INDEXEDDB_TIMEOUT_ERR = 2154168330,
    NS_ERROR_DOM_INDEXEDDB_QUOTA_ERR = 2154168331,
    NS_ERROR_DOM_INDEXEDDB_VERSION_ERR = 2154168332,
    NS_ERROR_DOM_INDEXEDDB_RECOVERABLE_ERR = 2154169321,
    NS_ERROR_DOM_FILEHANDLE_UNKNOWN_ERR = 2154233857,
    NS_ERROR_DOM_FILEHANDLE_NOT_ALLOWED_ERR = 2154233858,
    NS_ERROR_DOM_FILEHANDLE_INACTIVE_ERR = 2154233859,
    NS_ERROR_DOM_FILEHANDLE_ABORT_ERR = 2154233860,
    NS_ERROR_DOM_FILEHANDLE_READ_ONLY_ERR = 2154233861,
    NS_ERROR_DOM_FILEHANDLE_QUOTA_ERR = 2154233862,
    NS_ERROR_SIGNED_JAR_NOT_SIGNED = 2154299393,
    NS_ERROR_SIGNED_JAR_MODIFIED_ENTRY = 2154299394,
    NS_ERROR_SIGNED_JAR_UNSIGNED_ENTRY = 2154299395,
    NS_ERROR_SIGNED_JAR_ENTRY_MISSING = 2154299396,
    NS_ERROR_SIGNED_JAR_WRONG_SIGNATURE = 2154299397,
    NS_ERROR_SIGNED_JAR_ENTRY_TOO_LARGE = 2154299398,
    NS_ERROR_SIGNED_JAR_ENTRY_INVALID = 2154299399,
    NS_ERROR_SIGNED_JAR_MANIFEST_INVALID = 2154299400,
    NS_ERROR_DOM_FILESYSTEM_INVALID_PATH_ERR = 2154364929,
    NS_ERROR_DOM_FILESYSTEM_INVALID_MODIFICATION_ERR = 2154364930,
    NS_ERROR_DOM_FILESYSTEM_NO_MODIFICATION_ALLOWED_ERR = 2154364931,
    NS_ERROR_DOM_FILESYSTEM_PATH_EXISTS_ERR = 2154364932,
    NS_ERROR_DOM_FILESYSTEM_TYPE_MISMATCH_ERR = 2154364933,
    NS_ERROR_DOM_FILESYSTEM_UNKNOWN_ERR = 2154364934,
    NS_ERROR_SIGNED_APP_MANIFEST_INVALID = 2154496001,
    NS_ERROR_DOM_ANIM_MISSING_PROPS_ERR = 2154561537,
    NS_ERROR_DOM_PUSH_INVALID_REGISTRATION_ERR = 2154627073,
    NS_ERROR_DOM_PUSH_DENIED_ERR = 2154627074,
    NS_ERROR_DOM_PUSH_ABORT_ERR = 2154627075,
    NS_ERROR_DOM_PUSH_SERVICE_UNREACHABLE = 2154627076,
    NS_ERROR_DOM_PUSH_INVALID_KEY_ERR = 2154627077,
    NS_ERROR_DOM_PUSH_MISMATCHED_KEY_ERR = 2154627078,
    NS_ERROR_DOM_MEDIA_ABORT_ERR = 2154692609,
    NS_ERROR_DOM_MEDIA_NOT_ALLOWED_ERR = 2154692610,
    NS_ERROR_DOM_MEDIA_NOT_SUPPORTED_ERR = 2154692611,
    NS_ERROR_DOM_MEDIA_DECODE_ERR = 2154692612,
    NS_ERROR_DOM_MEDIA_FATAL_ERR = 2154692613,
    NS_ERROR_DOM_MEDIA_METADATA_ERR = 2154692614,
    NS_ERROR_DOM_MEDIA_OVERFLOW_ERR = 2154692615,
    NS_ERROR_DOM_MEDIA_END_OF_STREAM = 2154692616,
    NS_ERROR_DOM_MEDIA_WAITING_FOR_DATA = 2154692617,
    NS_ERROR_DOM_MEDIA_CANCELED = 2154692618,
    NS_ERROR_DOM_MEDIA_MEDIASINK_ERR = 2154692619,
    NS_ERROR_DOM_MEDIA_DEMUXER_ERR = 2154692620,
    NS_ERROR_DOM_MEDIA_CDM_ERR = 2154692621,
    NS_ERROR_DOM_MEDIA_NEED_NEW_DECODER = 2154692622,
    NS_ERROR_DOM_MEDIA_CUBEB_INITIALIZATION_ERR = 2154692709,
    NS_ERROR_DOWNLOAD_COMPLETE = 2155347969,
    NS_ERROR_DOWNLOAD_NOT_PARTIAL = 2155347970,
    NS_ERROR_UNORM_MOREOUTPUT = 2155348001,
    NS_ERROR_DOCSHELL_REQUEST_REJECTED = 2155348969,
    NS_ERROR_DOCUMENT_IS_PRINTMODE = 2155349969,
    NS_SUCCESS_DONT_FIXUP = 7864321,
    NS_SUCCESS_RESTART_APP_NOT_SAME_PROFILE = 7864323,
    NS_SUCCESS_UNORM_NOTFOUND = 7864337,
    NS_ERROR_NOT_IN_TREE = 2155348006,
    NS_OK_NO_NAME_CLAUSE_HANDLED = 7864354,
}
pub type nsrefcnt = MozRefCountType;
#[repr(C)]
#[derive(Debug)]
pub struct OwningNonNull<T> {
    pub mPtr: RefPtr<T>,
    pub mInited: bool,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct StaticRefPtr<T> {
    pub mRawPtr: *mut T,
}
#[repr(C)]
#[derive(Debug)]
pub struct RefPtr<T> {
    pub mRawPtr: *mut T,
}
pub type RefPtr_element_type<T> = T;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct RefPtr_Proxy<T, R, Args> {
    pub _phantom_0: ::std::marker::PhantomData<T>,
    pub _phantom_1: ::std::marker::PhantomData<R>,
    pub _phantom_2: ::std::marker::PhantomData<Args>,
}
pub type RefPtr_Proxy_member_function = [u8; 0usize];
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct RefPtr_ConstRemovingRefPtrTraits<T, U> {
    pub _address: u8,
    pub _phantom_0: ::std::marker::PhantomData<T>,
    pub _phantom_1: ::std::marker::PhantomData<U>,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct AlignedStorage2<T> {
    pub u: AlignedStorage2_U<T>,
    pub _phantom_0: ::std::marker::PhantomData<T>,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct AlignedStorage2_U<T> {
    pub mBytes: __BindgenUnionField<*mut ::std::os::raw::c_char>,
    pub mDummy: __BindgenUnionField<u64>,
    pub bindgen_union_field: u64,
    pub _phantom_0: ::std::marker::PhantomData<T>,
}
/**
 * A default deletion policy using plain old operator delete.
 *
 * Note that this type can be specialized, but authors should beware of the risk
 * that the specialization may at some point cease to match (either because it
 * gets moved to a different compilation unit or the signature changes). If the
 * non-specialized (|delete|-based) version compiles for that type but does the
 * wrong thing, bad things could happen.
 *
 * This is a non-issue for types which are always incomplete (i.e. opaque handle
 * types), since |delete|-ing such a type will always trigger a compilation
 * error.
 */
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct DefaultDelete<T> {
    pub _address: u8,
    pub _phantom_0: ::std::marker::PhantomData<T>,
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct JSContext {
    pub _address: u8,
}
impl Clone for JSContext {
    fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct JSObject {
    pub _address: u8,
}
impl Clone for JSObject {
    fn clone(&self) -> Self { *self }
}
/**
 * JS::Value is the interface for a single JavaScript Engine value.  A few
 * general notes on JS::Value:
 *
 * - JS::Value has setX() and isX() members for X in
 *
 *     { Int32, Double, String, Symbol, Boolean, Undefined, Null, Object, Magic }
 *
 *   JS::Value also contains toX() for each of the non-singleton types.
 *
 * - Magic is a singleton type whose payload contains either a JSWhyMagic "reason" for
 *   the magic value or a uint32_t value. By providing JSWhyMagic values when
 *   creating and checking for magic values, it is possible to assert, at
 *   runtime, that only magic values with the expected reason flow through a
 *   particular value. For example, if cx->exception has a magic value, the
 *   reason must be JS_GENERATOR_CLOSING.
 *
 * - The JS::Value operations are preferred.  The JSVAL_* operations remain for
 *   compatibility; they may be removed at some point.  These operations mostly
 *   provide similar functionality.  But there are a few key differences.  One
 *   is that JS::Value gives null a separate type.
 *   Also, to help prevent mistakenly boxing a nullable JSObject* as an object,
 *   Value::setObject takes a JSObject&. (Conversely, Value::toObject returns a
 *   JSObject&.)  A convenience member Value::setObjectOrNull is provided.
 *
 * - JSVAL_VOID is the same as the singleton value of the Undefined type.
 *
 * - Note that JS::Value is 8 bytes on 32 and 64-bit architectures. Thus, on
 *   32-bit user code should avoid copying jsval/JS::Value as much as possible,
 *   preferring to pass by const Value&.
 */
#[repr(C)]
#[derive(Debug, Copy)]
pub struct Value {
    pub data: Value_layout,
}
pub type Value_PayloadType = u64;
#[repr(C)]
#[derive(Debug, Copy)]
pub struct Value_layout {
    pub asBits: __BindgenUnionField<u64>,
    pub debugView: __BindgenUnionField<Value_layout__bindgen_ty_1>,
    pub s: __BindgenUnionField<Value_layout__bindgen_ty_2>,
    pub asDouble: __BindgenUnionField<f64>,
    pub asPtr: __BindgenUnionField<*mut ::std::os::raw::c_void>,
    pub asWord: __BindgenUnionField<usize>,
    pub asUIntPtr: __BindgenUnionField<usize>,
    pub bindgen_union_field: u64,
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct Value_layout__bindgen_ty_1 {
    pub _bitfield_1: u64,
}
#[test]
fn bindgen_test_layout_Value_layout__bindgen_ty_1() {
    assert_eq!(::std::mem::size_of::<Value_layout__bindgen_ty_1>() , 8usize);
    assert_eq!(::std::mem::align_of::<Value_layout__bindgen_ty_1>() , 8usize);
}
impl Clone for Value_layout__bindgen_ty_1 {
    fn clone(&self) -> Self { *self }
}
impl Value_layout__bindgen_ty_1 {
    #[inline]
    pub fn payload47(&self) -> u64 {
        unsafe {
            ::std::mem::transmute(((self._bitfield_1 &
                                        (140737488355327usize as u64)) >>
                                       0u32) as u64)
        }
    }
    #[inline]
    pub fn set_payload47(&mut self, val: u64) {
        self._bitfield_1 &= !(140737488355327usize as u64);
        self._bitfield_1 |=
            ((val as u64 as u64) << 0u32) & (140737488355327usize as u64);
    }
    #[inline]
    pub fn tag(&self) -> JSValueTag {
        unsafe {
            ::std::mem::transmute(((self._bitfield_1 &
                                        (18446603336221196288usize as u64)) >>
                                       47u32) as u32)
        }
    }
    #[inline]
    pub fn set_tag(&mut self, val: JSValueTag) {
        self._bitfield_1 &= !(18446603336221196288usize as u64);
        self._bitfield_1 |=
            ((val as u32 as u64) << 47u32) &
                (18446603336221196288usize as u64);
    }
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct Value_layout__bindgen_ty_2 {
    pub payload: Value_layout__bindgen_ty_2_1,
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct Value_layout__bindgen_ty_2_1 {
    pub i32: __BindgenUnionField<i32>,
    pub u32: __BindgenUnionField<u32>,
    pub why: __BindgenUnionField<JSWhyMagic>,
    pub bindgen_union_field: u32,
}
#[test]
fn bindgen_test_layout_Value_layout__bindgen_ty_2_1() {
    assert_eq!(::std::mem::size_of::<Value_layout__bindgen_ty_2_1>() ,
               4usize);
    assert_eq!(::std::mem::align_of::<Value_layout__bindgen_ty_2_1>() ,
               4usize);
}
impl Clone for Value_layout__bindgen_ty_2_1 {
    fn clone(&self) -> Self { *self }
}
#[test]
fn bindgen_test_layout_Value_layout__bindgen_ty_2() {
    assert_eq!(::std::mem::size_of::<Value_layout__bindgen_ty_2>() , 4usize);
    assert_eq!(::std::mem::align_of::<Value_layout__bindgen_ty_2>() , 4usize);
}
impl Clone for Value_layout__bindgen_ty_2 {
    fn clone(&self) -> Self { *self }
}
#[test]
fn bindgen_test_layout_Value_layout() {
    assert_eq!(::std::mem::size_of::<Value_layout>() , 8usize);
    assert_eq!(::std::mem::align_of::<Value_layout>() , 8usize);
}
impl Clone for Value_layout {
    fn clone(&self) -> Self { *self }
}
impl Clone for Value {
    fn clone(&self) -> Self { *self }
}
#[repr(u32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum JSValueTag {
    JSVAL_TAG_MAX_DOUBLE = 131056,
    JSVAL_TAG_INT32 = 131057,
    JSVAL_TAG_UNDEFINED = 131058,
    JSVAL_TAG_STRING = 131061,
    JSVAL_TAG_SYMBOL = 131062,
    JSVAL_TAG_BOOLEAN = 131059,
    JSVAL_TAG_MAGIC = 131060,
    JSVAL_TAG_NULL = 131064,
    JSVAL_TAG_OBJECT = 131068,
    JSVAL_TAG_PRIVATE_GCTHING = 131063,
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct JSCompartment {
    pub _address: u8,
}
impl Clone for JSCompartment {
    fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Debug)]
pub struct atomic<_Tp> {
    pub _M_i: _Tp,
}
#[repr(u32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum JSWhyMagic {
    JS_ELEMENTS_HOLE = 0,
    JS_NO_ITER_VALUE = 1,
    JS_GENERATOR_CLOSING = 2,
    JS_NO_CONSTANT = 3,
    JS_THIS_POISON = 4,
    JS_ARG_POISON = 5,
    JS_SERIALIZE_NO_NODE = 6,
    JS_LAZY_ARGUMENTS = 7,
    JS_OPTIMIZED_ARGUMENTS = 8,
    JS_IS_CONSTRUCTING = 9,
    JS_BLOCK_NEEDS_CLONE = 10,
    JS_HASH_KEY_EMPTY = 11,
    JS_ION_ERROR = 12,
    JS_ION_BAILOUT = 13,
    JS_OPTIMIZED_OUT = 14,
    JS_UNINITIALIZED_LEXICAL = 15,
    JS_GENERIC_MAGIC = 16,
    JS_WHY_MAGIC_COUNT = 17,
}
#[repr(C)]
#[derive(Debug)]
pub struct nsAString_internal {
    pub mData: *mut nsAString_internal_char_type,
    pub mLength: nsAString_internal_size_type,
    pub mFlags: u32,
}
pub type nsAString_internal_fallible_t = fallible_t;
pub type nsAString_internal_char_type = u16;
pub type nsAString_internal_char_traits = u8;
pub type nsAString_internal_incompatible_char_type = u8;
pub type nsAString_internal_self_type = nsAString_internal;
pub type nsAString_internal_abstract_string_type =
    nsAString_internal_self_type;
pub type nsAString_internal_base_string_type = nsAString_internal_self_type;
pub type nsAString_internal_substring_type = nsAString_internal_self_type;
pub type nsAString_internal_substring_tuple_type = nsSubstringTuple;
pub type nsAString_internal_string_type = nsString;
pub type nsAString_internal_const_iterator = nsReadingIterator<u16>;
pub type nsAString_internal_iterator = nsWritingIterator<u16>;
pub type nsAString_internal_comparator_type = nsStringComparator;
pub type nsAString_internal_char_iterator = *mut nsAString_internal_char_type;
pub type nsAString_internal_const_char_iterator =
    *const nsAString_internal_char_type;
pub type nsAString_internal_size_type = u32;
pub type nsAString_internal_index_type = u32;
pub const nsAString_internal_F_NONE: nsAString_internal__bindgen_ty_1 =
    nsAString_internal__bindgen_ty_1::F_NONE;
pub const nsAString_internal_F_TERMINATED: nsAString_internal__bindgen_ty_1 =
    nsAString_internal__bindgen_ty_1::F_TERMINATED;
pub const nsAString_internal_F_VOIDED: nsAString_internal__bindgen_ty_1 =
    nsAString_internal__bindgen_ty_1::F_VOIDED;
pub const nsAString_internal_F_SHARED: nsAString_internal__bindgen_ty_1 =
    nsAString_internal__bindgen_ty_1::F_SHARED;
pub const nsAString_internal_F_OWNED: nsAString_internal__bindgen_ty_1 =
    nsAString_internal__bindgen_ty_1::F_OWNED;
pub const nsAString_internal_F_FIXED: nsAString_internal__bindgen_ty_1 =
    nsAString_internal__bindgen_ty_1::F_FIXED;
pub const nsAString_internal_F_LITERAL: nsAString_internal__bindgen_ty_1 =
    nsAString_internal__bindgen_ty_1::F_LITERAL;
pub const nsAString_internal_F_CLASS_FIXED: nsAString_internal__bindgen_ty_1 =
    nsAString_internal__bindgen_ty_1::F_CLASS_FIXED;
#[repr(u32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum nsAString_internal__bindgen_ty_1 {
    F_NONE = 0,
    F_TERMINATED = 1,
    F_VOIDED = 2,
    F_SHARED = 4,
    F_OWNED = 8,
    F_FIXED = 16,
    F_LITERAL = 32,
    F_CLASS_FIXED = 65536,
}
#[test]
fn bindgen_test_layout_nsAString_internal() {
    assert_eq!(::std::mem::size_of::<nsAString_internal>() , 16usize);
    assert_eq!(::std::mem::align_of::<nsAString_internal>() , 8usize);
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct nsSubstringTuple {
    pub mHead: *const nsSubstringTuple_self_type,
    pub mFragA: *const nsSubstringTuple_base_string_type,
    pub mFragB: *const nsSubstringTuple_base_string_type,
}
pub type nsSubstringTuple_char_type = u16;
pub type nsSubstringTuple_char_traits = nsCharTraits<u16>;
pub type nsSubstringTuple_self_type = nsSubstringTuple;
pub type nsSubstringTuple_substring_type = nsAString_internal;
pub type nsSubstringTuple_base_string_type = nsAString_internal;
pub type nsSubstringTuple_size_type = u32;
#[test]
fn bindgen_test_layout_nsSubstringTuple() {
    assert_eq!(::std::mem::size_of::<nsSubstringTuple>() , 24usize);
    assert_eq!(::std::mem::align_of::<nsSubstringTuple>() , 8usize);
}
impl Clone for nsSubstringTuple {
    fn clone(&self) -> Self { *self }
}
#[repr(C)]
pub struct nsStringComparator__bindgen_vtable {
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct nsStringComparator {
    pub vtable_: *const nsStringComparator__bindgen_vtable,
}
pub type nsStringComparator_char_type = u16;
#[test]
fn bindgen_test_layout_nsStringComparator() {
    assert_eq!(::std::mem::size_of::<nsStringComparator>() , 8usize);
    assert_eq!(::std::mem::align_of::<nsStringComparator>() , 8usize);
}
impl Clone for nsStringComparator {
    fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Debug)]
pub struct nsACString_internal {
    pub mData: *mut nsACString_internal_char_type,
    pub mLength: nsACString_internal_size_type,
    pub mFlags: u32,
}
pub type nsACString_internal_fallible_t = fallible_t;
pub type nsACString_internal_char_type = ::std::os::raw::c_char;
pub type nsACString_internal_char_traits = u8;
pub type nsACString_internal_incompatible_char_type = u16;
pub type nsACString_internal_self_type = nsACString_internal;
pub type nsACString_internal_abstract_string_type =
    nsACString_internal_self_type;
pub type nsACString_internal_base_string_type = nsACString_internal_self_type;
pub type nsACString_internal_substring_type = nsACString_internal_self_type;
pub type nsACString_internal_substring_tuple_type = nsCSubstringTuple;
pub type nsACString_internal_string_type = nsCString;
pub type nsACString_internal_const_iterator =
    nsReadingIterator<::std::os::raw::c_char>;
pub type nsACString_internal_iterator =
    nsWritingIterator<::std::os::raw::c_char>;
pub type nsACString_internal_comparator_type = nsCStringComparator;
pub type nsACString_internal_char_iterator =
    *mut nsACString_internal_char_type;
pub type nsACString_internal_const_char_iterator =
    *const nsACString_internal_char_type;
pub type nsACString_internal_size_type = u32;
pub type nsACString_internal_index_type = u32;
pub const nsACString_internal_F_NONE: nsACString_internal__bindgen_ty_1 =
    nsACString_internal__bindgen_ty_1::F_NONE;
pub const nsACString_internal_F_TERMINATED: nsACString_internal__bindgen_ty_1
          =
    nsACString_internal__bindgen_ty_1::F_TERMINATED;
pub const nsACString_internal_F_VOIDED: nsACString_internal__bindgen_ty_1 =
    nsACString_internal__bindgen_ty_1::F_VOIDED;
pub const nsACString_internal_F_SHARED: nsACString_internal__bindgen_ty_1 =
    nsACString_internal__bindgen_ty_1::F_SHARED;
pub const nsACString_internal_F_OWNED: nsACString_internal__bindgen_ty_1 =
    nsACString_internal__bindgen_ty_1::F_OWNED;
pub const nsACString_internal_F_FIXED: nsACString_internal__bindgen_ty_1 =
    nsACString_internal__bindgen_ty_1::F_FIXED;
pub const nsACString_internal_F_LITERAL: nsACString_internal__bindgen_ty_1 =
    nsACString_internal__bindgen_ty_1::F_LITERAL;
pub const nsACString_internal_F_CLASS_FIXED: nsACString_internal__bindgen_ty_1
          =
    nsACString_internal__bindgen_ty_1::F_CLASS_FIXED;
#[repr(u32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum nsACString_internal__bindgen_ty_1 {
    F_NONE = 0,
    F_TERMINATED = 1,
    F_VOIDED = 2,
    F_SHARED = 4,
    F_OWNED = 8,
    F_FIXED = 16,
    F_LITERAL = 32,
    F_CLASS_FIXED = 65536,
}
#[test]
fn bindgen_test_layout_nsACString_internal() {
    assert_eq!(::std::mem::size_of::<nsACString_internal>() , 16usize);
    assert_eq!(::std::mem::align_of::<nsACString_internal>() , 8usize);
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct nsCSubstringTuple {
    pub mHead: *const nsCSubstringTuple_self_type,
    pub mFragA: *const nsCSubstringTuple_base_string_type,
    pub mFragB: *const nsCSubstringTuple_base_string_type,
}
pub type nsCSubstringTuple_char_type = ::std::os::raw::c_char;
pub type nsCSubstringTuple_char_traits = nsCharTraits<::std::os::raw::c_char>;
pub type nsCSubstringTuple_self_type = nsCSubstringTuple;
pub type nsCSubstringTuple_substring_type = nsACString_internal;
pub type nsCSubstringTuple_base_string_type = nsACString_internal;
pub type nsCSubstringTuple_size_type = u32;
#[test]
fn bindgen_test_layout_nsCSubstringTuple() {
    assert_eq!(::std::mem::size_of::<nsCSubstringTuple>() , 24usize);
    assert_eq!(::std::mem::align_of::<nsCSubstringTuple>() , 8usize);
}
impl Clone for nsCSubstringTuple {
    fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Debug)]
pub struct nsCString {
    pub _base: nsACString_internal,
}
pub type nsCString_self_type = nsCString;
#[repr(C)]
#[derive(Debug, Copy)]
pub struct nsCString_Segment {
    pub mBegin: u32,
    pub mLength: u32,
}
#[test]
fn bindgen_test_layout_nsCString_Segment() {
    assert_eq!(::std::mem::size_of::<nsCString_Segment>() , 8usize);
    assert_eq!(::std::mem::align_of::<nsCString_Segment>() , 4usize);
}
impl Clone for nsCString_Segment {
    fn clone(&self) -> Self { *self }
}
#[test]
fn bindgen_test_layout_nsCString() {
    assert_eq!(::std::mem::size_of::<nsCString>() , 16usize);
    assert_eq!(::std::mem::align_of::<nsCString>() , 8usize);
}
#[repr(C)]
pub struct nsCStringComparator__bindgen_vtable {
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct nsCStringComparator {
    pub vtable_: *const nsCStringComparator__bindgen_vtable,
}
pub type nsCStringComparator_char_type = ::std::os::raw::c_char;
#[test]
fn bindgen_test_layout_nsCStringComparator() {
    assert_eq!(::std::mem::size_of::<nsCStringComparator>() , 8usize);
    assert_eq!(::std::mem::align_of::<nsCStringComparator>() , 8usize);
}
impl Clone for nsCStringComparator {
    fn clone(&self) -> Self { *self }
}
#[repr(C)]
pub struct nsISupports__bindgen_vtable {
}
/**
 * Basic component object model interface. Objects which implement
 * this interface support runtime interface discovery (QueryInterface)
 * and a reference counted memory model (AddRef/Release). This is
 * modelled after the win32 IUnknown API.
 */
#[repr(C)]
#[derive(Debug, Copy)]
pub struct nsISupports {
    pub vtable_: *const nsISupports__bindgen_vtable,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct nsISupports_COMTypeInfo<T, U> {
    pub _address: u8,
    pub _phantom_0: ::std::marker::PhantomData<T>,
    pub _phantom_1: ::std::marker::PhantomData<U>,
}
#[test]
fn bindgen_test_layout_nsISupports() {
    assert_eq!(::std::mem::size_of::<nsISupports>() , 8usize);
    assert_eq!(::std::mem::align_of::<nsISupports>() , 8usize);
}
impl Clone for nsISupports {
    fn clone(&self) -> Self { *self }
}
#[repr(C)]
pub struct nsCycleCollectionParticipant__bindgen_vtable {
}
/**
 * Participant implementation classes
 */
#[repr(C)]
#[derive(Debug, Copy)]
pub struct nsCycleCollectionParticipant {
    pub vtable_: *const nsCycleCollectionParticipant__bindgen_vtable,
    pub mMightSkip: bool,
}
#[test]
fn bindgen_test_layout_nsCycleCollectionParticipant() {
    assert_eq!(::std::mem::size_of::<nsCycleCollectionParticipant>() ,
               16usize);
    assert_eq!(::std::mem::align_of::<nsCycleCollectionParticipant>() ,
               8usize);
}
impl Clone for nsCycleCollectionParticipant {
    fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct nsCycleCollectingAutoRefCnt {
    pub mRefCntAndFlags: usize,
}
#[test]
fn bindgen_test_layout_nsCycleCollectingAutoRefCnt() {
    assert_eq!(::std::mem::size_of::<nsCycleCollectingAutoRefCnt>() , 8usize);
    assert_eq!(::std::mem::align_of::<nsCycleCollectingAutoRefCnt>() ,
               8usize);
}
impl Clone for nsCycleCollectingAutoRefCnt {
    fn clone(&self) -> Self { *self }
}
pub type PRUint32 = ::std::os::raw::c_uint;
pub type PRUintn = ::std::os::raw::c_uint;
/************************************************************************
** TYPES:       PRSize
** DESCRIPTION:
**  A type for representing the size of objects.
************************************************************************/
pub type PRSize = usize;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct nsCharTraits<CharT> {
    pub _address: u8,
    pub _phantom_0: ::std::marker::PhantomData<CharT>,
}
/**
 * @see nsTAString
 */
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct nsReadingIterator<CharT> {
    pub mStart: *mut CharT,
    pub mEnd: *mut CharT,
    pub mPosition: *mut CharT,
}
pub type nsReadingIterator_self_type<CharT> = nsReadingIterator<CharT>;
pub type nsReadingIterator_difference_type = isize;
pub type nsReadingIterator_size_type = usize;
pub type nsReadingIterator_value_type<CharT> = CharT;
pub type nsReadingIterator_pointer<CharT> = *mut CharT;
pub type nsReadingIterator_reference = [u8; 0usize];
/**
 * @see nsTAString
 */
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct nsWritingIterator<CharT> {
    pub mStart: *mut CharT,
    pub mEnd: *mut CharT,
    pub mPosition: *mut CharT,
}
pub type nsWritingIterator_self_type<CharT> = nsWritingIterator<CharT>;
pub type nsWritingIterator_difference_type = isize;
pub type nsWritingIterator_size_type = usize;
pub type nsWritingIterator_value_type<CharT> = CharT;
pub type nsWritingIterator_pointer<CharT> = *mut CharT;
pub type nsWritingIterator_reference = [u8; 0usize];
#[repr(C)]
#[derive(Debug, Copy)]
pub struct PLHashEntry {
    pub next: *mut PLHashEntry,
    pub keyHash: PLHashNumber,
    pub key: *const ::std::os::raw::c_void,
    pub value: *mut ::std::os::raw::c_void,
}
#[test]
fn bindgen_test_layout_PLHashEntry() {
    assert_eq!(::std::mem::size_of::<PLHashEntry>() , 32usize);
    assert_eq!(::std::mem::align_of::<PLHashEntry>() , 8usize);
}
impl Clone for PLHashEntry {
    fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct PLHashTable {
    pub buckets: *mut *mut PLHashEntry,
    pub nentries: PRUint32,
    pub shift: PRUint32,
    pub keyHash: PLHashFunction,
    pub keyCompare: PLHashComparator,
    pub valueCompare: PLHashComparator,
    pub allocOps: *const PLHashAllocOps,
    pub allocPriv: *mut ::std::os::raw::c_void,
}
#[test]
fn bindgen_test_layout_PLHashTable() {
    assert_eq!(::std::mem::size_of::<PLHashTable>() , 56usize);
    assert_eq!(::std::mem::align_of::<PLHashTable>() , 8usize);
}
impl Clone for PLHashTable {
    fn clone(&self) -> Self { *self }
}
pub type PLHashNumber = PRUint32;
pub type PLHashFunction =
    ::std::option::Option<unsafe extern "C" fn(key:
                                                   *const ::std::os::raw::c_void)
                              -> ::std::os::raw::c_uint>;
pub type PLHashComparator =
    ::std::option::Option<unsafe extern "C" fn(v1:
                                                   *const ::std::os::raw::c_void,
                                               v2:
                                                   *const ::std::os::raw::c_void)
                              -> ::std::os::raw::c_int>;
#[repr(C)]
#[derive(Debug, Copy)]
pub struct PLHashAllocOps {
    pub allocTable: ::std::option::Option<unsafe extern "C" fn(pool:
                                                                   *mut ::std::os::raw::c_void,
                                                               size: PRSize)
                                              -> *mut ::std::os::raw::c_void>,
    pub freeTable: ::std::option::Option<unsafe extern "C" fn(pool:
                                                                  *mut ::std::os::raw::c_void,
                                                              item:
                                                                  *mut ::std::os::raw::c_void)>,
    pub allocEntry: ::std::option::Option<unsafe extern "C" fn(pool:
                                                                   *mut ::std::os::raw::c_void,
                                                               key:
                                                                   *const ::std::os::raw::c_void)
                                              -> *mut PLHashEntry>,
    pub freeEntry: ::std::option::Option<unsafe extern "C" fn(pool:
                                                                  *mut ::std::os::raw::c_void,
                                                              he:
                                                                  *mut PLHashEntry,
                                                              flag: PRUintn)>,
}
#[test]
fn bindgen_test_layout_PLHashAllocOps() {
    assert_eq!(::std::mem::size_of::<PLHashAllocOps>() , 32usize);
    assert_eq!(::std::mem::align_of::<PLHashAllocOps>() , 8usize);
}
impl Clone for PLHashAllocOps {
    fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct nsAutoOwningThread {
    pub mThread: *mut ::std::os::raw::c_void,
}
#[test]
fn bindgen_test_layout_nsAutoOwningThread() {
    assert_eq!(::std::mem::size_of::<nsAutoOwningThread>() , 8usize);
    assert_eq!(::std::mem::align_of::<nsAutoOwningThread>() , 8usize);
}
impl Clone for nsAutoOwningThread {
    fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct nsAutoRefCnt {
    pub mValue: nsrefcnt,
}
extern "C" {
    #[link_name = "_ZN12nsAutoRefCnt12isThreadSafeE"]
    pub static nsAutoRefCnt_isThreadSafe: bool;
}
#[test]
fn bindgen_test_layout_nsAutoRefCnt() {
    assert_eq!(::std::mem::size_of::<nsAutoRefCnt>() , 8usize);
    assert_eq!(::std::mem::align_of::<nsAutoRefCnt>() , 8usize);
}
impl Clone for nsAutoRefCnt {
    fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct ThreadSafeAutoRefCnt {
    pub mValue: u64,
}
extern "C" {
    #[link_name = "_ZN7mozilla20ThreadSafeAutoRefCnt12isThreadSafeE"]
    pub static ThreadSafeAutoRefCnt_isThreadSafe: bool;
}
#[test]
fn bindgen_test_layout_ThreadSafeAutoRefCnt() {
    assert_eq!(::std::mem::size_of::<ThreadSafeAutoRefCnt>() , 8usize);
    assert_eq!(::std::mem::align_of::<ThreadSafeAutoRefCnt>() , 8usize);
}
impl Clone for ThreadSafeAutoRefCnt {
    fn clone(&self) -> Self { *self }
}
pub type nscoord = i32;
#[repr(C)]
#[derive(Debug, Copy)]
pub struct nsTArrayHeader {
    pub mLength: u32,
    pub _bitfield_1: u32,
}
extern "C" {
    #[link_name = "_ZN14nsTArrayHeader9sEmptyHdrE"]
    pub static mut nsTArrayHeader_sEmptyHdr: nsTArrayHeader;
}
#[test]
fn bindgen_test_layout_nsTArrayHeader() {
    assert_eq!(::std::mem::size_of::<nsTArrayHeader>() , 8usize);
    assert_eq!(::std::mem::align_of::<nsTArrayHeader>() , 4usize);
}
impl Clone for nsTArrayHeader {
    fn clone(&self) -> Self { *self }
}
impl nsTArrayHeader {
    #[inline]
    pub fn mCapacity(&self) -> u32 {
        unsafe {
            ::std::mem::transmute(((self._bitfield_1 &
                                        (2147483647usize as u32)) >> 0u32) as
                                      u32)
        }
    }
    #[inline]
    pub fn set_mCapacity(&mut self, val: u32) {
        self._bitfield_1 &= !(2147483647usize as u32);
        self._bitfield_1 |=
            ((val as u32 as u32) << 0u32) & (2147483647usize as u32);
    }
    #[inline]
    pub fn mIsAutoArray(&self) -> u32 {
        unsafe {
            ::std::mem::transmute(((self._bitfield_1 &
                                        (2147483648usize as u32)) >> 31u32) as
                                      u32)
        }
    }
    #[inline]
    pub fn set_mIsAutoArray(&mut self, val: u32) {
        self._bitfield_1 &= !(2147483648usize as u32);
        self._bitfield_1 |=
            ((val as u32 as u32) << 31u32) & (2147483648usize as u32);
    }
}
#[repr(C)]
#[derive(Debug)]
pub struct nsCOMPtr<T> {
    pub mRawPtr: *mut T,
}
pub type nsCOMPtr_element_type<T> = T;
#[repr(C)]
#[derive(Debug)]
pub struct ErrorResult {
    pub _base: TErrorResult<AssertAndSuppressCleanupPolicy>,
}
pub type ErrorResult_BaseErrorResult =
    TErrorResult<AssertAndSuppressCleanupPolicy>;
#[test]
fn bindgen_test_layout_ErrorResult() {
    assert_eq!(::std::mem::size_of::<ErrorResult>() , 32usize);
    assert_eq!(::std::mem::align_of::<ErrorResult>() , 8usize);
}
/**
 * Templated implementation class for various ErrorResult-like things.  The
 * instantiations differ only in terms of their cleanup policies (used in the
 * destructor), which they can specify via the template argument.  Note that
 * this means it's safe to reinterpret_cast between the instantiations unless
 * you plan to invoke the destructor through such a cast pointer.
 *
 * A cleanup policy consists of two booleans: whether to assert that we've been
 * reported or suppressed, and whether to then go ahead and suppress the
 * exception.
 */
#[repr(C)]
#[derive(Debug)]
pub struct TErrorResult<CleanupPolicy> {
    pub mResult: nsresult,
    pub __bindgen_anon_1: TErrorResult__bindgen_ty_1<CleanupPolicy>,
    pub mMightHaveUnreportedJSException: bool,
    pub mUnionState: TErrorResult_UnionState,
    pub _mOwningThread: nsAutoOwningThread,
    pub _phantom_0: ::std::marker::PhantomData<CleanupPolicy>,
}
pub const TErrorResult_UnionState_HasDOMExceptionInfo: TErrorResult_UnionState
          =
    TErrorResult_UnionState::HasMessage;
pub const TErrorResult_UnionState_HasJSException: TErrorResult_UnionState =
    TErrorResult_UnionState::HasMessage;
pub const TErrorResult_UnionState_HasNothing: TErrorResult_UnionState =
    TErrorResult_UnionState::HasMessage;
#[repr(i32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum TErrorResult_UnionState { HasMessage = 0, }
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct TErrorResult_Message<CleanupPolicy> {
    pub _address: u8,
    pub _phantom_0: ::std::marker::PhantomData<CleanupPolicy>,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct TErrorResult_DOMExceptionInfo<CleanupPolicy> {
    pub _address: u8,
    pub _phantom_0: ::std::marker::PhantomData<CleanupPolicy>,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct TErrorResult__bindgen_ty_1<CleanupPolicy> {
    pub mMessage: __BindgenUnionField<*mut TErrorResult_Message<CleanupPolicy>>,
    pub mJSException: __BindgenUnionField<Value>,
    pub mDOMExceptionInfo: __BindgenUnionField<*mut TErrorResult_DOMExceptionInfo<CleanupPolicy>>,
    pub bindgen_union_field: u64,
    pub _phantom_0: ::std::marker::PhantomData<CleanupPolicy>,
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct AssertAndSuppressCleanupPolicy {
    pub _address: u8,
}
extern "C" {
    #[link_name =
          "_ZN7mozilla14binding_danger30AssertAndSuppressCleanupPolicy13assertHandledE"]
    pub static AssertAndSuppressCleanupPolicy_assertHandled: bool;
}
extern "C" {
    #[link_name =
          "_ZN7mozilla14binding_danger30AssertAndSuppressCleanupPolicy8suppressE"]
    pub static AssertAndSuppressCleanupPolicy_suppress: bool;
}
#[test]
fn bindgen_test_layout_AssertAndSuppressCleanupPolicy() {
    assert_eq!(::std::mem::size_of::<AssertAndSuppressCleanupPolicy>() ,
               1usize);
    assert_eq!(::std::mem::align_of::<AssertAndSuppressCleanupPolicy>() ,
               1usize);
}
impl Clone for AssertAndSuppressCleanupPolicy {
    fn clone(&self) -> Self { *self }
}
/**
 * Factors implementation for all template versions of nsCOMPtr.
 *
 * Here's the way people normally do things like this:
 *
 *   template<class T> class Foo { ... };
 *   template<> class Foo<void*> { ... };
 *   template<class T> class Foo<T*> : private Foo<void*> { ... };
 */
#[repr(C)]
#[derive(Debug)]
pub struct nsCOMPtr_base {
    pub mRawPtr: *mut nsISupports,
}
#[repr(C)]
#[derive(Debug)]
pub struct nsAutoPtr<T> {
    pub mRawPtr: *mut T,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct nsAutoPtr_Ptr<T> {
    pub mPtr: *mut T,
}
pub type nsAutoPtr_element_type<T> = T;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct nsAutoPtr_Proxy<T, R, Args> {
    pub _phantom_0: ::std::marker::PhantomData<T>,
    pub _phantom_1: ::std::marker::PhantomData<R>,
    pub _phantom_2: ::std::marker::PhantomData<Args>,
}
pub type nsAutoPtr_Proxy_member_function = [u8; 0usize];
/**
 * This structure precedes the string buffers "we" allocate.  It may be the
 * case that nsTAString::mData does not point to one of these special
 * buffers.  The mFlags member variable distinguishes the buffer type.
 *
 * When this header is in use, it enables reference counting, and capacity
 * tracking.  NOTE: A string buffer can be modified only if its reference
 * count is 1.
 */
#[repr(C)]
#[derive(Debug, Copy)]
pub struct nsStringBuffer {
    pub mRefCount: u32,
    pub mStorageSize: u32,
}
#[test]
fn bindgen_test_layout_nsStringBuffer() {
    assert_eq!(::std::mem::size_of::<nsStringBuffer>() , 8usize);
    assert_eq!(::std::mem::align_of::<nsStringBuffer>() , 4usize);
}
impl Clone for nsStringBuffer {
    fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct nsIAtom {
    pub _base: nsISupports,
    pub _bitfield_1: u32,
    pub mHash: u32,
    /**
   * WARNING! There is an invisible constraint on |mString|: the chars it
   * points to must belong to an nsStringBuffer. This is so that the
   * nsStringBuffer::FromData() calls above are valid.
   */
    pub mString: *mut u16,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct nsIAtom_COMTypeInfo<T, U> {
    pub _address: u8,
    pub _phantom_0: ::std::marker::PhantomData<T>,
    pub _phantom_1: ::std::marker::PhantomData<U>,
}
#[test]
fn bindgen_test_layout_nsIAtom() {
    assert_eq!(::std::mem::size_of::<nsIAtom>() , 24usize);
    assert_eq!(::std::mem::align_of::<nsIAtom>() , 8usize);
}
impl Clone for nsIAtom {
    fn clone(&self) -> Self { *self }
}
impl nsIAtom {
    #[inline]
    pub fn mLength(&self) -> u32 {
        unsafe {
            ::std::mem::transmute(((self._bitfield_1 &
                                        (2147483647usize as u32)) >> 0u32) as
                                      u32)
        }
    }
    #[inline]
    pub fn set_mLength(&mut self, val: u32) {
        self._bitfield_1 &= !(2147483647usize as u32);
        self._bitfield_1 |=
            ((val as u32 as u32) << 0u32) & (2147483647usize as u32);
    }
    #[inline]
    pub fn mIsStatic(&self) -> u32 {
        unsafe {
            ::std::mem::transmute(((self._bitfield_1 &
                                        (2147483648usize as u32)) >> 31u32) as
                                      u32)
        }
    }
    #[inline]
    pub fn set_mIsStatic(&mut self, val: u32) {
        self._bitfield_1 &= !(2147483648usize as u32);
        self._bitfield_1 |=
            ((val as u32 as u32) << 31u32) & (2147483648usize as u32);
    }
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct nsIPrincipal {
    pub _base: nsISerializable,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct nsIPrincipal_COMTypeInfo<T, U> {
    pub _address: u8,
    pub _phantom_0: ::std::marker::PhantomData<T>,
    pub _phantom_1: ::std::marker::PhantomData<U>,
}
pub const nsIPrincipal_APP_STATUS_NOT_INSTALLED: nsIPrincipal__bindgen_ty_1 =
    nsIPrincipal__bindgen_ty_1::APP_STATUS_NOT_INSTALLED;
pub const nsIPrincipal_APP_STATUS_INSTALLED: nsIPrincipal__bindgen_ty_1 =
    nsIPrincipal__bindgen_ty_1::APP_STATUS_INSTALLED;
pub const nsIPrincipal_APP_STATUS_PRIVILEGED: nsIPrincipal__bindgen_ty_1 =
    nsIPrincipal__bindgen_ty_1::APP_STATUS_PRIVILEGED;
pub const nsIPrincipal_APP_STATUS_CERTIFIED: nsIPrincipal__bindgen_ty_1 =
    nsIPrincipal__bindgen_ty_1::APP_STATUS_CERTIFIED;
#[repr(u32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum nsIPrincipal__bindgen_ty_1 {
    APP_STATUS_NOT_INSTALLED = 0,
    APP_STATUS_INSTALLED = 1,
    APP_STATUS_PRIVILEGED = 2,
    APP_STATUS_CERTIFIED = 3,
}
#[test]
fn bindgen_test_layout_nsIPrincipal() {
    assert_eq!(::std::mem::size_of::<nsIPrincipal>() , 8usize);
    assert_eq!(::std::mem::align_of::<nsIPrincipal>() , 8usize);
}
impl Clone for nsIPrincipal {
    fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct nsISerializable {
    pub _base: nsISupports,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct nsISerializable_COMTypeInfo<T, U> {
    pub _address: u8,
    pub _phantom_0: ::std::marker::PhantomData<T>,
    pub _phantom_1: ::std::marker::PhantomData<U>,
}
#[test]
fn bindgen_test_layout_nsISerializable() {
    assert_eq!(::std::mem::size_of::<nsISerializable>() , 8usize);
    assert_eq!(::std::mem::align_of::<nsISerializable>() , 8usize);
}
impl Clone for nsISerializable {
    fn clone(&self) -> Self { *self }
}
#[repr(C)]
pub struct nsWrapperCache__bindgen_vtable {
}
/**
 * Class to store the wrapper for an object. This can only be used with objects
 * that only have one non-security wrapper at a time (for an XPCWrappedNative
 * this is usually ensured by setting an explicit parent in the PreCreate hook
 * for the class).
 *
 * An instance of nsWrapperCache can be gotten from an object that implements
 * a wrapper cache by calling QueryInterface on it. Note that this breaks XPCOM
 * rules a bit (this object doesn't derive from nsISupports).
 *
 * The cache can store objects other than wrappers. We allow wrappers to use a
 * separate JSObject to store their state (mostly expandos). If the wrapper is
 * collected and we want to preserve this state we actually store the state
 * object in the cache.
 *
 * The cache can store 2 types of objects:
 *
 *  If WRAPPER_IS_NOT_DOM_BINDING is set (IsDOMBinding() returns false):
 *    - the JSObject of an XPCWrappedNative wrapper
 *
 *  If WRAPPER_IS_NOT_DOM_BINDING is not set (IsDOMBinding() returns true):
 *    - a DOM binding object (regular JS object or proxy)
 *
 * The finalizer for the wrapper clears the cache.
 *
 * A compacting GC can move the wrapper object. Pointers to moved objects are
 * usually found and updated by tracing the heap, however non-preserved wrappers
 * are weak references and are not traced, so another approach is
 * necessary. Instead a class hook (objectMovedOp) is provided that is called
 * when an object is moved and is responsible for ensuring pointers are
 * updated. It does this by calling UpdateWrapper() on the wrapper
 * cache. SetWrapper() asserts that the hook is implemented for any wrapper set.
 *
 * A number of the methods are implemented in nsWrapperCacheInlines.h because we
 * have to include some JS headers that don't play nicely with the rest of the
 * codebase. Include nsWrapperCacheInlines.h if you need to call those methods.
 */
#[repr(C)]
#[derive(Debug)]
pub struct nsWrapperCache {
    pub vtable_: *const nsWrapperCache__bindgen_vtable,
    pub mWrapper: *mut JSObject,
    pub mFlags: nsWrapperCache_FlagsType,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct nsWrapperCache_COMTypeInfo<T, U> {
    pub _address: u8,
    pub _phantom_0: ::std::marker::PhantomData<T>,
    pub _phantom_1: ::std::marker::PhantomData<U>,
}
pub type nsWrapperCache_FlagsType = u32;
pub const nsWrapperCache_WRAPPER_BIT_PRESERVED: nsWrapperCache__bindgen_ty_1 =
    nsWrapperCache__bindgen_ty_1::WRAPPER_BIT_PRESERVED;
#[repr(u32)]
/**
   * If this bit is set then we're preserving the wrapper, which in effect ties
   * the lifetime of the JS object stored in the cache to the lifetime of the
   * native object. We rely on the cycle collector to break the cycle that this
   * causes between the native object and the JS object, so it is important that
   * any native object that supports preserving of its wrapper
   * traces/traverses/unlinks the cached JS object (see
   * NS_IMPL_CYCLE_COLLECTION_TRACE_PRESERVED_WRAPPER,
   * NS_IMPL_CYCLE_COLLECTION_TRAVERSE_SCRIPT_OBJECTS and
   * NS_IMPL_CYCLE_COLLECTION_UNLINK_PRESERVED_WRAPPER).
   */
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum nsWrapperCache__bindgen_ty_1 { WRAPPER_BIT_PRESERVED = 1, }
pub const nsWrapperCache_WRAPPER_IS_NOT_DOM_BINDING:
          nsWrapperCache__bindgen_ty_2 =
    nsWrapperCache__bindgen_ty_2::WRAPPER_IS_NOT_DOM_BINDING;
#[repr(u32)]
/**
   * If this bit is set then the wrapper for the native object is not a DOM
   * binding.
   */
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum nsWrapperCache__bindgen_ty_2 { WRAPPER_IS_NOT_DOM_BINDING = 2, }
pub const nsWrapperCache_kWrapperFlagsMask: nsWrapperCache__bindgen_ty_3 =
    nsWrapperCache__bindgen_ty_3::kWrapperFlagsMask;
#[repr(u32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum nsWrapperCache__bindgen_ty_3 { kWrapperFlagsMask = 3, }
#[test]
fn bindgen_test_layout_nsWrapperCache() {
    assert_eq!(::std::mem::size_of::<nsWrapperCache>() , 24usize);
    assert_eq!(::std::mem::align_of::<nsWrapperCache>() , 8usize);
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct AllOwningUnionBase {
    pub _address: u8,
}
#[test]
fn bindgen_test_layout_AllOwningUnionBase() {
    assert_eq!(::std::mem::size_of::<AllOwningUnionBase>() , 1usize);
    assert_eq!(::std::mem::align_of::<AllOwningUnionBase>() , 1usize);
}
impl Clone for AllOwningUnionBase {
    fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Debug)]
pub struct GlobalObject {
    pub mGlobalJSObject: [u64; 3usize],
    pub mCx: *mut JSContext,
    pub mGlobalObject: *mut nsISupports,
}
#[test]
fn bindgen_test_layout_GlobalObject() {
    assert_eq!(::std::mem::size_of::<GlobalObject>() , 40usize);
    assert_eq!(::std::mem::align_of::<GlobalObject>() , 8usize);
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct nsScriptObjectTracer {
    pub _base: nsCycleCollectionParticipant,
}
#[test]
fn bindgen_test_layout_nsScriptObjectTracer() {
    assert_eq!(::std::mem::size_of::<nsScriptObjectTracer>() , 16usize);
    assert_eq!(::std::mem::align_of::<nsScriptObjectTracer>() , 8usize);
}
impl Clone for nsScriptObjectTracer {
    fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct nsXPCOMCycleCollectionParticipant {
    pub _base: nsScriptObjectTracer,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct nsXPCOMCycleCollectionParticipant_COMTypeInfo<T, U> {
    pub _address: u8,
    pub _phantom_0: ::std::marker::PhantomData<T>,
    pub _phantom_1: ::std::marker::PhantomData<U>,
}
#[test]
fn bindgen_test_layout_nsXPCOMCycleCollectionParticipant() {
    assert_eq!(::std::mem::size_of::<nsXPCOMCycleCollectionParticipant>() ,
               16usize);
    assert_eq!(::std::mem::align_of::<nsXPCOMCycleCollectionParticipant>() ,
               8usize);
}
impl Clone for nsXPCOMCycleCollectionParticipant {
    fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct pair<_T1, _T2> {
    pub first: _T1,
    pub second: _T2,
}
pub type pair_first_type<_T1> = _T1;
pub type pair_second_type<_T2> = _T2;
#[repr(C)]
pub struct SourceHook__bindgen_vtable {
}
/**
 * A class of objects that return source code on demand.
 *
 * When code is compiled with setSourceIsLazy(true), SpiderMonkey doesn't
 * retain the source code (and doesn't do lazy bytecode generation). If we ever
 * need the source code, say, in response to a call to Function.prototype.
 * toSource or Debugger.Source.prototype.text, then we call the 'load' member
 * function of the instance of this class that has hopefully been registered
 * with the runtime, passing the code's URL, and hope that it will be able to
 * find the source.
 */
#[repr(C)]
#[derive(Debug)]
pub struct SourceHook {
    pub vtable_: *const SourceHook__bindgen_vtable,
}
#[test]
fn bindgen_test_layout_SourceHook() {
    assert_eq!(::std::mem::size_of::<SourceHook>() , 8usize);
    assert_eq!(::std::mem::align_of::<SourceHook>() , 8usize);
}
#[repr(C)]
#[derive(Debug)]
pub struct nsIGlobalObject {
    pub _base: nsISupports,
    pub mHostObjectURIs: nsTArray<nsCString>,
    pub mIsDying: bool,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct nsIGlobalObject_COMTypeInfo<T, U> {
    pub _address: u8,
    pub _phantom_0: ::std::marker::PhantomData<T>,
    pub _phantom_1: ::std::marker::PhantomData<U>,
}
#[test]
fn bindgen_test_layout_nsIGlobalObject() {
    assert_eq!(::std::mem::size_of::<nsIGlobalObject>() , 24usize);
    assert_eq!(::std::mem::align_of::<nsIGlobalObject>() , 8usize);
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct nsIURI {
    pub _base: nsISupports,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct nsIURI_COMTypeInfo<T, U> {
    pub _address: u8,
    pub _phantom_0: ::std::marker::PhantomData<T>,
    pub _phantom_1: ::std::marker::PhantomData<U>,
}
#[test]
fn bindgen_test_layout_nsIURI() {
    assert_eq!(::std::mem::size_of::<nsIURI>() , 8usize);
    assert_eq!(::std::mem::align_of::<nsIURI>() , 8usize);
}
impl Clone for nsIURI {
    fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Debug)]
pub struct nsPIDOMWindowInner {
    pub _base: [u64; 29usize],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct nsPIDOMWindowInner_COMTypeInfo<T, U> {
    pub _address: u8,
    pub _phantom_0: ::std::marker::PhantomData<T>,
    pub _phantom_1: ::std::marker::PhantomData<U>,
}
#[test]
fn bindgen_test_layout_nsPIDOMWindowInner() {
    assert_eq!(::std::mem::size_of::<nsPIDOMWindowInner>() , 232usize);
    assert_eq!(::std::mem::align_of::<nsPIDOMWindowInner>() , 8usize);
}
#[repr(C)]
#[derive(Debug)]
pub struct nsIDocument {
    pub _base: nsINode,
    pub mDeprecationWarnedAbout: u64,
    pub mDocWarningWarnedAbout: u64,
    pub mSelectorCache: [u64; 16usize],
    pub mReferrer: nsCString,
    pub mLastModified: nsString,
    pub mDocumentURI: nsCOMPtr<nsIURI>,
    pub mOriginalURI: nsCOMPtr<nsIURI>,
    pub mChromeXHRDocURI: nsCOMPtr<nsIURI>,
    pub mDocumentBaseURI: nsCOMPtr<nsIURI>,
    pub mChromeXHRDocBaseURI: nsCOMPtr<nsIURI>,
    pub mDocumentLoadGroup: nsWeakPtr,
    pub mReferrerPolicySet: bool,
    pub mReferrerPolicy: nsIDocument_ReferrerPolicyEnum,
    pub mBlockAllMixedContent: bool,
    pub mBlockAllMixedContentPreloads: bool,
    pub mUpgradeInsecureRequests: bool,
    pub mUpgradeInsecurePreloads: bool,
    pub mHSTSPrimingURIList: [u64; 6usize],
    pub mDocumentContainer: u64,
    pub mCharacterSet: nsCString,
    pub mCharacterSetSource: i32,
    pub mParentDocument: *mut nsIDocument,
    pub mCachedRootElement: *mut Element,
    pub mNodeInfoManager: *mut nsNodeInfoManager,
    pub mCSSLoader: RefPtr<Loader>,
    pub mStyleImageLoader: RefPtr<ImageLoader>,
    pub mAttrStyleSheet: RefPtr<nsHTMLStyleSheet>,
    pub mStyleAttrStyleSheet: RefPtr<nsHTMLCSSStyleSheet>,
    pub mSVGAttrAnimationRuleProcessor: RefPtr<SVGAttrAnimationRuleProcessor>,
    pub mImageTracker: RefPtr<ImageTracker>,
    pub mActivityObservers: nsAutoPtr<()>,
    pub mLinksToUpdate: [u64; 6usize],
    pub mAnimationController: RefPtr<nsSMILAnimationController>,
    pub mPropertyTable: nsPropertyTable,
    pub mExtraPropertyTables: nsTArray<nsAutoPtr<nsPropertyTable>>,
    pub mChildrenCollection: nsCOMPtr<nsIHTMLCollection>,
    pub mFontFaceSet: RefPtr<FontFaceSet>,
    pub mCompatMode: nsCompatibility,
    pub mReadyState: nsIDocument_ReadyState,
    pub mVisibilityState: VisibilityState,
    pub _bitfield_1: u64,
    pub mType: nsIDocument_Type,
    pub mDefaultElementType: u8,
    pub mAllowXULXBL: nsIDocument_Tri,
    pub mStyleBackendType: StyleBackendType,
    /**
   * This is true while FlushPendingLinkUpdates executes.  Calls to
   * [Un]RegisterPendingLinkUpdate will assert when this is true.
   */
    pub mIsLinkUpdateRegistrationsForbidden: bool,
    pub mScriptGlobalObject: nsCOMPtr<nsIScriptGlobalObject>,
    pub mOriginalDocument: nsCOMPtr<nsIDocument>,
    pub mBidiOptions: u32,
    pub mSandboxFlags: u32,
    pub mContentLanguage: nsCString,
    pub mChannel: nsCOMPtr<nsIChannel>,
    pub mContentType: nsCString,
    pub mId: nsString,
    pub mSecurityInfo: nsCOMPtr<nsISupports>,
    pub mFailedChannel: nsCOMPtr<nsIChannel>,
    pub mPartID: u32,
    pub mMarkedCCGeneration: u32,
    pub mPresShell: *mut nsIPresShell,
    pub mSubtreeModifiedTargets: nsCOMArray<nsINode>,
    pub mSubtreeModifiedDepth: u32,
    pub mDisplayDocument: nsCOMPtr<nsIDocument>,
    pub mEventsSuppressed: u32,
    pub mAnimationsPaused: u32,
    /**
   * The number number of external scripts (ones with the src attribute) that
   * have this document as their owner and that are being evaluated right now.
   */
    pub mExternalScriptsBeingEvaluated: u32,
    /**
   * The current frame request callback handle
   */
    pub mFrameRequestCallbackCounter: i32,
    pub mStaticCloneCount: u32,
    pub mBlockedTrackingNodes: nsTArray<nsCOMPtr<nsIWeakReference>>,
    pub mWindow: *mut nsPIDOMWindowInner,
    pub mCachedEncoder: nsCOMPtr<nsIDocumentEncoder>,
    pub mFrameRequestCallbacks: nsTArray<nsIDocument_FrameRequest>,
    pub mBFCacheEntry: *mut nsIBFCacheEntry,
    pub mBaseTarget: nsString,
    pub mStateObjectContainer: nsCOMPtr<nsIStructuredCloneContainer>,
    pub mStateObjectCached: nsCOMPtr<nsIVariant>,
    pub mInSyncOperationCount: u32,
    pub mXPathEvaluator: RefPtr<XPathEvaluator>,
    pub mAnonymousContents: nsTArray<RefPtr<AnonymousContent>>,
    pub mBlockDOMContentLoaded: u32,
    pub _bitfield_2: u8,
    pub mDOMMediaQueryLists: PRCList,
    pub mUseCounters: [u64; 2usize],
    pub mChildDocumentUseCounters: [u64; 2usize],
    pub mNotifiedPageForUseCounter: [u64; 2usize],
    pub mUserHasInteracted: bool,
    pub mPageUnloadingEventTimeStamp: TimeStamp,
    pub mDocGroup: RefPtr<DocGroup>,
}
pub type nsIDocument_GlobalObject = GlobalObject;
pub type nsIDocument_ReferrerPolicyEnum = ReferrerPolicy;
pub type nsIDocument_Element = Element;
pub type nsIDocument_FullscreenRequest = FullscreenRequest;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct nsIDocument_COMTypeInfo<T, U> {
    pub _address: u8,
    pub _phantom_0: ::std::marker::PhantomData<T>,
    pub _phantom_1: ::std::marker::PhantomData<U>,
}
#[repr(C)]
#[derive(Debug)]
pub struct nsIDocument_PageUnloadingEventTimeStamp {
    pub mDocument: nsCOMPtr<nsIDocument>,
    pub mSet: bool,
}
#[test]
fn bindgen_test_layout_nsIDocument_PageUnloadingEventTimeStamp() {
    assert_eq!(::std::mem::size_of::<nsIDocument_PageUnloadingEventTimeStamp>()
               , 16usize);
    assert_eq!(::std::mem::align_of::<nsIDocument_PageUnloadingEventTimeStamp>()
               , 8usize);
}
/**
   * This gets fired when the element that an id refers to changes.
   * This fires at difficult times. It is generally not safe to do anything
   * which could modify the DOM in any way. Use
   * nsContentUtils::AddScriptRunner.
   * @return true to keep the callback in the callback set, false
   * to remove it.
   */
pub type nsIDocument_IDTargetObserver =
    ::std::option::Option<unsafe extern "C" fn(aOldElement:
                                                   *mut nsIDocument_Element,
                                               aNewelement:
                                                   *mut nsIDocument_Element,
                                               aData:
                                                   *mut ::std::os::raw::c_void)
                              -> bool>;
#[repr(C)]
#[derive(Debug)]
pub struct nsIDocument_SelectorCacheKey {
    pub mKey: nsString,
    pub mState: nsExpirationState,
}
#[test]
fn bindgen_test_layout_nsIDocument_SelectorCacheKey() {
    assert_eq!(::std::mem::size_of::<nsIDocument_SelectorCacheKey>() ,
               24usize);
    assert_eq!(::std::mem::align_of::<nsIDocument_SelectorCacheKey>() ,
               8usize);
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct nsIDocument_SelectorCacheKeyDeleter {
    pub _address: u8,
}
impl Clone for nsIDocument_SelectorCacheKeyDeleter {
    fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Debug)]
pub struct nsIDocument_SelectorCache {
    pub _bindgen_opaque_blob: [u64; 16usize],
}
#[test]
fn bindgen_test_layout_nsIDocument_SelectorCache() {
    assert_eq!(::std::mem::size_of::<nsIDocument_SelectorCache>() , 128usize);
    assert_eq!(::std::mem::align_of::<nsIDocument_SelectorCache>() , 8usize);
}
#[repr(u32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum nsIDocument_additionalSheetType {
    eAgentSheet = 0,
    eUserSheet = 1,
    eAuthorSheet = 2,
    AdditionalSheetTypeCount = 3,
}
#[repr(u32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum nsIDocument_ReadyState {
    READYSTATE_UNINITIALIZED = 0,
    READYSTATE_LOADING = 1,
    READYSTATE_INTERACTIVE = 3,
    READYSTATE_COMPLETE = 4,
}
/**
   * Enumerate all subdocuments.
   * The enumerator callback should return true to continue enumerating, or
   * false to stop.  This will never get passed a null aDocument.
   */
pub type nsIDocument_nsSubDocEnumFunc =
    ::std::option::Option<unsafe extern "C" fn(aDocument: *mut nsIDocument,
                                               aData:
                                                   *mut ::std::os::raw::c_void)
                              -> bool>;
#[repr(u32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum nsIDocument_ElementsFromPointFlags {
    IGNORE_ROOT_SCROLL_FRAME = 1,
    FLUSH_LAYOUT = 2,
    IS_ELEMENT_FROM_POINT = 4,
}
/**
   * A class that represents an external resource load that has begun but
   * doesn't have a document yet.  Observers can be registered on this object,
   * and will be notified after the document is created.  Observers registered
   * after the document has been created will NOT be notified.  When observers
   * are notified, the subject will be the newly-created document, the topic
   * will be "external-resource-document-created", and the data will be null.
   * If document creation fails for some reason, observers will still be
   * notified, with a null document pointer.
   */
#[repr(C)]
#[derive(Debug)]
pub struct nsIDocument_ExternalResourceLoad {
    pub _base: nsISupports,
    pub mObservers: [u64; 10usize],
}
#[test]
fn bindgen_test_layout_nsIDocument_ExternalResourceLoad() {
    assert_eq!(::std::mem::size_of::<nsIDocument_ExternalResourceLoad>() ,
               88usize);
    assert_eq!(::std::mem::align_of::<nsIDocument_ExternalResourceLoad>() ,
               8usize);
}
pub<