diff options
author | Giovanni Campagna <gcampagna@src.gnome.org> | 2011-07-02 16:04:17 +0200 |
---|---|---|
committer | Giovanni Campagna <gcampagna@src.gnome.org> | 2011-08-18 15:15:06 +0200 |
commit | 4c90020f97be3b7a65287a80784b0e453a729fcc (patch) | |
tree | 28e0005f7905839d8d5794ea73553f3dfc47c552 /tests | |
parent | 8a4e168dec871fca394f1bc24f80f9a6abb8ceec (diff) | |
download | gobject-introspection-4c90020f97be3b7a65287a80784b0e453a729fcc.tar.gz |
Disallow non byte types for GByteArrays
Similarly to GPtrArrays, GByteArrays can only contain bytes. Emit
a warning if an inconsistent (element-type) is placed, and ensure
that the default is guint8 if nothing is added. This way bindings
can support GByteArrays without special casing them.
https://bugzilla.gnome.org/show_bug.cgi?id=652753
Diffstat (limited to 'tests')
-rw-r--r-- | tests/gimarshallingtests.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/gimarshallingtests.c b/tests/gimarshallingtests.c index 279831be..e8300812 100644 --- a/tests/gimarshallingtests.c +++ b/tests/gimarshallingtests.c @@ -2009,7 +2009,7 @@ gi_marshalling_tests_bytearray_full_return (void) /** * gi_marshalling_tests_bytearray_none_in: - * @array_: (element-type gint) (transfer none): + * @array_: (element-type gint8) (transfer none): */ void gi_marshalling_tests_bytearray_none_in (GByteArray *array_) |