aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--components/style/gecko_bindings/bindings.rs33
1 files changed, 29 insertions, 4 deletions
diff --git a/components/style/gecko_bindings/bindings.rs b/components/style/gecko_bindings/bindings.rs
index c07885bee08..eafce93ea25 100644
--- a/components/style/gecko_bindings/bindings.rs
+++ b/components/style/gecko_bindings/bindings.rs
@@ -739,6 +739,35 @@ extern "C" {
pub fn Gecko_NewCSSValueSharedList(len: u32) -> *mut nsCSSValueSharedList;
}
extern "C" {
+ pub fn Gecko_CSSValue_GetArrayItem(css_value: nsCSSValueBorrowedMut,
+ index: i32) -> nsCSSValueBorrowedMut;
+}
+extern "C" {
+ pub fn Gecko_CSSValue_GetArrayItemConst(css_value: nsCSSValueBorrowed,
+ index: i32) -> nsCSSValueBorrowed;
+}
+extern "C" {
+ pub fn Gecko_CSSValue_GetAbsoluteLength(css_value: nsCSSValueBorrowed)
+ -> nscoord;
+}
+extern "C" {
+ pub fn Gecko_CSSValue_GetAngle(css_value: nsCSSValueBorrowed) -> f32;
+}
+extern "C" {
+ pub fn Gecko_CSSValue_GetKeyword(aCSSValue: nsCSSValueBorrowed)
+ -> nsCSSKeyword;
+}
+extern "C" {
+ pub fn Gecko_CSSValue_GetNumber(css_value: nsCSSValueBorrowed) -> f32;
+}
+extern "C" {
+ pub fn Gecko_CSSValue_GetPercentage(css_value: nsCSSValueBorrowed) -> f32;
+}
+extern "C" {
+ pub fn Gecko_CSSValue_GetCalc(aCSSValue: nsCSSValueBorrowed)
+ -> nsStyleCoord_CalcValue;
+}
+extern "C" {
pub fn Gecko_CSSValue_SetAbsoluteLength(css_value: nsCSSValueBorrowedMut,
len: nscoord);
}
@@ -767,10 +796,6 @@ extern "C" {
len: i32);
}
extern "C" {
- pub fn Gecko_CSSValue_GetArrayItem(css_value: nsCSSValueBorrowedMut,
- index: i32) -> nsCSSValueBorrowedMut;
-}
-extern "C" {
pub fn Gecko_CSSValue_Drop(css_value: nsCSSValueBorrowedMut);
}
extern "C" {