geckolib: Add correct repr() for enum declarations

This fixes the layout of `StyleAnimation`, though we probably want to
include AnimationEffectReadOnlyBinding.h.

The problem with that is that namespacing should be polished, or a lot
of types should be blacklisted, since the bindings define a few
repetitive names.
This commit is contained in:
Emilio Cobos Álvarez 2016-04-02 21:44:13 +02:00
parent fcbfb4fbd2
commit fd79e7a20f

View file

@ -2541,8 +2541,12 @@ fn bindgen_test_layout_nsRect() {
#[repr(i8)] #[repr(i8)]
#[derive(Debug, Copy, Clone)] #[derive(Debug, Copy, Clone)]
pub enum StyleBoxSizing { Content = 0, Padding = 1, Border = 2, } pub enum StyleBoxSizing { Content = 0, Padding = 1, Border = 2, }
pub enum PlaybackDirection { } #[repr(i32)]
pub enum FillMode { } #[derive(Debug, Copy, Clone)]
pub enum PlaybackDirection { _BindgenOpaqueEnum = 0, }
#[repr(i32)]
#[derive(Debug, Copy, Clone)]
pub enum FillMode { _BindgenOpaqueEnum = 0, }
pub enum WritingMode { } pub enum WritingMode { }
#[repr(u32)] #[repr(u32)]
#[derive(Debug, Copy, Clone)] #[derive(Debug, Copy, Clone)]