mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-04-01 21:33:09 +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:
parent
30fb514e67
commit
a837d99ee6
@ -263,7 +263,7 @@ struct _GIrNodeValue
|
|||||||
|
|
||||||
gboolean deprecated;
|
gboolean deprecated;
|
||||||
|
|
||||||
guint32 value;
|
gint32 value;
|
||||||
};
|
};
|
||||||
|
|
||||||
struct _GIrNodeConstant
|
struct _GIrNodeConstant
|
||||||
|
@ -614,7 +614,7 @@ typedef struct {
|
|||||||
guint32 deprecated : 1;
|
guint32 deprecated : 1;
|
||||||
guint32 reserved :31;
|
guint32 reserved :31;
|
||||||
guint32 name;
|
guint32 name;
|
||||||
guint32 value;
|
gint32 value;
|
||||||
} ValueBlob;
|
} ValueBlob;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user