Skip to content

Commit de0da0a

Browse files
committed
Bump bindgen to 0.70
1 parent 2e0f368 commit de0da0a

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

sdl2-sys/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ path = "src/lib.rs"
2020
libc = "^0.2"
2121

2222
[build-dependencies.bindgen]
23-
version = "^0.69"
23+
version = "^0.70"
2424
optional = true
2525

2626
[build-dependencies.pkg-config]

src/sdl2/image/mod.rs

+1
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ use version::Version;
3434
bitflags! {
3535
/// InitFlags are passed to init() to control which subsystem
3636
/// functionality to load.
37+
#[derive(Clone, Copy)]
3738
pub struct InitFlag : u32 {
3839
const JPG = image::IMG_InitFlags_IMG_INIT_JPG;
3940
const PNG = image::IMG_InitFlags_IMG_INIT_PNG;

src/sdl2/mixer/mod.rs

+1
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ pub fn get_linked_version() -> Version {
9696
}
9797

9898
bitflags!(
99+
#[derive(Clone, Copy, Debug)]
99100
pub struct InitFlag : u32 {
100101
const FLAC = mixer::MIX_InitFlags_MIX_INIT_FLAC;
101102
const MOD = mixer::MIX_InitFlags_MIX_INIT_MOD;

0 commit comments

Comments
 (0)