buffer: mark gst_buffer_wrapped* data as array
authorEvan Nemerson <evan@coeus-group.com>
Sun, 29 Jul 2012 21:57:41 +0000 (14:57 -0700)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Fri, 10 Aug 2012 14:05:26 +0000 (15:05 +0100)
https://bugzilla.gnome.org/show_bug.cgi?id=678301

gst/gstbuffer.c

index a1eb9ac..f2cf76c 100644 (file)
@@ -691,7 +691,7 @@ no_memory:
 /**
  * gst_buffer_new_wrapped_full:
  * @flags: #GstMemoryFlags
- * @data: data to wrap
+ * @data: (array length=size) (element-type guint8): data to wrap
  * @maxsize: allocated size of @data
  * @offset: offset in @data
  * @size: size of valid data
@@ -726,7 +726,7 @@ gst_buffer_new_wrapped_full (GstMemoryFlags flags, gpointer data,
 
 /**
  * gst_buffer_new_wrapped:
- * @data: data to wrap
+ * @data: (array length=size) (element-type guint8): data to wrap
  * @size: allocated size of @data
  *
  * Creates a new buffer that wraps the given @data. The memory will be freed