mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-06-25 01:10:44 +00:00
gst: Add support for g_autoptr(GstPromise)
This commit is contained in:
parent
8cf0df152a
commit
a8ec2d9910
|
@ -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__ */
|
||||
|
|
Loading…
Reference in a new issue