miniobject: Add missing (nullable) annotations
authorPhilip Withnall <philip.withnall@collabora.co.uk>
Wed, 28 May 2014 09:14:45 +0000 (10:14 +0100)
committerSebastian Dröge <sebastian@centricular.com>
Fri, 30 May 2014 07:12:49 +0000 (09:12 +0200)
gst_mini_object_replace() can take NULL mini-objects.

https://bugzilla.gnome.org/show_bug.cgi?id=730873

gst/gstminiobject.c

index bece06a..b28a21c 100644 (file)
@@ -469,9 +469,9 @@ gst_mini_object_unref (GstMiniObject * mini_object)
 
 /**
  * gst_mini_object_replace:
- * @olddata: (inout) (transfer full): pointer to a pointer to a mini-object to
- *     be replaced
- * @newdata: pointer to new mini-object
+ * @olddata: (inout) (transfer full) (nullable): pointer to a pointer to a
+ *     mini-object to be replaced
+ * @newdata: (nullable): pointer to new mini-object
  *
  * Atomically modifies a pointer to point to a new mini-object.
  * The reference count of @olddata is decreased and the reference count of