gvariant: Change type of ‘y’ variants from guchar to guint809419fdeb49bae20a350fa838bacc180aba5eead
commit09419fdeb49bae20a350fa838bacc180aba5eead
authorPhilip Withnall <withnall@endlessm.com>
Tue, 1 Jul 2014 16:34:38 +0000 (1 17:34 +0100)
committerPhilip Withnall <withnall@endlessm.com>
Fri, 15 Jun 2018 12:10:36 +0000 (15 13:10 +0100)
treea500fa80a2aff3b4e28f9f73f8bad0139f65f735
parent3126f73c80dfc7d6c9a7d70e1b5772a1a8c98744
gvariant: Change type of ‘y’ variants from guchar to guint8

This fits better with the convention in the rest of GLib where arbitrary
8-bit values are represented as guint8, avoiding the potential confusing
of a name which references ‘char’s.

This is not an API break, as both guint8 and guchar are unconditionally
typedeffed to unsigned char.

https://gitlab.gnome.org/GNOME/glib/issues/896
glib/gvariant.c
glib/gvariant.h