gst: Add support for g_autoptr(GstPromise)

This commit is contained in:
Niels De Graef 2019-05-08 12:11:50 +02:00 committed by Tim-Philipp Müller
parent 8cf0df152a
commit a8ec2d9910

View file

@ -124,6 +124,10 @@ gst_promise_unref (GstPromise * promise)
gst_mini_object_unref (GST_MINI_OBJECT_CAST (promise));
}
#ifdef G_DEFINE_AUTOPTR_CLEANUP_FUNC
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GstPromise, gst_promise_unref)
#endif
G_END_DECLS
#endif /* __GST_PROMISE_H__ */