Add FFI for getting the zero value of an animation value

This commit is contained in:
Brian Birtles 2017-06-05 12:03:38 +09:00
parent e48f94cbda
commit 34556f7769
2 changed files with 18 additions and 0 deletions

View file

@ -2185,6 +2185,11 @@ extern "C" {
RawServoAnimationValueBorrowed)
-> bool;
}
extern "C" {
pub fn Servo_AnimationValues_GetZeroValue(value_to_match:
RawServoAnimationValueBorrowed)
-> RawServoAnimationValueStrong;
}
extern "C" {
pub fn Servo_AnimationValues_ComputeDistance(from:
RawServoAnimationValueBorrowed,