mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-02 14:20:06 +00:00
gst: add some GIR array annotations
This commit is contained in:
parent
e141c85f96
commit
ea0f8ebce1
2 changed files with 3 additions and 2 deletions
|
@ -1854,7 +1854,8 @@ gst_buffer_fill (GstBuffer * buffer, gsize offset, gconstpointer src,
|
|||
* gst_buffer_extract:
|
||||
* @buffer: a #GstBuffer.
|
||||
* @offset: the offset to extract
|
||||
* @dest: the destination address
|
||||
* @dest: (out caller-allocates) (array length=size) (element-type guint8):
|
||||
* the destination address
|
||||
* @size: the size to extract
|
||||
*
|
||||
* Copy @size bytes starting from @offset in @buffer to @dest.
|
||||
|
|
|
@ -50,7 +50,7 @@
|
|||
|
||||
/**
|
||||
* gst_util_dump_mem:
|
||||
* @mem: a pointer to the memory to dump
|
||||
* @mem: (array length=size): a pointer to the memory to dump
|
||||
* @size: the size of the memory block to dump
|
||||
*
|
||||
* Dumps the memory block into a hex representation. Useful for debugging.
|
||||
|
|
Loading…
Reference in a new issue