File tree 3 files changed +3
-1
lines changed
3 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ path = "src/lib.rs"
20
20
libc = " ^0.2"
21
21
22
22
[build-dependencies .bindgen ]
23
- version = " ^0.69 "
23
+ version = " ^0.70 "
24
24
optional = true
25
25
26
26
[build-dependencies .pkg-config ]
Original file line number Diff line number Diff line change @@ -34,6 +34,7 @@ use version::Version;
34
34
bitflags ! {
35
35
/// InitFlags are passed to init() to control which subsystem
36
36
/// functionality to load.
37
+ #[ derive( Clone , Copy ) ]
37
38
pub struct InitFlag : u32 {
38
39
const JPG = image:: IMG_InitFlags_IMG_INIT_JPG ;
39
40
const PNG = image:: IMG_InitFlags_IMG_INIT_PNG ;
Original file line number Diff line number Diff line change @@ -96,6 +96,7 @@ pub fn get_linked_version() -> Version {
96
96
}
97
97
98
98
bitflags ! (
99
+ #[ derive( Clone , Copy , Debug ) ]
99
100
pub struct InitFlag : u32 {
100
101
const FLAC = mixer:: MIX_InitFlags_MIX_INIT_FLAC ;
101
102
const MOD = mixer:: MIX_InitFlags_MIX_INIT_MOD ;
You can’t perform that action at this time.
0 commit comments