mirror of
https://github.com/servo/servo.git
synced 2025-08-07 14:35:33 +01:00
Update bindings
This commit is contained in:
parent
6d7a1903b8
commit
984463fdcb
3 changed files with 1042 additions and 705 deletions
|
@ -66,6 +66,7 @@ use gecko_bindings::structs::StyleBasicShape;
|
||||||
use gecko_bindings::structs::StyleBasicShapeType;
|
use gecko_bindings::structs::StyleBasicShapeType;
|
||||||
use gecko_bindings::structs::StyleShapeSource;
|
use gecko_bindings::structs::StyleShapeSource;
|
||||||
use gecko_bindings::structs::StyleTransition;
|
use gecko_bindings::structs::StyleTransition;
|
||||||
|
use gecko_bindings::structs::gfxFontFeatureValueSet;
|
||||||
use gecko_bindings::structs::nsBorderColors;
|
use gecko_bindings::structs::nsBorderColors;
|
||||||
use gecko_bindings::structs::nsCSSCounterStyleRule;
|
use gecko_bindings::structs::nsCSSCounterStyleRule;
|
||||||
use gecko_bindings::structs::nsCSSFontFaceRule;
|
use gecko_bindings::structs::nsCSSFontFaceRule;
|
||||||
|
@ -239,6 +240,7 @@ unsafe impl Send for nsStyleTransformMatrix::MatrixTransformOperator {}
|
||||||
unsafe impl Sync for nsStyleTransformMatrix::MatrixTransformOperator {}
|
unsafe impl Sync for nsStyleTransformMatrix::MatrixTransformOperator {}
|
||||||
use gecko_bindings::structs::RawGeckoGfxMatrix4x4;
|
use gecko_bindings::structs::RawGeckoGfxMatrix4x4;
|
||||||
pub type nsTArrayBorrowed_uintptr_t<'a> = &'a mut ::gecko_bindings::structs::nsTArray<usize>;
|
pub type nsTArrayBorrowed_uintptr_t<'a> = &'a mut ::gecko_bindings::structs::nsTArray<usize>;
|
||||||
|
pub type nsTArrayBorrowed_uint32_t<'a> = &'a mut ::gecko_bindings::structs::nsTArray<u32>;
|
||||||
pub type RawServoStyleSetOwned = ::gecko_bindings::sugar::ownership::Owned<RawServoStyleSet>;
|
pub type RawServoStyleSetOwned = ::gecko_bindings::sugar::ownership::Owned<RawServoStyleSet>;
|
||||||
pub type RawServoStyleSetOwnedOrNull = ::gecko_bindings::sugar::ownership::OwnedOrNull<RawServoStyleSet>;
|
pub type RawServoStyleSetOwnedOrNull = ::gecko_bindings::sugar::ownership::OwnedOrNull<RawServoStyleSet>;
|
||||||
pub type RawServoStyleSetBorrowed<'a> = &'a RawServoStyleSet;
|
pub type RawServoStyleSetBorrowed<'a> = &'a RawServoStyleSet;
|
||||||
|
@ -910,6 +912,22 @@ extern "C" {
|
||||||
extern "C" {
|
extern "C" {
|
||||||
pub fn Gecko_nsFont_Destroy(dst: *mut nsFont);
|
pub fn Gecko_nsFont_Destroy(dst: *mut nsFont);
|
||||||
}
|
}
|
||||||
|
extern "C" {
|
||||||
|
pub fn Gecko_AppendFeatureValueHashEntry(value_set:
|
||||||
|
*mut gfxFontFeatureValueSet,
|
||||||
|
family: *mut nsIAtom,
|
||||||
|
alternate: u32,
|
||||||
|
name: *mut nsIAtom)
|
||||||
|
-> nsTArrayBorrowed_uint32_t;
|
||||||
|
}
|
||||||
|
extern "C" {
|
||||||
|
pub fn Gecko_nsFont_SetFontFeatureValuesLookup(font: *mut nsFont,
|
||||||
|
pres_context:
|
||||||
|
*const RawGeckoPresContext);
|
||||||
|
}
|
||||||
|
extern "C" {
|
||||||
|
pub fn Gecko_nsFont_ResetFontFeatureValuesLookup(font: *mut nsFont);
|
||||||
|
}
|
||||||
extern "C" {
|
extern "C" {
|
||||||
pub fn Gecko_ClearAlternateValues(font: *mut nsFont, length: usize);
|
pub fn Gecko_ClearAlternateValues(font: *mut nsFont, length: usize);
|
||||||
}
|
}
|
||||||
|
@ -2032,6 +2050,13 @@ extern "C" {
|
||||||
name: *mut nsIAtom)
|
name: *mut nsIAtom)
|
||||||
-> *mut nsCSSCounterStyleRule;
|
-> *mut nsCSSCounterStyleRule;
|
||||||
}
|
}
|
||||||
|
extern "C" {
|
||||||
|
pub fn Servo_StyleSet_BuildFontFeatureValueSet(set:
|
||||||
|
RawServoStyleSetBorrowed,
|
||||||
|
list:
|
||||||
|
*mut gfxFontFeatureValueSet)
|
||||||
|
-> bool;
|
||||||
|
}
|
||||||
extern "C" {
|
extern "C" {
|
||||||
pub fn Servo_StyleSet_ResolveForDeclarations(set:
|
pub fn Servo_StyleSet_ResolveForDeclarations(set:
|
||||||
RawServoStyleSetBorrowed,
|
RawServoStyleSetBorrowed,
|
||||||
|
|
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue