Regen bindings and build fixes.

This commit is contained in:
Emilio Cobos Álvarez 2016-09-14 14:19:34 -07:00
parent ba89188e8b
commit 52aa87bc33
No known key found for this signature in database
GPG key ID: 056B727BB9C1027C
5 changed files with 15071 additions and 6953 deletions

View file

@ -1640,7 +1640,7 @@ clip-path
fn init_shape(clip_path: &mut StyleClipPath, ty: StyleBasicShapeType) -> &mut StyleBasicShape { fn init_shape(clip_path: &mut StyleClipPath, ty: StyleBasicShapeType) -> &mut StyleBasicShape {
unsafe { unsafe {
// We have to be very careful to avoid a copy here! // We have to be very careful to avoid a copy here!
let ref mut union = clip_path.StyleShapeSource_nsStyleStruct_h_unnamed_26; let ref mut union = clip_path.__bindgen_anon_1;
let mut shape: &mut *mut StyleBasicShape = union.mBasicShape.as_mut(); let mut shape: &mut *mut StyleBasicShape = union.mBasicShape.as_mut();
*shape = Gecko_NewBasicShape(ty); *shape = Gecko_NewBasicShape(ty);
&mut **shape &mut **shape
@ -1738,7 +1738,7 @@ clip-path
} else { } else {
Some(clip_path.mReferenceBox.into()) Some(clip_path.mReferenceBox.into())
}; };
let union = clip_path.StyleShapeSource_nsStyleStruct_h_unnamed_26; let union = clip_path.__bindgen_anon_1;
let shape = unsafe { &**union.mBasicShape.as_ref() }; let shape = unsafe { &**union.mBasicShape.as_ref() };
ShapeSource::Shape(shape.into(), reference) ShapeSource::Shape(shape.into(), reference)
} }

View file

@ -28,7 +28,7 @@ COMPILATION_TARGETS = {
"clang_flags": [ "clang_flags": [
"-x", "c++", "-std=c++14", "-x", "c++", "-std=c++14",
"-DTRACING=1", "-DIMPL_LIBXUL", "-DMOZ_STYLO_BINDINGS=1", "-DTRACING=1", "-DIMPL_LIBXUL", "-DMOZ_STYLO_BINDINGS=1",
"-DMOZILLA_INTERNAL_API", "-DRUST_BINDGEN", "-DMOZILLA_INTERNAL_API", "-DRUST_BINDGEN", "-DMOZ_STYLO"
], ],
"search_dirs": [ "search_dirs": [
"{}/dist/include", "{}/dist/include",
@ -145,7 +145,9 @@ COMPILATION_TARGETS = {
"nsAString_internal_incompatible_char_type", "nsAString_internal_incompatible_char_type",
"nsACString_internal_char_traits", "nsACString_internal_char_traits",
"nsACString_internal_incompatible_char_type", "nsACString_internal_incompatible_char_type",
"RefPtr_Proxy", "nsAutoPtr_Proxy", "Pair_Base",
"RefPtr_Proxy_member_function", "nsAutoPtr_Proxy_member_function", "RefPtr_Proxy_member_function", "nsAutoPtr_Proxy_member_function",
"nsWritingIterator_reference", "nsReadingIterator_reference",
"Heap", "TenuredHeap", "Rooted", "WeakPtr", # <- More template magic than what "Heap", "TenuredHeap", "Rooted", "WeakPtr", # <- More template magic than what
# we support. # we support.
"nsTObserverArray", # <- Inherits from nsAutoTObserverArray<T, 0> "nsTObserverArray", # <- Inherits from nsAutoTObserverArray<T, 0>

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff