summaryrefslogtreecommitdiff
path: root/gst/gstminiobject.h
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@collabora.co.uk>2011-06-09 13:35:08 +0200
committerWim Taymans <wim.taymans@collabora.co.uk>2011-06-09 13:35:08 +0200
commit1b98eb34d7e8b5e2ef505faf3ce0cfc4cc005ef3 (patch)
tree8287582f2e535cbf2cc9d34b38f8a5d3a795dbd2 /gst/gstminiobject.h
parent9d2953288cdfdd8ae18cad91eeaa02a4e685e096 (diff)
miniobject: add new methods to manage miniobject pointers
Add a new method to steal the miniobject stored at a location. Add a new method to store a miniobject in a location and taking ownership of the miniobject.
Diffstat (limited to 'gst/gstminiobject.h')
-rw-r--r--gst/gstminiobject.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/gst/gstminiobject.h b/gst/gstminiobject.h
index b28f2908c7..22c307f5a3 100644
--- a/gst/gstminiobject.h
+++ b/gst/gstminiobject.h
@@ -211,7 +211,9 @@ void gst_mini_object_weak_unref (GstMiniObject *object,
GstMiniObjectWeakNotify notify,
gpointer data);
-void gst_mini_object_replace (GstMiniObject **olddata, GstMiniObject *newdata);
+gboolean gst_mini_object_replace (GstMiniObject **olddata, GstMiniObject *newdata);
+gboolean gst_mini_object_take (GstMiniObject **olddata, GstMiniObject *newdata);
+GstMiniObject * gst_mini_object_steal (GstMiniObject **olddata);
G_END_DECLS