Update annotations from glib git
authorMartin Pitt <martinpitt@gnome.org>
Fri, 9 Nov 2012 08:40:45 +0000 (09:40 +0100)
committerMartin Pitt <martinpitt@gnome.org>
Fri, 9 Nov 2012 08:40:45 +0000 (09:40 +0100)
gir/glib-2.0.c

index 5c1d942..1499a6d 100644 (file)
  *
  * 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
  *
  * 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
  */
 
 
 /**
  * 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.
 
 
 /**
- * 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.
 
 /**
  * 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.