Regenerate bindings.

MozReview-Commit-ID: LLZf2HKBpjF
This commit is contained in:
Cameron McCormack 2016-11-03 17:53:12 +08:00
parent dd611ef310
commit c6be1a8995
4 changed files with 19 additions and 2 deletions

View file

@ -278,6 +278,7 @@ COMPILATION_TARGETS = {
"nsCSSValue",
"nsCSSValueSharedList",
"nsChangeHint",
"nsCursorImage",
"nsFont",
"nsIAtom",
"nsIDocument",

View file

@ -60,6 +60,7 @@ use gecko_bindings::structs::nsCSSShadowArray;
use gecko_bindings::structs::nsCSSValue;
use gecko_bindings::structs::nsCSSValueSharedList;
use gecko_bindings::structs::nsChangeHint;
use gecko_bindings::structs::nsCursorImage;
use gecko_bindings::structs::nsFont;
use gecko_bindings::structs::nsIAtom;
use gecko_bindings::structs::nsIDocument;
@ -510,6 +511,21 @@ extern "C" {
pub fn Gecko_CopyListStyleImageFrom(dest: *mut nsStyleList,
src: *const nsStyleList);
}
extern "C" {
pub fn Gecko_SetCursorArrayLength(ui: *mut nsStyleUserInterface,
len: usize);
}
extern "C" {
pub fn Gecko_SetCursorImage(cursor: *mut nsCursorImage,
string_bytes: *const u8, string_length: u32,
base_uri: *mut ThreadSafeURIHolder,
referrer: *mut ThreadSafeURIHolder,
principal: *mut ThreadSafePrincipalHolder);
}
extern "C" {
pub fn Gecko_CopyCursorArrayFrom(dest: *mut nsStyleUserInterface,
src: *const nsStyleUserInterface);
}
extern "C" {
pub fn Gecko_SetMozBinding(style_struct: *mut nsStyleDisplay,
string_bytes: *const u8, string_length: u32,

View file

@ -11866,7 +11866,7 @@ pub struct nsCursorImage {
pub mHaveHotspot: bool,
pub mHotspotX: f32,
pub mHotspotY: f32,
pub mImage: nsCOMPtr<imgIRequest>,
pub mImage: RefPtr<nsStyleImageRequest>,
}
#[test]
fn bindgen_test_layout_nsCursorImage() {

View file

@ -11822,7 +11822,7 @@ pub struct nsCursorImage {
pub mHaveHotspot: bool,
pub mHotspotX: f32,
pub mHotspotY: f32,
pub mImage: nsCOMPtr<imgIRequest>,
pub mImage: RefPtr<nsStyleImageRequest>,
}
#[test]
fn bindgen_test_layout_nsCursorImage() {