Skip to content

Commit

Permalink
Update bindings.
Browse files Browse the repository at this point in the history
  • Loading branch information
Hiroyuki Ikezoe committed Apr 15, 2017
1 parent bd066af commit b0cf782
Show file tree
Hide file tree
Showing 3 changed files with 394 additions and 337 deletions.
17 changes: 16 additions & 1 deletion components/style/gecko_bindings/bindings.rs
Expand Up @@ -1553,6 +1553,15 @@ extern "C" {
list:
RawGeckoFontFaceRuleListBorrowedMut);
}
extern "C" {
pub fn Servo_StyleSet_ResolveForDeclarations(set:
RawServoStyleSetBorrowed,
parent_style:
ServoComputedValuesBorrowedOrNull,
declarations:
RawServoDeclarationBlockBorrowed)
-> ServoComputedValuesStrong;
}
extern "C" {
pub fn Servo_CssRules_ListTypes(rules: ServoCssRulesBorrowed,
result: nsTArrayBorrowed_uintptr_t);
Expand Down Expand Up @@ -1664,7 +1673,7 @@ extern "C" {
RawServoDeclarationBlockBorrowed);
}
extern "C" {
pub fn Servo_ParseProperty(property: *const nsACString,
pub fn Servo_ParseProperty(property: nsCSSPropertyID,
value: *const nsACString,
data: *mut RawGeckoURLExtraData)
-> RawServoDeclarationBlockStrong;
Expand Down Expand Up @@ -1845,6 +1854,12 @@ extern "C" {
property:
nsCSSPropertyID);
}
extern "C" {
pub fn Servo_DeclarationBlock_HasCSSWideKeyword(declarations:
RawServoDeclarationBlockBorrowed,
property: nsCSSPropertyID)
-> bool;
}
extern "C" {
pub fn Servo_AnimationCompose(animation_values:
RawServoAnimationValueMapBorrowed,
Expand Down

0 comments on commit b0cf782

Please sign in to comment.