style: Regenerate Gecko bindings.

This commit is contained in:
Cameron McCormack 2017-10-03 18:01:26 +08:00
parent 4d9dd4b757
commit fde77ee693
4 changed files with 482 additions and 323 deletions

View file

@ -52,7 +52,6 @@ use gecko_bindings::structs::CSSPseudoElementType;
use gecko_bindings::structs::ServoTraversalFlags;
use gecko_bindings::structs::ComputedTimingFunction_BeforeFlag;
use gecko_bindings::structs::CounterStylePtr;
use gecko_bindings::structs::FontFamilyList;
use gecko_bindings::structs::FontFamilyType;
use gecko_bindings::structs::FontSizePrefs;
use gecko_bindings::structs::GeckoFontMetrics;
@ -240,6 +239,8 @@ use gecko_bindings::structs::nsStyleTransformMatrix::MatrixTransformOperator;
unsafe impl Send for nsStyleTransformMatrix::MatrixTransformOperator {}
unsafe impl Sync for nsStyleTransformMatrix::MatrixTransformOperator {}
use gecko_bindings::structs::RawGeckoGfxMatrix4x4;
use gecko_bindings::structs::FontFamilyName;
use gecko_bindings::structs::mozilla::SharedFontList;
pub type nsTArrayBorrowed_uintptr_t<'a> = &'a mut ::gecko_bindings::structs::nsTArray<usize>;
pub type RawServoStyleSetOwned = ::gecko_bindings::sugar::ownership::Owned<RawServoStyleSet>;
pub type RawServoStyleSetOwnedOrNull = ::gecko_bindings::sugar::ownership::OwnedOrNull<RawServoStyleSet>;
@ -873,21 +874,41 @@ extern "C" {
extern "C" {
pub fn Gecko_EnsureMozBorderColors(aBorder: *mut nsStyleBorder);
}
extern "C" {
pub fn Gecko_FontFamilyList_Clear(aList: *mut FontFamilyList);
}
extern "C" {
pub fn Gecko_FontFamilyList_AppendNamed(aList: *mut FontFamilyList,
aName: *mut nsIAtom,
aQuoted: bool);
}
extern "C" {
pub fn Gecko_FontFamilyList_AppendGeneric(list: *mut FontFamilyList,
familyType: FontFamilyType);
}
extern "C" {
pub fn Gecko_CopyFontFamilyFrom(dst: *mut nsFont, src: *const nsFont);
}
extern "C" {
pub fn Gecko_nsTArray_FontFamilyName_AppendNamed(aNames:
*mut nsTArray<FontFamilyName>,
aName: *mut nsIAtom,
aQuoted: bool);
}
extern "C" {
pub fn Gecko_nsTArray_FontFamilyName_AppendGeneric(aNames:
*mut nsTArray<FontFamilyName>,
aType: FontFamilyType);
}
extern "C" {
pub fn Gecko_SharedFontList_Create() -> *mut SharedFontList;
}
extern "C" {
pub fn Gecko_SharedFontList_SizeOfIncludingThis(fontlist:
*mut SharedFontList)
-> usize;
}
extern "C" {
pub fn Gecko_SharedFontList_SizeOfIncludingThisIfUnshared(fontlist:
*mut SharedFontList)
-> usize;
}
extern "C" {
pub fn Gecko_AddRefSharedFontListArbitraryThread(aPtr:
*mut SharedFontList);
}
extern "C" {
pub fn Gecko_ReleaseSharedFontListArbitraryThread(aPtr:
*mut SharedFontList);
}
extern "C" {
pub fn Gecko_nsFont_InitSystem(dst: *mut nsFont, font_id: i32,
font: *const nsStyleFont,