mirror of
https://github.com/servo/servo.git
synced 2025-06-29 19:43:39 +01:00
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:
parent
fcbfb4fbd2
commit
fd79e7a20f
1 changed files with 6 additions and 2 deletions
|
@ -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)]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue