base: assorted introspection fixes and additions
authorEvan Nemerson <evan@nemerson.com>
Thu, 12 Jun 2014 00:15:39 +0000 (17:15 -0700)
committerSebastian Dröge <sebastian@centricular.com>
Thu, 26 Jun 2014 16:55:26 +0000 (18:55 +0200)
https://bugzilla.gnome.org/show_bug.cgi?id=731542

libs/gst/base/gstadapter.c
libs/gst/base/gstcollectpads.c
libs/gst/base/gstcollectpads.h

index 18fa77e..fc1582b 100644 (file)
@@ -1165,7 +1165,7 @@ gst_adapter_prev_dts_at_offset (GstAdapter * adapter, gsize offset,
  * @offset: offset into the adapter data from which to start scanning, returns
  *          the last scanned position.
  * @size: number of bytes to scan from offset
- * @value: pointer to uint32 to return matching data
+ * @value: (out) (allow-none): pointer to uint32 to return matching data
  *
  * Scan for pattern @pattern with applied mask @mask in the adapter data,
  * starting from offset @offset.  If a match is found, the value that matched
index 41e4722..bebaf12 100644 (file)
@@ -576,8 +576,8 @@ gst_collect_pads_set_flush_function (GstCollectPads * pads,
  * @pads: the collectpads to use
  * @pad: (transfer none): the pad to add
  * @size: the size of the returned #GstCollectData structure
- * @destroy_notify: function to be called before the returned #GstCollectData
- * structure is freed
+ * @destroy_notify: (scope async): function to be called before the returned
+ *   #GstCollectData structure is freed
  * @lock: whether to lock this pad in usual waiting state
  *
  * Add a pad to the collection of collect pads. The pad has to be
@@ -606,8 +606,8 @@ gst_collect_pads_set_flush_function (GstCollectPads * pads,
  *
  * MT safe.
  *
- * Returns: (nullable): a new #GstCollectData to identify the new pad. Or %NULL
- *   if wrong parameters are supplied.
+ * Returns: (nullable) (transfer none): a new #GstCollectData to identify the
+ *   new pad. Or %NULL if wrong parameters are supplied.
  */
 GstCollectData *
 gst_collect_pads_add_pad (GstCollectPads * pads, GstPad * pad, guint size,
index 0ba2dee..9d56614 100644 (file)
@@ -279,7 +279,8 @@ typedef void (*GstCollectPadsFlushFunction) (GstCollectPads *pads, gpointer user
 
 /**
  * GstCollectPads:
- * @data: #GList of #GstCollectData managed by this #GstCollectPads.
+ * @data: (element-type GstBase.CollectData): #GList of #GstCollectData managed
+ *   by this #GstCollectPads.
  *
  * Collectpads object.
  */