mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 03:16:17 +01:00
Enumerations can be negative
Change the internal type for ValueBlob to gint32, since it's perfectly valid for enumerations to have negative values. https://bugzilla.gnome.org/show_bug.cgi?id=613203
This commit is contained in:
parent
30fb514e67
commit
a837d99ee6
@ -263,7 +263,7 @@ struct _GIrNodeValue
|
||||
|
||||
gboolean deprecated;
|
||||
|
||||
guint32 value;
|
||||
gint32 value;
|
||||
};
|
||||
|
||||
struct _GIrNodeConstant
|
||||
|
@ -614,7 +614,7 @@ typedef struct {
|
||||
guint32 deprecated : 1;
|
||||
guint32 reserved :31;
|
||||
guint32 name;
|
||||
guint32 value;
|
||||
gint32 value;
|
||||
} ValueBlob;
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user