mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-01 23:13:40 +02: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:
@@ -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;
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user