Skip to content

Commit

Permalink
Stylo: Add new Gecko_XXXImageValue functions and remove unsed ones in…
Browse files Browse the repository at this point in the history
… binding.rs
  • Loading branch information
cku committed May 15, 2017
1 parent f9b3707 commit cc67f37
Showing 1 changed file with 11 additions and 8 deletions.
19 changes: 11 additions & 8 deletions components/style/gecko/generated/bindings.rs
Expand Up @@ -832,8 +832,11 @@ extern "C" {
pub fn Gecko_ReleaseImageValueArbitraryThread(aPtr: *mut ImageValue);
}
extern "C" {
pub fn Gecko_SetUrlImageValue(image: *mut nsStyleImage,
uri: ServoBundledURI);
pub fn Gecko_ImageValue_Create(uri: ServoBundledURI) -> *mut ImageValue;
}
extern "C" {
pub fn Gecko_SetLayerImageImageValue(image: *mut nsStyleImage,
imageValue: *mut ImageValue);
}
extern "C" {
pub fn Gecko_SetImageElement(image: *mut nsStyleImage,
Expand All @@ -855,8 +858,8 @@ extern "C" {
pub fn Gecko_SetListStyleImageNone(style_struct: *mut nsStyleList);
}
extern "C" {
pub fn Gecko_SetListStyleImage(style_struct: *mut nsStyleList,
uri: ServoBundledURI);
pub fn Gecko_SetListStyleImageImageValue(style_struct: *mut nsStyleList,
imageValue: *mut ImageValue);
}
extern "C" {
pub fn Gecko_CopyListStyleImageFrom(dest: *mut nsStyleList,
Expand All @@ -867,16 +870,16 @@ extern "C" {
len: usize);
}
extern "C" {
pub fn Gecko_SetCursorImage(cursor: *mut nsCursorImage,
uri: ServoBundledURI);
pub fn Gecko_SetCursorImageValue(cursor: *mut nsCursorImage,
imageValue: *mut ImageValue);
}
extern "C" {
pub fn Gecko_CopyCursorArrayFrom(dest: *mut nsStyleUserInterface,
src: *const nsStyleUserInterface);
}
extern "C" {
pub fn Gecko_SetContentDataImage(content_data: *mut nsStyleContentData,
uri: ServoBundledURI);
pub fn Gecko_SetContentDataImageValue(content_data: *mut nsStyleContentData,
imageValue: *mut ImageValue);
}
extern "C" {
pub fn Gecko_SetContentDataArray(content_data: *mut nsStyleContentData,
Expand Down

0 comments on commit cc67f37

Please sign in to comment.