Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Update bindings
  • Loading branch information
canova committed Aug 25, 2017
1 parent 81be90c commit d1f5140
Show file tree
Hide file tree
Showing 3 changed files with 1,041 additions and 705 deletions.
24 changes: 24 additions & 0 deletions components/style/gecko/generated/bindings.rs
Expand Up @@ -66,6 +66,7 @@ use gecko_bindings::structs::StyleBasicShape;
use gecko_bindings::structs::StyleBasicShapeType;
use gecko_bindings::structs::StyleShapeSource;
use gecko_bindings::structs::StyleTransition;
use gecko_bindings::structs::gfxFontFeatureValueSet;
use gecko_bindings::structs::nsBorderColors;
use gecko_bindings::structs::nsCSSCounterStyleRule;
use gecko_bindings::structs::nsCSSFontFaceRule;
Expand Down Expand Up @@ -910,6 +911,22 @@ extern "C" {
extern "C" {
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)
-> *mut nsTArray<::std::os::raw::c_uint>;
}
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" {
pub fn Gecko_ClearAlternateValues(font: *mut nsFont, length: usize);
}
Expand Down Expand Up @@ -2032,6 +2049,13 @@ extern "C" {
name: *mut nsIAtom)
-> *mut nsCSSCounterStyleRule;
}
extern "C" {
pub fn Servo_StyleSet_BuildFontFeatureValueSet(set:
RawServoStyleSetBorrowed,
list:
*mut gfxFontFeatureValueSet)
-> bool;
}
extern "C" {
pub fn Servo_StyleSet_ResolveForDeclarations(set:
RawServoStyleSetBorrowed,
Expand Down

0 comments on commit d1f5140

Please sign in to comment.