mirror of
https://github.com/servo/servo.git
synced 2025-08-09 15:35:34 +01:00
Rename nsIAtom as nsAtom.
Bug 1400459 devirtualized nsIAtom so that it is no longer a subclass of nsISupports. This means that nsAtom is now a better name for it than nsIAtom.
This commit is contained in:
parent
55a37930b2
commit
7628c1236a
12 changed files with 12752 additions and 12752 deletions
File diff suppressed because it is too large
Load diff
|
@ -80,7 +80,7 @@ use gecko_bindings::structs::nsCSSValueSharedList;
|
|||
use gecko_bindings::structs::nsChangeHint;
|
||||
use gecko_bindings::structs::nsCursorImage;
|
||||
use gecko_bindings::structs::nsFont;
|
||||
use gecko_bindings::structs::nsIAtom;
|
||||
use gecko_bindings::structs::nsAtom;
|
||||
use gecko_bindings::structs::nsIURI;
|
||||
use gecko_bindings::structs::nsCompatibility;
|
||||
use gecko_bindings::structs::nsRestyleHint;
|
||||
|
@ -556,7 +556,7 @@ extern "C" {
|
|||
RawGeckoPresContextBorrowed,
|
||||
values: ServoComputedDataBorrowed,
|
||||
pseudo_type: CSSPseudoElementType,
|
||||
pseudo_tag: *mut nsIAtom);
|
||||
pseudo_tag: *mut nsAtom);
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Gecko_ServoStyleContext_Destroy(context: *mut ServoStyleContext);
|
||||
|
@ -600,17 +600,17 @@ extern "C" {
|
|||
element: RawGeckoElementBorrowed) -> bool;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Gecko_Namespace(element: RawGeckoElementBorrowed) -> *mut nsIAtom;
|
||||
pub fn Gecko_Namespace(element: RawGeckoElementBorrowed) -> *mut nsAtom;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Gecko_MatchLang(element: RawGeckoElementBorrowed,
|
||||
override_lang: *mut nsIAtom,
|
||||
override_lang: *mut nsAtom,
|
||||
has_override_lang: bool, value: *const u16)
|
||||
-> bool;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Gecko_GetXMLLangValue(element: RawGeckoElementBorrowed)
|
||||
-> *mut nsIAtom;
|
||||
-> *mut nsAtom;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Gecko_GetDocumentLWTheme(aDocument: *const nsIDocument)
|
||||
|
@ -618,108 +618,108 @@ extern "C" {
|
|||
}
|
||||
extern "C" {
|
||||
pub fn Gecko_AtomAttrValue(element: RawGeckoElementBorrowed,
|
||||
attribute: *mut nsIAtom) -> *mut nsIAtom;
|
||||
attribute: *mut nsAtom) -> *mut nsAtom;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Gecko_LangValue(element: RawGeckoElementBorrowed) -> *mut nsIAtom;
|
||||
pub fn Gecko_LangValue(element: RawGeckoElementBorrowed) -> *mut nsAtom;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Gecko_HasAttr(element: RawGeckoElementBorrowed, ns: *mut nsIAtom,
|
||||
name: *mut nsIAtom) -> bool;
|
||||
pub fn Gecko_HasAttr(element: RawGeckoElementBorrowed, ns: *mut nsAtom,
|
||||
name: *mut nsAtom) -> bool;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Gecko_AttrEquals(element: RawGeckoElementBorrowed,
|
||||
ns: *mut nsIAtom, name: *mut nsIAtom,
|
||||
str: *mut nsIAtom, ignoreCase: bool) -> bool;
|
||||
ns: *mut nsAtom, name: *mut nsAtom,
|
||||
str: *mut nsAtom, ignoreCase: bool) -> bool;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Gecko_AttrDashEquals(element: RawGeckoElementBorrowed,
|
||||
ns: *mut nsIAtom, name: *mut nsIAtom,
|
||||
str: *mut nsIAtom, ignore_case: bool) -> bool;
|
||||
ns: *mut nsAtom, name: *mut nsAtom,
|
||||
str: *mut nsAtom, ignore_case: bool) -> bool;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Gecko_AttrIncludes(element: RawGeckoElementBorrowed,
|
||||
ns: *mut nsIAtom, name: *mut nsIAtom,
|
||||
str: *mut nsIAtom, ignore_case: bool) -> bool;
|
||||
ns: *mut nsAtom, name: *mut nsAtom,
|
||||
str: *mut nsAtom, ignore_case: bool) -> bool;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Gecko_AttrHasSubstring(element: RawGeckoElementBorrowed,
|
||||
ns: *mut nsIAtom, name: *mut nsIAtom,
|
||||
str: *mut nsIAtom, ignore_case: bool)
|
||||
ns: *mut nsAtom, name: *mut nsAtom,
|
||||
str: *mut nsAtom, ignore_case: bool)
|
||||
-> bool;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Gecko_AttrHasPrefix(element: RawGeckoElementBorrowed,
|
||||
ns: *mut nsIAtom, name: *mut nsIAtom,
|
||||
str: *mut nsIAtom, ignore_case: bool) -> bool;
|
||||
ns: *mut nsAtom, name: *mut nsAtom,
|
||||
str: *mut nsAtom, ignore_case: bool) -> bool;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Gecko_AttrHasSuffix(element: RawGeckoElementBorrowed,
|
||||
ns: *mut nsIAtom, name: *mut nsIAtom,
|
||||
str: *mut nsIAtom, ignore_case: bool) -> bool;
|
||||
ns: *mut nsAtom, name: *mut nsAtom,
|
||||
str: *mut nsAtom, ignore_case: bool) -> bool;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Gecko_ClassOrClassList(element: RawGeckoElementBorrowed,
|
||||
class_: *mut *mut nsIAtom,
|
||||
classList: *mut *mut *mut nsIAtom) -> u32;
|
||||
class_: *mut *mut nsAtom,
|
||||
classList: *mut *mut *mut nsAtom) -> u32;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Gecko_SnapshotAtomAttrValue(element: *const ServoElementSnapshot,
|
||||
attribute: *mut nsIAtom)
|
||||
-> *mut nsIAtom;
|
||||
attribute: *mut nsAtom)
|
||||
-> *mut nsAtom;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Gecko_SnapshotLangValue(element: *const ServoElementSnapshot)
|
||||
-> *mut nsIAtom;
|
||||
-> *mut nsAtom;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Gecko_SnapshotHasAttr(element: *const ServoElementSnapshot,
|
||||
ns: *mut nsIAtom, name: *mut nsIAtom)
|
||||
ns: *mut nsAtom, name: *mut nsAtom)
|
||||
-> bool;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Gecko_SnapshotAttrEquals(element: *const ServoElementSnapshot,
|
||||
ns: *mut nsIAtom, name: *mut nsIAtom,
|
||||
str: *mut nsIAtom, ignoreCase: bool)
|
||||
ns: *mut nsAtom, name: *mut nsAtom,
|
||||
str: *mut nsAtom, ignoreCase: bool)
|
||||
-> bool;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Gecko_SnapshotAttrDashEquals(element: *const ServoElementSnapshot,
|
||||
ns: *mut nsIAtom, name: *mut nsIAtom,
|
||||
str: *mut nsIAtom, ignore_case: bool)
|
||||
ns: *mut nsAtom, name: *mut nsAtom,
|
||||
str: *mut nsAtom, ignore_case: bool)
|
||||
-> bool;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Gecko_SnapshotAttrIncludes(element: *const ServoElementSnapshot,
|
||||
ns: *mut nsIAtom, name: *mut nsIAtom,
|
||||
str: *mut nsIAtom, ignore_case: bool)
|
||||
ns: *mut nsAtom, name: *mut nsAtom,
|
||||
str: *mut nsAtom, ignore_case: bool)
|
||||
-> bool;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Gecko_SnapshotAttrHasSubstring(element:
|
||||
*const ServoElementSnapshot,
|
||||
ns: *mut nsIAtom,
|
||||
name: *mut nsIAtom,
|
||||
str: *mut nsIAtom,
|
||||
ns: *mut nsAtom,
|
||||
name: *mut nsAtom,
|
||||
str: *mut nsAtom,
|
||||
ignore_case: bool) -> bool;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Gecko_SnapshotAttrHasPrefix(element: *const ServoElementSnapshot,
|
||||
ns: *mut nsIAtom, name: *mut nsIAtom,
|
||||
str: *mut nsIAtom, ignore_case: bool)
|
||||
ns: *mut nsAtom, name: *mut nsAtom,
|
||||
str: *mut nsAtom, ignore_case: bool)
|
||||
-> bool;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Gecko_SnapshotAttrHasSuffix(element: *const ServoElementSnapshot,
|
||||
ns: *mut nsIAtom, name: *mut nsIAtom,
|
||||
str: *mut nsIAtom, ignore_case: bool)
|
||||
ns: *mut nsAtom, name: *mut nsAtom,
|
||||
str: *mut nsAtom, ignore_case: bool)
|
||||
-> bool;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Gecko_SnapshotClassOrClassList(element:
|
||||
*const ServoElementSnapshot,
|
||||
class_: *mut *mut nsIAtom,
|
||||
classList: *mut *mut *mut nsIAtom)
|
||||
class_: *mut *mut nsAtom,
|
||||
classList: *mut *mut *mut nsAtom)
|
||||
-> u32;
|
||||
}
|
||||
extern "C" {
|
||||
|
@ -841,32 +841,32 @@ extern "C" {
|
|||
extern "C" {
|
||||
pub fn Gecko_StyleTransition_SetUnsupportedProperty(aTransition:
|
||||
*mut StyleTransition,
|
||||
aAtom: *mut nsIAtom);
|
||||
aAtom: *mut nsAtom);
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Gecko_Atomize(aString: *const ::std::os::raw::c_char, aLength: u32)
|
||||
-> *mut nsIAtom;
|
||||
-> *mut nsAtom;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Gecko_Atomize16(aString: *const nsAString) -> *mut nsIAtom;
|
||||
pub fn Gecko_Atomize16(aString: *const nsAString) -> *mut nsAtom;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Gecko_AddRefAtom(aAtom: *mut nsIAtom);
|
||||
pub fn Gecko_AddRefAtom(aAtom: *mut nsAtom);
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Gecko_ReleaseAtom(aAtom: *mut nsIAtom);
|
||||
pub fn Gecko_ReleaseAtom(aAtom: *mut nsAtom);
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Gecko_GetAtomAsUTF16(aAtom: *mut nsIAtom, aLength: *mut u32)
|
||||
pub fn Gecko_GetAtomAsUTF16(aAtom: *mut nsAtom, aLength: *mut u32)
|
||||
-> *const u16;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Gecko_AtomEqualsUTF8(aAtom: *mut nsIAtom,
|
||||
pub fn Gecko_AtomEqualsUTF8(aAtom: *mut nsAtom,
|
||||
aString: *const ::std::os::raw::c_char,
|
||||
aLength: u32) -> bool;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Gecko_AtomEqualsUTF8IgnoreCase(aAtom: *mut nsIAtom,
|
||||
pub fn Gecko_AtomEqualsUTF8IgnoreCase(aAtom: *mut nsAtom,
|
||||
aString:
|
||||
*const ::std::os::raw::c_char,
|
||||
aLength: u32) -> bool;
|
||||
|
@ -880,7 +880,7 @@ extern "C" {
|
|||
extern "C" {
|
||||
pub fn Gecko_nsTArray_FontFamilyName_AppendNamed(aNames:
|
||||
*mut nsTArray<FontFamilyName>,
|
||||
aName: *mut nsIAtom,
|
||||
aName: *mut nsAtom,
|
||||
aQuoted: bool);
|
||||
}
|
||||
extern "C" {
|
||||
|
@ -924,9 +924,9 @@ extern "C" {
|
|||
extern "C" {
|
||||
pub fn Gecko_AppendFeatureValueHashEntry(value_set:
|
||||
*mut gfxFontFeatureValueSet,
|
||||
family: *mut nsIAtom,
|
||||
family: *mut nsAtom,
|
||||
alternate: u32,
|
||||
name: *mut nsIAtom)
|
||||
name: *mut nsAtom)
|
||||
-> *mut nsTArray<::std::os::raw::c_uint>;
|
||||
}
|
||||
extern "C" {
|
||||
|
@ -942,7 +942,7 @@ extern "C" {
|
|||
}
|
||||
extern "C" {
|
||||
pub fn Gecko_AppendAlternateValues(font: *mut nsFont, alternate_name: u32,
|
||||
atom: *mut nsIAtom);
|
||||
atom: *mut nsAtom);
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Gecko_CopyAlternateValuesFrom(dest: *mut nsFont,
|
||||
|
@ -962,7 +962,7 @@ extern "C" {
|
|||
}
|
||||
extern "C" {
|
||||
pub fn Gecko_SetCounterStyleToName(ptr: *mut CounterStylePtr,
|
||||
name: *mut nsIAtom,
|
||||
name: *mut nsAtom,
|
||||
pres_context:
|
||||
RawGeckoPresContextBorrowed);
|
||||
}
|
||||
|
@ -982,7 +982,7 @@ extern "C" {
|
|||
}
|
||||
extern "C" {
|
||||
pub fn Gecko_CounterStyle_GetName(ptr: *const CounterStylePtr)
|
||||
-> *mut nsIAtom;
|
||||
-> *mut nsAtom;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Gecko_CounterStyle_GetAnonymous(ptr: *const CounterStylePtr)
|
||||
|
@ -1016,7 +1016,7 @@ extern "C" {
|
|||
}
|
||||
extern "C" {
|
||||
pub fn Gecko_SetImageElement(image: *mut nsStyleImage,
|
||||
atom: *mut nsIAtom);
|
||||
atom: *mut nsAtom);
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Gecko_CopyImageValueFrom(image: *mut nsStyleImage,
|
||||
|
@ -1035,7 +1035,7 @@ extern "C" {
|
|||
-> *const URLValueData;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Gecko_GetImageElement(image: *const nsStyleImage) -> *mut nsIAtom;
|
||||
pub fn Gecko_GetImageElement(image: *const nsStyleImage) -> *mut nsAtom;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Gecko_GetGradientImageValue(image: *const nsStyleImage)
|
||||
|
@ -1189,7 +1189,7 @@ extern "C" {
|
|||
}
|
||||
extern "C" {
|
||||
pub fn Gecko_AppendWillChange(display: *mut nsStyleDisplay,
|
||||
atom: *mut nsIAtom);
|
||||
atom: *mut nsAtom);
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Gecko_CopyWillChangeFrom(dest: *mut nsStyleDisplay,
|
||||
|
@ -1397,12 +1397,12 @@ extern "C" {
|
|||
}
|
||||
extern "C" {
|
||||
pub fn Gecko_CSSValue_SetStringFromAtom(css_value: nsCSSValueBorrowedMut,
|
||||
atom: *mut nsIAtom,
|
||||
atom: *mut nsAtom,
|
||||
unit: nsCSSUnit);
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Gecko_CSSValue_SetAtomIdent(css_value: nsCSSValueBorrowedMut,
|
||||
atom: *mut nsIAtom);
|
||||
atom: *mut nsAtom);
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Gecko_CSSValue_SetArray(css_value: nsCSSValueBorrowedMut,
|
||||
|
@ -1445,7 +1445,7 @@ extern "C" {
|
|||
}
|
||||
extern "C" {
|
||||
pub fn Gecko_nsStyleFont_SetLang(font: *mut nsStyleFont,
|
||||
atom: *mut nsIAtom);
|
||||
atom: *mut nsAtom);
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Gecko_nsStyleFont_CopyLangFrom(aFont: *mut nsStyleFont,
|
||||
|
@ -1468,7 +1468,7 @@ extern "C" {
|
|||
RawGeckoPresContextBorrowed);
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Gecko_GetBaseSize(lang: *mut nsIAtom) -> FontSizePrefs;
|
||||
pub fn Gecko_GetBaseSize(lang: *mut nsAtom) -> FontSizePrefs;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Gecko_GetBindingParent(aElement: RawGeckoElementBorrowed)
|
||||
|
@ -1537,7 +1537,7 @@ extern "C" {
|
|||
pub fn Gecko_CSSFontFaceRule_Release(aPtr: *mut nsCSSFontFaceRule);
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Gecko_CSSCounterStyle_Create(name: *mut nsIAtom)
|
||||
pub fn Gecko_CSSCounterStyle_Create(name: *mut nsAtom)
|
||||
-> *mut nsCSSCounterStyleRule;
|
||||
}
|
||||
extern "C" {
|
||||
|
@ -1575,7 +1575,7 @@ extern "C" {
|
|||
arg2: nsCSSPropertyID);
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Gecko_RegisterNamespace(ns: *mut nsIAtom) -> i32;
|
||||
pub fn Gecko_RegisterNamespace(ns: *mut nsAtom) -> i32;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Gecko_ShouldCreateStyleThreadPool() -> bool;
|
||||
|
@ -2073,7 +2073,7 @@ extern "C" {
|
|||
}
|
||||
extern "C" {
|
||||
pub fn Servo_StyleSet_GetCounterStyleRule(set: RawServoStyleSetBorrowed,
|
||||
name: *mut nsIAtom)
|
||||
name: *mut nsAtom)
|
||||
-> *mut nsCSSCounterStyleRule;
|
||||
}
|
||||
extern "C" {
|
||||
|
@ -2116,7 +2116,7 @@ extern "C" {
|
|||
element:
|
||||
RawGeckoElementBorrowed,
|
||||
local_name:
|
||||
*mut nsIAtom)
|
||||
*mut nsAtom)
|
||||
-> bool;
|
||||
}
|
||||
extern "C" {
|
||||
|
@ -2367,11 +2367,11 @@ extern "C" {
|
|||
}
|
||||
extern "C" {
|
||||
pub fn Servo_KeyframesRule_GetName(rule: RawServoKeyframesRuleBorrowed)
|
||||
-> *mut nsIAtom;
|
||||
-> *mut nsAtom;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Servo_KeyframesRule_SetName(rule: RawServoKeyframesRuleBorrowed,
|
||||
name: *mut nsIAtom);
|
||||
name: *mut nsAtom);
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Servo_KeyframesRule_GetCount(rule: RawServoKeyframesRuleBorrowed)
|
||||
|
@ -2404,11 +2404,11 @@ extern "C" {
|
|||
}
|
||||
extern "C" {
|
||||
pub fn Servo_NamespaceRule_GetPrefix(rule: RawServoNamespaceRuleBorrowed)
|
||||
-> *mut nsIAtom;
|
||||
-> *mut nsAtom;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Servo_NamespaceRule_GetURI(rule: RawServoNamespaceRuleBorrowed)
|
||||
-> *mut nsIAtom;
|
||||
-> *mut nsAtom;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Servo_PageRule_GetStyle(rule: RawServoPageRuleBorrowed)
|
||||
|
@ -2728,7 +2728,7 @@ extern "C" {
|
|||
RawServoDeclarationBlockBorrowed,
|
||||
property:
|
||||
nsCSSPropertyID,
|
||||
value: *mut nsIAtom);
|
||||
value: *mut nsAtom);
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Servo_DeclarationBlock_SetKeywordValue(declarations:
|
||||
|
@ -2844,14 +2844,14 @@ extern "C" {
|
|||
extern "C" {
|
||||
pub fn Servo_ComputedValues_GetForAnonymousBox(parent_style_or_null:
|
||||
ServoStyleContextBorrowedOrNull,
|
||||
pseudo_tag: *mut nsIAtom,
|
||||
pseudo_tag: *mut nsAtom,
|
||||
set:
|
||||
RawServoStyleSetBorrowed)
|
||||
-> ServoStyleContextStrong;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Servo_ComputedValues_Inherit(set: RawServoStyleSetBorrowed,
|
||||
pseudo_tag: *mut nsIAtom,
|
||||
pseudo_tag: *mut nsAtom,
|
||||
parent_style:
|
||||
ServoStyleContextBorrowedOrNull,
|
||||
target: InheritTarget)
|
||||
|
|
|
@ -867,7 +867,7 @@ None
|
|||
}
|
||||
|
||||
/// Get a PseudoInfo for a pseudo
|
||||
pub fn pseudo_info(&self) -> (*mut structs::nsIAtom, CSSPseudoElementType) {
|
||||
pub fn pseudo_info(&self) -> (*mut structs::nsAtom, CSSPseudoElementType) {
|
||||
(self.atom().as_ptr(), self.pseudo_type())
|
||||
}
|
||||
|
||||
|
|
|
@ -2411,7 +2411,7 @@ pub mod root {
|
|||
#[repr(C)]
|
||||
#[derive(Debug, Copy)]
|
||||
pub struct Element_MappedAttributeEntry {
|
||||
pub attribute: *mut *mut root::nsIAtom,
|
||||
pub attribute: *mut *mut root::nsAtom,
|
||||
}
|
||||
#[test]
|
||||
fn bindgen_test_layout_Element_MappedAttributeEntry() {
|
||||
|
@ -2537,12 +2537,12 @@ pub mod root {
|
|||
#[repr(C)]
|
||||
#[derive(Debug, Copy)]
|
||||
pub struct NodeInfo_NodeInfoInner {
|
||||
pub mName: *const root::nsIAtom,
|
||||
pub mPrefix: *mut root::nsIAtom,
|
||||
pub mName: *const root::nsAtom,
|
||||
pub mPrefix: *mut root::nsAtom,
|
||||
pub mNamespaceID: i32,
|
||||
pub mNodeType: u16,
|
||||
pub mNameString: *const root::nsAString,
|
||||
pub mExtraName: *mut root::nsIAtom,
|
||||
pub mExtraName: *mut root::nsAtom,
|
||||
pub mHash: root::PLHashNumber,
|
||||
pub mHashInitialized: bool,
|
||||
}
|
||||
|
@ -6811,7 +6811,7 @@ pub mod root {
|
|||
#[repr(C)]
|
||||
#[derive(Debug)]
|
||||
pub struct LangGroupFontPrefs {
|
||||
pub mLangGroup: root::RefPtr<root::nsIAtom>,
|
||||
pub mLangGroup: root::RefPtr<root::nsAtom>,
|
||||
pub mMinimumFontSize: root::nscoord,
|
||||
pub mDefaultVariableFont: root::nsFont,
|
||||
pub mDefaultFixedFont: root::nsFont,
|
||||
|
@ -7337,7 +7337,7 @@ pub mod root {
|
|||
pub mDuration: f32,
|
||||
pub mDelay: f32,
|
||||
pub mProperty: root::nsCSSPropertyID,
|
||||
pub mUnknownProperty: root::RefPtr<root::nsIAtom>,
|
||||
pub mUnknownProperty: root::RefPtr<root::nsAtom>,
|
||||
}
|
||||
#[test]
|
||||
fn bindgen_test_layout_StyleTransition() {
|
||||
|
@ -12399,7 +12399,7 @@ pub mod root {
|
|||
pub mScriptUnconstrainedSize: root::nscoord,
|
||||
pub mScriptMinSize: root::nscoord,
|
||||
pub mScriptSizeMultiplier: f32,
|
||||
pub mLanguage: root::RefPtr<root::nsIAtom>,
|
||||
pub mLanguage: root::RefPtr<root::nsAtom>,
|
||||
}
|
||||
pub const nsStyleFont_kHasFinishStyle: bool = false;
|
||||
#[test]
|
||||
|
@ -13038,7 +13038,7 @@ pub mod root {
|
|||
pub mMarkerMid: root::RefPtr<root::mozilla::css::URLValue>,
|
||||
pub mMarkerStart: root::RefPtr<root::mozilla::css::URLValue>,
|
||||
pub mStrokeDasharray: root::nsTArray<root::nsStyleCoord>,
|
||||
pub mContextProps: root::nsTArray<root::RefPtr<root::nsIAtom>>,
|
||||
pub mContextProps: root::nsTArray<root::RefPtr<root::nsAtom>>,
|
||||
pub mStrokeDashoffset: root::nsStyleCoord,
|
||||
pub mStrokeWidth: root::nsStyleCoord,
|
||||
pub mFillOpacity: f32,
|
||||
|
@ -13569,7 +13569,7 @@ pub mod root {
|
|||
pub mIsolation: u8,
|
||||
pub mTopLayer: u8,
|
||||
pub mWillChangeBitField: u8,
|
||||
pub mWillChange: root::nsTArray<root::RefPtr<root::nsIAtom>>,
|
||||
pub mWillChange: root::nsTArray<root::RefPtr<root::nsAtom>>,
|
||||
pub mTouchAction: u8,
|
||||
pub mScrollBehavior: u8,
|
||||
pub mScrollSnapTypeX: u8,
|
||||
|
@ -14793,7 +14793,7 @@ pub mod root {
|
|||
}
|
||||
#[repr(C)]
|
||||
#[derive(Debug)]
|
||||
pub struct nsIAtom {
|
||||
pub struct nsAtom {
|
||||
pub mRefCnt: root::mozilla::ThreadSafeAutoRefCnt,
|
||||
pub _bitfield_1: u32,
|
||||
pub mHash: u32,
|
||||
|
@ -14801,35 +14801,35 @@ pub mod root {
|
|||
}
|
||||
#[repr(u8)]
|
||||
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
|
||||
pub enum nsIAtom_AtomKind {
|
||||
pub enum nsAtom_AtomKind {
|
||||
DynamicAtom = 0,
|
||||
StaticAtom = 1,
|
||||
HTML5Atom = 2,
|
||||
}
|
||||
pub type nsIAtom_HasThreadSafeRefCnt = root::mozilla::TrueType;
|
||||
pub type nsAtom_HasThreadSafeRefCnt = root::mozilla::TrueType;
|
||||
#[test]
|
||||
fn bindgen_test_layout_nsIAtom() {
|
||||
assert_eq!(::std::mem::size_of::<nsIAtom>() , 24usize , concat ! (
|
||||
"Size of: " , stringify ! ( nsIAtom ) ));
|
||||
assert_eq! (::std::mem::align_of::<nsIAtom>() , 8usize , concat ! (
|
||||
"Alignment of " , stringify ! ( nsIAtom ) ));
|
||||
fn bindgen_test_layout_nsAtom() {
|
||||
assert_eq!(::std::mem::size_of::<nsAtom>() , 24usize , concat ! (
|
||||
"Size of: " , stringify ! ( nsAtom ) ));
|
||||
assert_eq! (::std::mem::align_of::<nsAtom>() , 8usize , concat ! (
|
||||
"Alignment of " , stringify ! ( nsAtom ) ));
|
||||
assert_eq! (unsafe {
|
||||
& ( * ( 0 as * const nsIAtom ) ) . mRefCnt as * const _ as
|
||||
& ( * ( 0 as * const nsAtom ) ) . mRefCnt as * const _ as
|
||||
usize } , 0usize , concat ! (
|
||||
"Alignment of field: " , stringify ! ( nsIAtom ) , "::" ,
|
||||
"Alignment of field: " , stringify ! ( nsAtom ) , "::" ,
|
||||
stringify ! ( mRefCnt ) ));
|
||||
assert_eq! (unsafe {
|
||||
& ( * ( 0 as * const nsIAtom ) ) . mHash as * const _ as
|
||||
& ( * ( 0 as * const nsAtom ) ) . mHash as * const _ as
|
||||
usize } , 12usize , concat ! (
|
||||
"Alignment of field: " , stringify ! ( nsIAtom ) , "::" ,
|
||||
"Alignment of field: " , stringify ! ( nsAtom ) , "::" ,
|
||||
stringify ! ( mHash ) ));
|
||||
assert_eq! (unsafe {
|
||||
& ( * ( 0 as * const nsIAtom ) ) . mString as * const _ as
|
||||
& ( * ( 0 as * const nsAtom ) ) . mString as * const _ as
|
||||
usize } , 16usize , concat ! (
|
||||
"Alignment of field: " , stringify ! ( nsIAtom ) , "::" ,
|
||||
"Alignment of field: " , stringify ! ( nsAtom ) , "::" ,
|
||||
stringify ! ( mString ) ));
|
||||
}
|
||||
impl nsIAtom {
|
||||
impl nsAtom {
|
||||
#[inline]
|
||||
pub fn mLength(&self) -> u32 {
|
||||
let mut unit_field_val: u32 =
|
||||
|
@ -19270,7 +19270,7 @@ pub mod root {
|
|||
pub struct nsCSSCounterStyleRule {
|
||||
pub _base: root::mozilla::css::Rule,
|
||||
pub _base_1: root::nsIDOMCSSCounterStyleRule,
|
||||
pub mName: root::RefPtr<root::nsIAtom>,
|
||||
pub mName: root::RefPtr<root::nsAtom>,
|
||||
pub mValues: [root::nsCSSValue; 10usize],
|
||||
pub mGeneration: u32,
|
||||
}
|
||||
|
@ -19375,7 +19375,7 @@ pub mod root {
|
|||
/// @param aCaseSensitive Whether to do a case-sensitive compare on the values.
|
||||
/// @return ATTR_MISSING, ATTR_VALUE_NO_MATCH or the non-negative index
|
||||
/// indicating the first value of aValues that matched
|
||||
pub type nsIContent_AttrValuesArray = *const *const root::nsIAtom;
|
||||
pub type nsIContent_AttrValuesArray = *const *const root::nsAtom;
|
||||
#[repr(u32)]
|
||||
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
|
||||
pub enum nsIContent_FlattenedParentType {
|
||||
|
@ -19425,7 +19425,7 @@ pub mod root {
|
|||
#[repr(C)]
|
||||
#[derive(Debug)]
|
||||
pub struct nsStyleContext {
|
||||
pub mPseudoTag: root::RefPtr<root::nsIAtom>,
|
||||
pub mPseudoTag: root::RefPtr<root::nsAtom>,
|
||||
pub mBits: u64,
|
||||
}
|
||||
pub const nsStyleContext_kAllResolvedStructs:
|
||||
|
@ -19470,11 +19470,11 @@ pub mod root {
|
|||
pub mAnimationManager: root::RefPtr<root::nsAnimationManager>,
|
||||
pub mRestyleManager: root::RefPtr<root::mozilla::RestyleManager>,
|
||||
pub mCounterStyleManager: root::RefPtr<root::mozilla::CounterStyleManager>,
|
||||
pub mMedium: *mut root::nsIAtom,
|
||||
pub mMediaEmulated: root::RefPtr<root::nsIAtom>,
|
||||
pub mMedium: *mut root::nsAtom,
|
||||
pub mMediaEmulated: root::RefPtr<root::nsAtom>,
|
||||
pub mFontFeatureValuesLookup: root::RefPtr<root::gfxFontFeatureValueSet>,
|
||||
pub mLinkHandler: *mut root::nsILinkHandler,
|
||||
pub mLanguage: root::RefPtr<root::nsIAtom>,
|
||||
pub mLanguage: root::RefPtr<root::nsAtom>,
|
||||
pub mInflationDisabledForShrinkWrap: bool,
|
||||
pub mContainer: u64,
|
||||
pub mBaseMinFontSize: i32,
|
||||
|
@ -22484,7 +22484,7 @@ pub mod root {
|
|||
pub mBits: usize,
|
||||
}
|
||||
pub type nsAttrValue_AtomArray =
|
||||
root::nsTArray<root::RefPtr<root::nsIAtom>>;
|
||||
root::nsTArray<root::RefPtr<root::nsAtom>>;
|
||||
pub const nsAttrValue_ValueType_eSVGTypesBegin:
|
||||
root::nsAttrValue_ValueType =
|
||||
nsAttrValue_ValueType::eSVGAngle;
|
||||
|
@ -24918,7 +24918,7 @@ pub mod root {
|
|||
#[derive(Debug)]
|
||||
pub struct nsLanguageAtomService {
|
||||
pub mLangToGroup: [u64; 4usize],
|
||||
pub mLocaleLanguage: root::RefPtr<root::nsIAtom>,
|
||||
pub mLocaleLanguage: root::RefPtr<root::nsAtom>,
|
||||
}
|
||||
pub type nsLanguageAtomService_Encoding = root::mozilla::Encoding;
|
||||
pub type nsLanguageAtomService_NotNull<T> = root::mozilla::NotNull<T>;
|
||||
|
@ -25985,7 +25985,7 @@ pub mod root {
|
|||
pub mFloat: root::__BindgenUnionField<f32>,
|
||||
pub mString: root::__BindgenUnionField<*mut root::nsStringBuffer>,
|
||||
pub mColor: root::__BindgenUnionField<root::nscolor>,
|
||||
pub mAtom: root::__BindgenUnionField<*mut root::nsIAtom>,
|
||||
pub mAtom: root::__BindgenUnionField<*mut root::nsAtom>,
|
||||
pub mArray: root::__BindgenUnionField<*mut root::nsCSSValue_Array>,
|
||||
pub mURL: root::__BindgenUnionField<*mut root::mozilla::css::URLValue>,
|
||||
pub mImage: root::__BindgenUnionField<*mut root::mozilla::css::ImageValue>,
|
||||
|
@ -29795,7 +29795,7 @@ pub mod root {
|
|||
pub mImage: root::__BindgenUnionField<*mut root::nsStyleImageRequest>,
|
||||
pub mGradient: root::__BindgenUnionField<*mut root::nsStyleGradient>,
|
||||
pub mURLValue: root::__BindgenUnionField<*mut root::nsStyleImage_URLValue>,
|
||||
pub mElementId: root::__BindgenUnionField<*mut root::nsIAtom>,
|
||||
pub mElementId: root::__BindgenUnionField<*mut root::nsAtom>,
|
||||
pub bindgen_union_field: u64,
|
||||
}
|
||||
#[test]
|
||||
|
@ -31907,7 +31907,7 @@ pub mod root {
|
|||
#[repr(C)]
|
||||
#[derive(Debug, Copy)]
|
||||
pub struct nsMediaFeature {
|
||||
pub mName: *mut *mut root::nsIAtom,
|
||||
pub mName: *mut *mut root::nsAtom,
|
||||
pub mRangeType: root::nsMediaFeature_RangeType,
|
||||
pub mValueType: root::nsMediaFeature_ValueType,
|
||||
pub mReqFlags: u8,
|
||||
|
@ -31945,7 +31945,7 @@ pub mod root {
|
|||
pub struct nsMediaFeature__bindgen_ty_1 {
|
||||
pub mInitializer_: root::__BindgenUnionField<*const ::std::os::raw::c_void>,
|
||||
pub mKeywordTable: root::__BindgenUnionField<*const root::nsCSSProps_KTableEntry>,
|
||||
pub mMetric: root::__BindgenUnionField<*const *const root::nsIAtom>,
|
||||
pub mMetric: root::__BindgenUnionField<*const *const root::nsAtom>,
|
||||
pub bindgen_union_field: u64,
|
||||
}
|
||||
#[test]
|
||||
|
@ -32339,7 +32339,7 @@ pub mod root {
|
|||
pub mHasOnly: bool,
|
||||
pub mTypeOmitted: bool,
|
||||
pub mHadUnknownExpression: bool,
|
||||
pub mMediaType: root::RefPtr<root::nsIAtom>,
|
||||
pub mMediaType: root::RefPtr<root::nsAtom>,
|
||||
pub mExpressions: root::nsTArray<root::nsMediaExpression>,
|
||||
}
|
||||
#[test]
|
||||
|
@ -32691,15 +32691,15 @@ pub mod root {
|
|||
root::nsTArray<*mut root::nsCSSSelector> ) ));
|
||||
}
|
||||
#[test]
|
||||
fn __bindgen_test_layout_RefPtr_open0_nsIAtom_close0_instantiation() {
|
||||
assert_eq!(::std::mem::size_of::<root::RefPtr<root::nsIAtom>>() ,
|
||||
fn __bindgen_test_layout_RefPtr_open0_nsAtom_close0_instantiation() {
|
||||
assert_eq!(::std::mem::size_of::<root::RefPtr<root::nsAtom>>() ,
|
||||
8usize , concat ! (
|
||||
"Size of template specialization: " , stringify ! (
|
||||
root::RefPtr<root::nsIAtom> ) ));
|
||||
assert_eq!(::std::mem::align_of::<root::RefPtr<root::nsIAtom>>() ,
|
||||
root::RefPtr<root::nsAtom> ) ));
|
||||
assert_eq!(::std::mem::align_of::<root::RefPtr<root::nsAtom>>() ,
|
||||
8usize , concat ! (
|
||||
"Alignment of template specialization: " , stringify ! (
|
||||
root::RefPtr<root::nsIAtom> ) ));
|
||||
root::RefPtr<root::nsAtom> ) ));
|
||||
}
|
||||
#[test]
|
||||
fn __bindgen_test_layout_RefPtr_open0_nsStyleImageRequest_close0_instantiation() {
|
||||
|
@ -32790,26 +32790,26 @@ pub mod root {
|
|||
root::nsTArray<root::nsStyleCoord> ) ));
|
||||
}
|
||||
#[test]
|
||||
fn __bindgen_test_layout_nsTArray_open0_RefPtr_open1_nsIAtom_close1_close0_instantiation() {
|
||||
assert_eq!(::std::mem::size_of::<root::nsTArray<root::RefPtr<root::nsIAtom>>>()
|
||||
fn __bindgen_test_layout_nsTArray_open0_RefPtr_open1_nsAtom_close1_close0_instantiation() {
|
||||
assert_eq!(::std::mem::size_of::<root::nsTArray<root::RefPtr<root::nsAtom>>>()
|
||||
, 8usize , concat ! (
|
||||
"Size of template specialization: " , stringify ! (
|
||||
root::nsTArray<root::RefPtr<root::nsIAtom>> ) ));
|
||||
assert_eq!(::std::mem::align_of::<root::nsTArray<root::RefPtr<root::nsIAtom>>>()
|
||||
root::nsTArray<root::RefPtr<root::nsAtom>> ) ));
|
||||
assert_eq!(::std::mem::align_of::<root::nsTArray<root::RefPtr<root::nsAtom>>>()
|
||||
, 8usize , concat ! (
|
||||
"Alignment of template specialization: " , stringify ! (
|
||||
root::nsTArray<root::RefPtr<root::nsIAtom>> ) ));
|
||||
root::nsTArray<root::RefPtr<root::nsAtom>> ) ));
|
||||
}
|
||||
#[test]
|
||||
fn __bindgen_test_layout_RefPtr_open0_nsIAtom_close0_instantiation_1() {
|
||||
assert_eq!(::std::mem::size_of::<root::RefPtr<root::nsIAtom>>() ,
|
||||
fn __bindgen_test_layout_RefPtr_open0_nsAtom_close0_instantiation_1() {
|
||||
assert_eq!(::std::mem::size_of::<root::RefPtr<root::nsAtom>>() ,
|
||||
8usize , concat ! (
|
||||
"Size of template specialization: " , stringify ! (
|
||||
root::RefPtr<root::nsIAtom> ) ));
|
||||
assert_eq!(::std::mem::align_of::<root::RefPtr<root::nsIAtom>>() ,
|
||||
root::RefPtr<root::nsAtom> ) ));
|
||||
assert_eq!(::std::mem::align_of::<root::RefPtr<root::nsAtom>>() ,
|
||||
8usize , concat ! (
|
||||
"Alignment of template specialization: " , stringify ! (
|
||||
root::RefPtr<root::nsIAtom> ) ));
|
||||
root::RefPtr<root::nsAtom> ) ));
|
||||
}
|
||||
#[test]
|
||||
fn __bindgen_test_layout_UniquePtr_open0_nsStyleGridTemplate_DefaultDelete_open1_nsStyleGridTemplate_close1_close0_instantiation() {
|
||||
|
@ -32869,26 +32869,26 @@ pub mod root {
|
|||
));
|
||||
}
|
||||
#[test]
|
||||
fn __bindgen_test_layout_nsTArray_open0_RefPtr_open1_nsIAtom_close1_close0_instantiation_1() {
|
||||
assert_eq!(::std::mem::size_of::<root::nsTArray<root::RefPtr<root::nsIAtom>>>()
|
||||
fn __bindgen_test_layout_nsTArray_open0_RefPtr_open1_nsAtom_close1_close0_instantiation_1() {
|
||||
assert_eq!(::std::mem::size_of::<root::nsTArray<root::RefPtr<root::nsAtom>>>()
|
||||
, 8usize , concat ! (
|
||||
"Size of template specialization: " , stringify ! (
|
||||
root::nsTArray<root::RefPtr<root::nsIAtom>> ) ));
|
||||
assert_eq!(::std::mem::align_of::<root::nsTArray<root::RefPtr<root::nsIAtom>>>()
|
||||
root::nsTArray<root::RefPtr<root::nsAtom>> ) ));
|
||||
assert_eq!(::std::mem::align_of::<root::nsTArray<root::RefPtr<root::nsAtom>>>()
|
||||
, 8usize , concat ! (
|
||||
"Alignment of template specialization: " , stringify ! (
|
||||
root::nsTArray<root::RefPtr<root::nsIAtom>> ) ));
|
||||
root::nsTArray<root::RefPtr<root::nsAtom>> ) ));
|
||||
}
|
||||
#[test]
|
||||
fn __bindgen_test_layout_RefPtr_open0_nsIAtom_close0_instantiation_2() {
|
||||
assert_eq!(::std::mem::size_of::<root::RefPtr<root::nsIAtom>>() ,
|
||||
fn __bindgen_test_layout_RefPtr_open0_nsAtom_close0_instantiation_2() {
|
||||
assert_eq!(::std::mem::size_of::<root::RefPtr<root::nsAtom>>() ,
|
||||
8usize , concat ! (
|
||||
"Size of template specialization: " , stringify ! (
|
||||
root::RefPtr<root::nsIAtom> ) ));
|
||||
assert_eq!(::std::mem::align_of::<root::RefPtr<root::nsIAtom>>() ,
|
||||
root::RefPtr<root::nsAtom> ) ));
|
||||
assert_eq!(::std::mem::align_of::<root::RefPtr<root::nsAtom>>() ,
|
||||
8usize , concat ! (
|
||||
"Alignment of template specialization: " , stringify ! (
|
||||
root::RefPtr<root::nsIAtom> ) ));
|
||||
root::RefPtr<root::nsAtom> ) ));
|
||||
}
|
||||
#[test]
|
||||
fn __bindgen_test_layout_nsTArray_open0_Position_close0_instantiation() {
|
||||
|
@ -34504,15 +34504,15 @@ pub mod root {
|
|||
u64 ) ));
|
||||
}
|
||||
#[test]
|
||||
fn __bindgen_test_layout_RefPtr_open0_nsIAtom_close0_instantiation_3() {
|
||||
assert_eq!(::std::mem::size_of::<root::RefPtr<root::nsIAtom>>() ,
|
||||
fn __bindgen_test_layout_RefPtr_open0_nsAtom_close0_instantiation_3() {
|
||||
assert_eq!(::std::mem::size_of::<root::RefPtr<root::nsAtom>>() ,
|
||||
8usize , concat ! (
|
||||
"Size of template specialization: " , stringify ! (
|
||||
root::RefPtr<root::nsIAtom> ) ));
|
||||
assert_eq!(::std::mem::align_of::<root::RefPtr<root::nsIAtom>>() ,
|
||||
root::RefPtr<root::nsAtom> ) ));
|
||||
assert_eq!(::std::mem::align_of::<root::RefPtr<root::nsAtom>>() ,
|
||||
8usize , concat ! (
|
||||
"Alignment of template specialization: " , stringify ! (
|
||||
root::RefPtr<root::nsIAtom> ) ));
|
||||
root::RefPtr<root::nsAtom> ) ));
|
||||
}
|
||||
#[test]
|
||||
fn __bindgen_test_layout_RefPtr_open0_nsCSSFontFaceRule_close0_instantiation() {
|
||||
|
@ -34548,15 +34548,15 @@ pub mod root {
|
|||
root::nsTArray<*mut root::nsIContent> ) ));
|
||||
}
|
||||
#[test]
|
||||
fn __bindgen_test_layout_RefPtr_open0_nsIAtom_close0_instantiation_4() {
|
||||
assert_eq!(::std::mem::size_of::<root::RefPtr<root::nsIAtom>>() ,
|
||||
fn __bindgen_test_layout_RefPtr_open0_nsAtom_close0_instantiation_4() {
|
||||
assert_eq!(::std::mem::size_of::<root::RefPtr<root::nsAtom>>() ,
|
||||
8usize , concat ! (
|
||||
"Size of template specialization: " , stringify ! (
|
||||
root::RefPtr<root::nsIAtom> ) ));
|
||||
assert_eq!(::std::mem::align_of::<root::RefPtr<root::nsIAtom>>() ,
|
||||
root::RefPtr<root::nsAtom> ) ));
|
||||
assert_eq!(::std::mem::align_of::<root::RefPtr<root::nsAtom>>() ,
|
||||
8usize , concat ! (
|
||||
"Alignment of template specialization: " , stringify ! (
|
||||
root::RefPtr<root::nsIAtom> ) ));
|
||||
root::RefPtr<root::nsAtom> ) ));
|
||||
}
|
||||
#[test]
|
||||
fn __bindgen_test_layout_nsCOMPtr_open0_nsIStyleRule_close0_instantiation() {
|
||||
|
@ -34761,15 +34761,15 @@ pub mod root {
|
|||
root::RefPtr<root::mozilla::CounterStyleManager> ) ));
|
||||
}
|
||||
#[test]
|
||||
fn __bindgen_test_layout_RefPtr_open0_nsIAtom_close0_instantiation_5() {
|
||||
assert_eq!(::std::mem::size_of::<root::RefPtr<root::nsIAtom>>() ,
|
||||
fn __bindgen_test_layout_RefPtr_open0_nsAtom_close0_instantiation_5() {
|
||||
assert_eq!(::std::mem::size_of::<root::RefPtr<root::nsAtom>>() ,
|
||||
8usize , concat ! (
|
||||
"Size of template specialization: " , stringify ! (
|
||||
root::RefPtr<root::nsIAtom> ) ));
|
||||
assert_eq!(::std::mem::align_of::<root::RefPtr<root::nsIAtom>>() ,
|
||||
root::RefPtr<root::nsAtom> ) ));
|
||||
assert_eq!(::std::mem::align_of::<root::RefPtr<root::nsAtom>>() ,
|
||||
8usize , concat ! (
|
||||
"Alignment of template specialization: " , stringify ! (
|
||||
root::RefPtr<root::nsIAtom> ) ));
|
||||
root::RefPtr<root::nsAtom> ) ));
|
||||
}
|
||||
#[test]
|
||||
fn __bindgen_test_layout_RefPtr_open0_gfxFontFeatureValueSet_close0_instantiation_1() {
|
||||
|
@ -34783,15 +34783,15 @@ pub mod root {
|
|||
root::RefPtr<root::gfxFontFeatureValueSet> ) ));
|
||||
}
|
||||
#[test]
|
||||
fn __bindgen_test_layout_RefPtr_open0_nsIAtom_close0_instantiation_6() {
|
||||
assert_eq!(::std::mem::size_of::<root::RefPtr<root::nsIAtom>>() ,
|
||||
fn __bindgen_test_layout_RefPtr_open0_nsAtom_close0_instantiation_6() {
|
||||
assert_eq!(::std::mem::size_of::<root::RefPtr<root::nsAtom>>() ,
|
||||
8usize , concat ! (
|
||||
"Size of template specialization: " , stringify ! (
|
||||
root::RefPtr<root::nsIAtom> ) ));
|
||||
assert_eq!(::std::mem::align_of::<root::RefPtr<root::nsIAtom>>() ,
|
||||
root::RefPtr<root::nsAtom> ) ));
|
||||
assert_eq!(::std::mem::align_of::<root::RefPtr<root::nsAtom>>() ,
|
||||
8usize , concat ! (
|
||||
"Alignment of template specialization: " , stringify ! (
|
||||
root::RefPtr<root::nsIAtom> ) ));
|
||||
root::RefPtr<root::nsAtom> ) ));
|
||||
}
|
||||
#[test]
|
||||
fn __bindgen_test_layout_nsCOMPtr_open0_nsITheme_close0_instantiation() {
|
||||
|
@ -34882,37 +34882,37 @@ pub mod root {
|
|||
root::nsAutoPtr<root::gfxMissingFontRecorder> ) ));
|
||||
}
|
||||
#[test]
|
||||
fn __bindgen_test_layout_nsRefPtrHashKey_open0_nsIAtom_close0_instantiation() {
|
||||
assert_eq!(::std::mem::size_of::<root::nsRefPtrHashKey<root::nsIAtom>>()
|
||||
fn __bindgen_test_layout_nsRefPtrHashKey_open0_nsAtom_close0_instantiation() {
|
||||
assert_eq!(::std::mem::size_of::<root::nsRefPtrHashKey<root::nsAtom>>()
|
||||
, 16usize , concat ! (
|
||||
"Size of template specialization: " , stringify ! (
|
||||
root::nsRefPtrHashKey<root::nsIAtom> ) ));
|
||||
assert_eq!(::std::mem::align_of::<root::nsRefPtrHashKey<root::nsIAtom>>()
|
||||
root::nsRefPtrHashKey<root::nsAtom> ) ));
|
||||
assert_eq!(::std::mem::align_of::<root::nsRefPtrHashKey<root::nsAtom>>()
|
||||
, 8usize , concat ! (
|
||||
"Alignment of template specialization: " , stringify ! (
|
||||
root::nsRefPtrHashKey<root::nsIAtom> ) ));
|
||||
root::nsRefPtrHashKey<root::nsAtom> ) ));
|
||||
}
|
||||
#[test]
|
||||
fn __bindgen_test_layout_nsTArray_open0_RefPtr_open1_nsIAtom_close1_close0_instantiation_2() {
|
||||
assert_eq!(::std::mem::size_of::<root::nsTArray<root::RefPtr<root::nsIAtom>>>()
|
||||
fn __bindgen_test_layout_nsTArray_open0_RefPtr_open1_nsAtom_close1_close0_instantiation_2() {
|
||||
assert_eq!(::std::mem::size_of::<root::nsTArray<root::RefPtr<root::nsAtom>>>()
|
||||
, 8usize , concat ! (
|
||||
"Size of template specialization: " , stringify ! (
|
||||
root::nsTArray<root::RefPtr<root::nsIAtom>> ) ));
|
||||
assert_eq!(::std::mem::align_of::<root::nsTArray<root::RefPtr<root::nsIAtom>>>()
|
||||
root::nsTArray<root::RefPtr<root::nsAtom>> ) ));
|
||||
assert_eq!(::std::mem::align_of::<root::nsTArray<root::RefPtr<root::nsAtom>>>()
|
||||
, 8usize , concat ! (
|
||||
"Alignment of template specialization: " , stringify ! (
|
||||
root::nsTArray<root::RefPtr<root::nsIAtom>> ) ));
|
||||
root::nsTArray<root::RefPtr<root::nsAtom>> ) ));
|
||||
}
|
||||
#[test]
|
||||
fn __bindgen_test_layout_RefPtr_open0_nsIAtom_close0_instantiation_7() {
|
||||
assert_eq!(::std::mem::size_of::<root::RefPtr<root::nsIAtom>>() ,
|
||||
fn __bindgen_test_layout_RefPtr_open0_nsAtom_close0_instantiation_7() {
|
||||
assert_eq!(::std::mem::size_of::<root::RefPtr<root::nsAtom>>() ,
|
||||
8usize , concat ! (
|
||||
"Size of template specialization: " , stringify ! (
|
||||
root::RefPtr<root::nsIAtom> ) ));
|
||||
assert_eq!(::std::mem::align_of::<root::RefPtr<root::nsIAtom>>() ,
|
||||
root::RefPtr<root::nsAtom> ) ));
|
||||
assert_eq!(::std::mem::align_of::<root::RefPtr<root::nsAtom>>() ,
|
||||
8usize , concat ! (
|
||||
"Alignment of template specialization: " , stringify ! (
|
||||
root::RefPtr<root::nsIAtom> ) ));
|
||||
root::RefPtr<root::nsAtom> ) ));
|
||||
}
|
||||
#[test]
|
||||
fn __bindgen_test_layout_nsCOMPtr_open0_nsIPrincipal_close0_instantiation_4() {
|
||||
|
@ -35251,26 +35251,26 @@ pub mod root {
|
|||
root::mozilla::StaticRefPtr<root::nsIContent> ) ));
|
||||
}
|
||||
#[test]
|
||||
fn __bindgen_test_layout_nsRefPtrHashKey_open0_nsIAtom_close0_instantiation_1() {
|
||||
assert_eq!(::std::mem::size_of::<root::nsRefPtrHashKey<root::nsIAtom>>()
|
||||
fn __bindgen_test_layout_nsRefPtrHashKey_open0_nsAtom_close0_instantiation_1() {
|
||||
assert_eq!(::std::mem::size_of::<root::nsRefPtrHashKey<root::nsAtom>>()
|
||||
, 16usize , concat ! (
|
||||
"Size of template specialization: " , stringify ! (
|
||||
root::nsRefPtrHashKey<root::nsIAtom> ) ));
|
||||
assert_eq!(::std::mem::align_of::<root::nsRefPtrHashKey<root::nsIAtom>>()
|
||||
root::nsRefPtrHashKey<root::nsAtom> ) ));
|
||||
assert_eq!(::std::mem::align_of::<root::nsRefPtrHashKey<root::nsAtom>>()
|
||||
, 8usize , concat ! (
|
||||
"Alignment of template specialization: " , stringify ! (
|
||||
root::nsRefPtrHashKey<root::nsIAtom> ) ));
|
||||
root::nsRefPtrHashKey<root::nsAtom> ) ));
|
||||
}
|
||||
#[test]
|
||||
fn __bindgen_test_layout_RefPtr_open0_nsIAtom_close0_instantiation_8() {
|
||||
assert_eq!(::std::mem::size_of::<root::RefPtr<root::nsIAtom>>() ,
|
||||
fn __bindgen_test_layout_RefPtr_open0_nsAtom_close0_instantiation_8() {
|
||||
assert_eq!(::std::mem::size_of::<root::RefPtr<root::nsAtom>>() ,
|
||||
8usize , concat ! (
|
||||
"Size of template specialization: " , stringify ! (
|
||||
root::RefPtr<root::nsIAtom> ) ));
|
||||
assert_eq!(::std::mem::align_of::<root::RefPtr<root::nsIAtom>>() ,
|
||||
root::RefPtr<root::nsAtom> ) ));
|
||||
assert_eq!(::std::mem::align_of::<root::RefPtr<root::nsAtom>>() ,
|
||||
8usize , concat ! (
|
||||
"Alignment of template specialization: " , stringify ! (
|
||||
root::RefPtr<root::nsIAtom> ) ));
|
||||
root::RefPtr<root::nsAtom> ) ));
|
||||
}
|
||||
#[test]
|
||||
fn __bindgen_test_layout_UniquePtr_open0_TimeoutManager_DefaultDelete_open1_TimeoutManager_close1_close0_instantiation() {
|
||||
|
@ -35751,15 +35751,15 @@ pub mod root {
|
|||
root::nsTArray<::nsstring::nsStringRepr> ) ));
|
||||
}
|
||||
#[test]
|
||||
fn __bindgen_test_layout_RefPtr_open0_nsIAtom_close0_instantiation_9() {
|
||||
assert_eq!(::std::mem::size_of::<root::RefPtr<root::nsIAtom>>() ,
|
||||
fn __bindgen_test_layout_RefPtr_open0_nsAtom_close0_instantiation_9() {
|
||||
assert_eq!(::std::mem::size_of::<root::RefPtr<root::nsAtom>>() ,
|
||||
8usize , concat ! (
|
||||
"Size of template specialization: " , stringify ! (
|
||||
root::RefPtr<root::nsIAtom> ) ));
|
||||
assert_eq!(::std::mem::align_of::<root::RefPtr<root::nsIAtom>>() ,
|
||||
root::RefPtr<root::nsAtom> ) ));
|
||||
assert_eq!(::std::mem::align_of::<root::RefPtr<root::nsAtom>>() ,
|
||||
8usize , concat ! (
|
||||
"Alignment of template specialization: " , stringify ! (
|
||||
root::RefPtr<root::nsIAtom> ) ));
|
||||
root::RefPtr<root::nsAtom> ) ));
|
||||
}
|
||||
#[test]
|
||||
fn __bindgen_test_layout_nsAutoPtr_open0_LangGroupFontPrefs_close0_instantiation() {
|
||||
|
@ -35786,15 +35786,15 @@ pub mod root {
|
|||
) ));
|
||||
}
|
||||
#[test]
|
||||
fn __bindgen_test_layout_nsRefPtrHashKey_open0_nsIAtom_close0_instantiation_2() {
|
||||
assert_eq!(::std::mem::size_of::<root::nsRefPtrHashKey<root::nsIAtom>>()
|
||||
fn __bindgen_test_layout_nsRefPtrHashKey_open0_nsAtom_close0_instantiation_2() {
|
||||
assert_eq!(::std::mem::size_of::<root::nsRefPtrHashKey<root::nsAtom>>()
|
||||
, 16usize , concat ! (
|
||||
"Size of template specialization: " , stringify ! (
|
||||
root::nsRefPtrHashKey<root::nsIAtom> ) ));
|
||||
assert_eq!(::std::mem::align_of::<root::nsRefPtrHashKey<root::nsIAtom>>()
|
||||
root::nsRefPtrHashKey<root::nsAtom> ) ));
|
||||
assert_eq!(::std::mem::align_of::<root::nsRefPtrHashKey<root::nsAtom>>()
|
||||
, 8usize , concat ! (
|
||||
"Alignment of template specialization: " , stringify ! (
|
||||
root::nsRefPtrHashKey<root::nsIAtom> ) ));
|
||||
root::nsRefPtrHashKey<root::nsAtom> ) ));
|
||||
}
|
||||
#[test]
|
||||
fn __bindgen_test_layout_nsTArray_open0__bindgen_ty_id_228468_close0_instantiation() {
|
||||
|
@ -36388,15 +36388,15 @@ pub mod root {
|
|||
root::nsTArray<::nsstring::nsStringRepr> ) ));
|
||||
}
|
||||
#[test]
|
||||
fn __bindgen_test_layout_RefPtr_open0_nsIAtom_close0_instantiation_10() {
|
||||
assert_eq!(::std::mem::size_of::<root::RefPtr<root::nsIAtom>>() ,
|
||||
fn __bindgen_test_layout_RefPtr_open0_nsAtom_close0_instantiation_10() {
|
||||
assert_eq!(::std::mem::size_of::<root::RefPtr<root::nsAtom>>() ,
|
||||
8usize , concat ! (
|
||||
"Size of template specialization: " , stringify ! (
|
||||
root::RefPtr<root::nsIAtom> ) ));
|
||||
assert_eq!(::std::mem::align_of::<root::RefPtr<root::nsIAtom>>() ,
|
||||
root::RefPtr<root::nsAtom> ) ));
|
||||
assert_eq!(::std::mem::align_of::<root::RefPtr<root::nsAtom>>() ,
|
||||
8usize , concat ! (
|
||||
"Alignment of template specialization: " , stringify ! (
|
||||
root::RefPtr<root::nsIAtom> ) ));
|
||||
root::RefPtr<root::nsAtom> ) ));
|
||||
}
|
||||
#[test]
|
||||
fn __bindgen_test_layout_nsTArray_open0_nsStyleCoord_close0_instantiation_3() {
|
||||
|
@ -37301,15 +37301,15 @@ pub mod root {
|
|||
root::nsTArray<*mut root::mozilla::css::DocumentRule> ) ));
|
||||
}
|
||||
#[test]
|
||||
fn __bindgen_test_layout_RefPtr_open0_nsIAtom_close0_instantiation_11() {
|
||||
assert_eq!(::std::mem::size_of::<root::RefPtr<root::nsIAtom>>() ,
|
||||
fn __bindgen_test_layout_RefPtr_open0_nsAtom_close0_instantiation_11() {
|
||||
assert_eq!(::std::mem::size_of::<root::RefPtr<root::nsAtom>>() ,
|
||||
8usize , concat ! (
|
||||
"Size of template specialization: " , stringify ! (
|
||||
root::RefPtr<root::nsIAtom> ) ));
|
||||
assert_eq!(::std::mem::align_of::<root::RefPtr<root::nsIAtom>>() ,
|
||||
root::RefPtr<root::nsAtom> ) ));
|
||||
assert_eq!(::std::mem::align_of::<root::RefPtr<root::nsAtom>>() ,
|
||||
8usize , concat ! (
|
||||
"Alignment of template specialization: " , stringify ! (
|
||||
root::RefPtr<root::nsIAtom> ) ));
|
||||
root::RefPtr<root::nsAtom> ) ));
|
||||
}
|
||||
#[test]
|
||||
fn __bindgen_test_layout_nsTArray_open0_nsMediaExpression_close0_instantiation() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue