adapter: add missing element-type annotations
authorEvan Nemerson <evan@coeus-group.com>
Sat, 16 Jun 2012 01:35:05 +0000 (18:35 -0700)
committerWim Taymans <wim.taymans@collabora.co.uk>
Mon, 18 Jun 2012 11:18:32 +0000 (13:18 +0200)
libs/gst/base/gstadapter.c

index 2e61430..f93004d 100644 (file)
@@ -426,8 +426,8 @@ gst_adapter_try_to_merge_up (GstAdapter * adapter, gsize size)
  *
  * Returns #NULL if @size bytes are not available.
  *
- * Returns: (transfer none) (array length=size): a pointer to the first
- *     @size bytes of data, or NULL
+ * Returns: (transfer none) (array length=size) (element-type guint8):
+ *     a pointer to the first @size bytes of data, or NULL
  */
 gconstpointer
 gst_adapter_map (GstAdapter * adapter, gsize size)
@@ -527,7 +527,8 @@ gst_adapter_unmap (GstAdapter * adapter)
 /**
  * gst_adapter_copy:
  * @adapter: a #GstAdapter
- * @dest: (out caller-allocates) (array length=size): the memory to copy into
+ * @dest: (out caller-allocates) (array length=size) (element-type guint8):
+ *     the memory to copy into
  * @offset: the bytes offset in the adapter to start from
  * @size: the number of bytes to copy
  *
@@ -684,8 +685,8 @@ gst_adapter_take_internal (GstAdapter * adapter, gsize nbytes)
  *
  * Free-function: g_free
  *
- * Returns: (transfer full) (array length=nbytes): oven-fresh hot data, or
- *     #NULL if @nbytes bytes are not available
+ * Returns: (transfer full) (array length=nbytes) (element-type guint8):
+ *     oven-fresh hot data, or #NULL if @nbytes bytes are not available
  */
 gpointer
 gst_adapter_take (GstAdapter * adapter, gsize nbytes)