aboutsummaryrefslogtreecommitdiffstats
path: root/components/style/gecko/generated/structs_debug.rs
diff options
context:
space:
mode:
authorbors-servo <lbergstrom+bors@mozilla.com>2017-06-09 15:56:10 -0700
committerGitHub <noreply@github.com>2017-06-09 15:56:10 -0700
commitff17af064b672482e12d98ec474e2dc0013cb17f (patch)
tree6ffc8274a058f54fd8e007cd33f234d2c50798a0 /components/style/gecko/generated/structs_debug.rs
parent061cb5f48e5c93a5decf39e530aea4a566e97341 (diff)
parentfd0ac4f31e51f705973f25cb0d2f0867151ee811 (diff)
downloadservo-ff17af064b672482e12d98ec474e2dc0013cb17f.tar.gz
servo-ff17af064b672482e12d98ec474e2dc0013cb17f.zip
Auto merge of #17262 - Manishearth:bindings, r=Manishearth
Update bindings for StyleImageLayerRepeat https://bugzilla.mozilla.org/show_bug.cgi?id=1371354 <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/17262) <!-- Reviewable:end -->
Diffstat (limited to 'components/style/gecko/generated/structs_debug.rs')
-rw-r--r--components/style/gecko/generated/structs_debug.rs21
1 files changed, 12 insertions, 9 deletions
diff --git a/components/style/gecko/generated/structs_debug.rs b/components/style/gecko/generated/structs_debug.rs
index 7d9332cdbcb..a0a630f02c3 100644
--- a/components/style/gecko/generated/structs_debug.rs
+++ b/components/style/gecko/generated/structs_debug.rs
@@ -258,13 +258,6 @@ pub mod root {
pub const NS_STYLE_IMAGELAYER_POSITION_BOTTOM: ::std::os::raw::c_uint = 4;
pub const NS_STYLE_IMAGELAYER_POSITION_LEFT: ::std::os::raw::c_uint = 8;
pub const NS_STYLE_IMAGELAYER_POSITION_RIGHT: ::std::os::raw::c_uint = 16;
- pub const NS_STYLE_IMAGELAYER_REPEAT_NO_REPEAT: ::std::os::raw::c_uint =
- 0;
- pub const NS_STYLE_IMAGELAYER_REPEAT_REPEAT_X: ::std::os::raw::c_uint = 1;
- pub const NS_STYLE_IMAGELAYER_REPEAT_REPEAT_Y: ::std::os::raw::c_uint = 2;
- pub const NS_STYLE_IMAGELAYER_REPEAT_REPEAT: ::std::os::raw::c_uint = 3;
- pub const NS_STYLE_IMAGELAYER_REPEAT_SPACE: ::std::os::raw::c_uint = 4;
- pub const NS_STYLE_IMAGELAYER_REPEAT_ROUND: ::std::os::raw::c_uint = 5;
pub const NS_STYLE_IMAGELAYER_SIZE_CONTAIN: ::std::os::raw::c_uint = 0;
pub const NS_STYLE_IMAGELAYER_SIZE_COVER: ::std::os::raw::c_uint = 1;
pub const NS_STYLE_MASK_MODE_ALPHA: ::std::os::raw::c_uint = 0;
@@ -6420,6 +6413,16 @@ pub mod root {
}
#[repr(u8)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
+ pub enum StyleImageLayerRepeat {
+ NoRepeat = 0,
+ RepeatX = 1,
+ RepeatY = 2,
+ Repeat = 3,
+ Space = 4,
+ Round = 5,
+ }
+ #[repr(u8)]
+ #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum StyleDisplay {
None = 0,
Block = 1,
@@ -29977,8 +29980,8 @@ pub mod root {
#[repr(C)]
#[derive(Debug, Copy)]
pub struct nsStyleImageLayers_Repeat {
- pub mXRepeat: u8,
- pub mYRepeat: u8,
+ pub mXRepeat: root::mozilla::StyleImageLayerRepeat,
+ pub mYRepeat: root::mozilla::StyleImageLayerRepeat,
}
#[test]
fn bindgen_test_layout_nsStyleImageLayers_Repeat() {