master
Avril 4 years ago
parent 8f7110bf39
commit f486c061ed
Signed by: flanchan
GPG Key ID: 284488987C31F630

@ -69,6 +69,7 @@ macro_rules! enum_flags {
#[allow(non_upper_case_globals)] pub const $const_name: $name = $name($value); #[allow(non_upper_case_globals)] pub const $const_name: $name = $name($value);
)* )*
pub const fn from_int(int: libc::c_int) -> Self pub const fn from_int(int: libc::c_int) -> Self
{ {
Self(int) Self(int)

Loading…
Cancel
Save