summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Withnall <philip.withnall@collabora.co.uk>2014-05-28 10:14:45 +0100
committerSebastian Dröge <sebastian@centricular.com>2014-06-26 19:16:07 +0200
commit9edef56efcffcd1deac2af45176296f9d49f6c4d (patch)
treecceca49d6e04fc0db473714a389cf2ca8ffd6445
parentfe192fe399bf5fb913938b1b70d9cbf198ede565 (diff)
miniobject: Add missing (nullable) annotations
gst_mini_object_replace() can take NULL mini-objects. https://bugzilla.gnome.org/show_bug.cgi?id=730873
-rw-r--r--gst/gstminiobject.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gst/gstminiobject.c b/gst/gstminiobject.c
index 6a7bee32d..d65bd02ca 100644
--- a/gst/gstminiobject.c
+++ b/gst/gstminiobject.c
@@ -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