summaryrefslogtreecommitdiff
path: root/gst/gstminiobject.c
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-05-30 09:12:49 +0200
commit96361e9b5c5d00dc7712ff3a9acfbe10df7cd9fe (patch)
treef65731160a9c1824a8bafc29e131f1e8e93c4c88 /gst/gstminiobject.c
parentbaf1688474fe4c8b14c728630299f0f9a5f2a390 (diff)
miniobject: Add missing (nullable) annotations
gst_mini_object_replace() can take NULL mini-objects. https://bugzilla.gnome.org/show_bug.cgi?id=730873
Diffstat (limited to 'gst/gstminiobject.c')
-rw-r--r--gst/gstminiobject.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gst/gstminiobject.c b/gst/gstminiobject.c
index bece06ad8..b28a21c1c 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: (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