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>
Thu, 26 Jun 2014 17:16:07 +0000 (19:16 +0200)
gst_mini_object_replace() can take NULL mini-objects.

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

gst/gstminiobject.c

index 6a7bee3..d65bd02 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: (allow-none): 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