]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
glib-2.0: Improve type of OptionEntry.flags field
authorReuben Thomas <rrt@sc3d.org>
Wed, 13 Jan 2021 21:12:48 +0000 (21:12 +0000)
committerRico Tzschichholz <ricotz@ubuntu.com>
Thu, 14 Jan 2021 18:43:05 +0000 (19:43 +0100)
vapi/glib-2.0.vapi

index e8aa1750adf10f0e80f015b2e258ef346a677cd3..e56ef9f4de01813ba2fc9de45ff8c462ff54a767 100644 (file)
@@ -4253,7 +4253,8 @@ namespace GLib {
        public struct OptionEntry {
                public unowned string long_name;
                public char short_name;
-               public int flags;
+               [CCode (type = "gint")]
+               public OptionFlags flags;
 
                public OptionArg arg;
                public void* arg_data;