diff options
author | Martin Pitt <martinpitt@gnome.org> | 2012-11-09 09:40:45 +0100 |
---|---|---|
committer | Martin Pitt <martinpitt@gnome.org> | 2012-11-09 09:40:45 +0100 |
commit | dc453895c2df0b6d26a08885d156b363ffa5b921 (patch) | |
tree | 1d2166033535c78b5e7952f2cd17c4db4b904d87 /gir/glib-2.0.c | |
parent | dad7875eaa83957affa5abe3db5ad2fbdb1a4d72 (diff) | |
download | gobject-introspection-dc453895c2df0b6d26a08885d156b363ffa5b921.tar.gz |
Update annotations from glib git
Diffstat (limited to 'gir/glib-2.0.c')
-rw-r--r-- | gir/glib-2.0.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/gir/glib-2.0.c b/gir/glib-2.0.c index 5c1d942e..1499a6de 100644 --- a/gir/glib-2.0.c +++ b/gir/glib-2.0.c @@ -10574,13 +10574,13 @@ * * Creates a new #GByteArray with a reference count of 1. * - * Returns: the new #GByteArray. + * Returns: (transfer full): the new #GByteArray. */ /** * g_byte_array_new_take: - * @data: (array length=len): byte data for the array + * @data: (transfer full) (array length=len): byte data for the array * @len: length of @data * * Create byte array containing the data. The data will be owned by the array @@ -10761,7 +10761,7 @@ * * This function will always return the same pointer for a given #GBytes. * - * Returns: (array length=size) (type guint8): a pointer to the byte data + * Returns: (transfer none) (array length=size) (type guint8): a pointer to the byte data * Since: 2.32 */ @@ -10795,7 +10795,7 @@ /** * g_bytes_new: - * @data: (array length=size): the data to be used for the bytes + * @data: (transfer none) (array length=size) (element-type guint8): the data to be used for the bytes * @size: the size of @data * * Creates a new #GBytes from @data. @@ -10825,8 +10825,8 @@ /** - * g_bytes_new_static: - * @data: (array length=size): the data to be used for the bytes + * g_bytes_new_static: (skip) + * @data: (transfer full) (array length=size) (element-type guint8): the data to be used for the bytes * @size: the size of @data * * Creates a new #GBytes from static data. @@ -10840,7 +10840,7 @@ /** * g_bytes_new_take: - * @data: (transfer full) (array length=size): the data to be used for the bytes + * @data: (transfer full) (array length=size) (element-type guint8): the data to be used for the bytes * @size: the size of @data * * Creates a new #GBytes from @data. |