mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 01:00:37 +00:00
adapter: add missing element-type annotations
This commit is contained in:
parent
c29168ed5e
commit
4705eb61c3
1 changed files with 6 additions and 5 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue