From 2c1c1032fa1d06268b7568e44133d3cbcdc38d0d Mon Sep 17 00:00:00 2001 From: Evan Nemerson Date: Tue, 19 Jun 2012 18:41:04 -0700 Subject: [PATCH] base: add some missing introspection annotations --- libs/gst/base/gstbitreader.c | 3 ++- libs/gst/base/gstbitreader.h | 3 ++- libs/gst/base/gstbytereader.h | 3 ++- libs/gst/base/gstbytewriter.c | 3 ++- 4 files changed, 8 insertions(+), 4 deletions(-) diff --git a/libs/gst/base/gstbitreader.c b/libs/gst/base/gstbitreader.c index 271424af39..3dcb867c2f 100644 --- a/libs/gst/base/gstbitreader.c +++ b/libs/gst/base/gstbitreader.c @@ -38,7 +38,8 @@ /** * gst_bit_reader_new: - * @data: Data from which the #GstBitReader should read + * @data: (array length=size): Data from which the #GstBitReader + * should read * @size: Size of @data in bytes * * Create a new #GstBitReader instance, which will read from @data. diff --git a/libs/gst/base/gstbitreader.h b/libs/gst/base/gstbitreader.h index 5233612906..ab638299f6 100644 --- a/libs/gst/base/gstbitreader.h +++ b/libs/gst/base/gstbitreader.h @@ -31,7 +31,8 @@ G_BEGIN_DECLS /** * GstBitReader: - * @data: Data from which the bit reader will read + * @data: (array length=size): Data from which the bit reader will + * read * @size: Size of @data in bytes * @byte: Current byte position * @bit: Bit position in the current byte diff --git a/libs/gst/base/gstbytereader.h b/libs/gst/base/gstbytereader.h index 2accb10b97..6984e670b4 100644 --- a/libs/gst/base/gstbytereader.h +++ b/libs/gst/base/gstbytereader.h @@ -30,7 +30,8 @@ G_BEGIN_DECLS /** * GstByteReader: - * @data: Data from which the bit reader will read + * @data: (array length=size): Data from which the bit reader will + * read * @size: Size of @data in bytes * @byte: Current byte position * diff --git a/libs/gst/base/gstbytewriter.c b/libs/gst/base/gstbytewriter.c index ba100aafde..b0760c9a68 100644 --- a/libs/gst/base/gstbytewriter.c +++ b/libs/gst/base/gstbytewriter.c @@ -212,7 +212,8 @@ gst_byte_writer_reset (GstByteWriter * writer) * * Free-function: g_free * - * Returns: (transfer full): the current data. g_free() after usage. + * Returns: (array) (transfer full): the current data. g_free() after + * usage. * * Since: 0.10.26 */ -- 2.34.1