Regenerate bindings and tweak some geckolib code for it.

This commit is contained in:
Cameron McCormack 2017-01-26 17:32:08 +08:00
parent e4a1cb6f87
commit 2f39b49e22
5 changed files with 902 additions and 466 deletions

View file

@ -377,6 +377,7 @@ mod bindings {
"mozilla::DefaultDelete",
"mozilla::Side",
"mozilla::binding_danger::AssertAndSuppressCleanupPolicy",
"RawServoAnimationValueBorrowedListBorrowed",
];
let opaque_types = [
"std::pair__PCCP",
@ -491,7 +492,6 @@ mod bindings {
"RawGeckoNode",
"RawGeckoAnimationValueList",
"RawServoAnimationValue",
"RawServoAnimationValueList",
"RawGeckoPresContext",
"RawGeckoPresContextOwned",
"ThreadSafeURIHolder",
@ -558,6 +558,8 @@ mod bindings {
"nsresult",
"Loader",
"ServoStyleSheet",
"EffectCompositor_CascadeLevel",
"RawServoAnimationValueBorrowedListBorrowed",
];
struct ArrayType {
cpp_type: &'static str,
@ -594,7 +596,6 @@ mod bindings {
let servo_borrow_types = [
"nsCSSValue",
"RawGeckoAnimationValueList",
"RawServoAnimationValueList",
];
for &ty in structs_types.iter() {
builder = builder.hide_type(ty)