From 9c28f21251747b76e0692e2a903bbaaf2cd21b30 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Naz=C4=B1m=20Can=20Alt=C4=B1nova?= Date: Thu, 23 Feb 2017 00:49:35 +0300 Subject: [PATCH] stylo: add constructors for @font-face descriptors --- components/style/gecko_bindings/bindings.rs | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/components/style/gecko_bindings/bindings.rs b/components/style/gecko_bindings/bindings.rs index b0a043ead46..eed8f44a222 100644 --- a/components/style/gecko_bindings/bindings.rs +++ b/components/style/gecko_bindings/bindings.rs @@ -840,6 +840,26 @@ extern "C" { pub fn Gecko_CSSValue_SetFunction(css_value: nsCSSValueBorrowedMut, len: i32); } +extern "C" { + pub fn Gecko_CSSValue_SetString(css_value: nsCSSValueBorrowedMut, + string: nsString); +} +extern "C" { + pub fn Gecko_CSSValue_SetArray(css_value: nsCSSValueBorrowedMut, + len: i32); +} +extern "C" { + pub fn Gecko_CSSValue_SetURL(css_value: nsCSSValueBorrowedMut, + uri: ServoBundledURI); +} +extern "C" { + pub fn Gecko_CSSValue_SetLocal(css_value: nsCSSValueBorrowedMut, + family: nsString); +} +extern "C" { + pub fn Gecko_CSSValue_SetInteger(css_value: nsCSSValueBorrowedMut, + integer: i32); +} extern "C" { pub fn Gecko_CSSValue_Drop(css_value: nsCSSValueBorrowedMut); }