stylo: add constructors for @font-face descriptors

This commit is contained in:
Nazım Can Altınova 2017-02-23 00:49:35 +03:00
parent b63488c2ac
commit 9c28f21251
No known key found for this signature in database
GPG key ID: AF9BCD7CE6449954

View file

@ -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);
}