mirror of
https://github.com/servo/servo.git
synced 2025-08-07 22:45:34 +01:00
stylo: add constructors for @font-face descriptors
This commit is contained in:
parent
b63488c2ac
commit
9c28f21251
1 changed files with 20 additions and 0 deletions
|
@ -840,6 +840,26 @@ extern "C" {
|
||||||
pub fn Gecko_CSSValue_SetFunction(css_value: nsCSSValueBorrowedMut,
|
pub fn Gecko_CSSValue_SetFunction(css_value: nsCSSValueBorrowedMut,
|
||||||
len: i32);
|
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" {
|
extern "C" {
|
||||||
pub fn Gecko_CSSValue_Drop(css_value: nsCSSValueBorrowedMut);
|
pub fn Gecko_CSSValue_Drop(css_value: nsCSSValueBorrowedMut);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue