Skip to content

Commit

Permalink
Bump bindgen to 0.70
Browse files Browse the repository at this point in the history
  • Loading branch information
tesuji committed Sep 8, 2024
1 parent 2e0f368 commit de0da0a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion sdl2-sys/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ path = "src/lib.rs"
libc = "^0.2"

[build-dependencies.bindgen]
version = "^0.69"
version = "^0.70"
optional = true

[build-dependencies.pkg-config]
Expand Down
1 change: 1 addition & 0 deletions src/sdl2/image/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ use version::Version;
bitflags! {
/// InitFlags are passed to init() to control which subsystem
/// functionality to load.
#[derive(Clone, Copy)]
pub struct InitFlag : u32 {
const JPG = image::IMG_InitFlags_IMG_INIT_JPG;
const PNG = image::IMG_InitFlags_IMG_INIT_PNG;
Expand Down
1 change: 1 addition & 0 deletions src/sdl2/mixer/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ pub fn get_linked_version() -> Version {
}

bitflags!(
#[derive(Clone, Copy, Debug)]
pub struct InitFlag : u32 {
const FLAC = mixer::MIX_InitFlags_MIX_INIT_FLAC;
const MOD = mixer::MIX_InitFlags_MIX_INIT_MOD;
Expand Down

0 comments on commit de0da0a

Please sign in to comment.