We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent df4f17d commit adc94fbCopy full SHA for adc94fb
src/color/imp.rs
@@ -2,6 +2,7 @@ use glib::translate::IntoGlib;
2
3
#[derive(Debug, Copy, Clone, glib::GEnum)]
4
#[genum(type_name = "ExColor")]
5
+#[repr(C)]
6
pub enum Color {
7
Red,
8
Green,
src/flags/imp.rs
@@ -1,4 +1,7 @@
1
-#[glib::gflags("ExFlags")]
+use glib::gflags;
+
+#[gflags("ExFlags")]
pub enum Flags {
SOME = 0b00000001,
ZING = 0b00000010,
0 commit comments