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:
Colin Walters 2010-03-17 19:28:01 -04:00
parent 30fb514e67
commit a837d99ee6
2 changed files with 2 additions and 2 deletions

View File

@ -263,7 +263,7 @@ struct _GIrNodeValue
gboolean deprecated;
guint32 value;
gint32 value;
};
struct _GIrNodeConstant

View File

@ -614,7 +614,7 @@ typedef struct {
guint32 deprecated : 1;
guint32 reserved :31;
guint32 name;
guint32 value;
gint32 value;
} ValueBlob;
/**