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);
)*
pub const fn from_int(int: libc::c_int) -> Self
{
Self(int)
@ -162,10 +163,10 @@ enum_flags!(GHOST_GLFlags {
});
enum_flags!(GHOST_DialogOptions
{
DialogWarning = 1<<0,
DialogError = 1<<1,
});
{
DialogWarning = 1<<0,
DialogError = 1<<1,
});
#[repr(C)]
#[derive(Debug, Clone, Ord, PartialOrd, Eq, PartialEq, Hash)]

Loading…
Cancel
Save