adapter: add missing element-type annotations

This commit is contained in:
Evan Nemerson 2012-06-15 18:35:05 -07:00 committed by Wim Taymans
parent c29168ed5e
commit 4705eb61c3

View 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)