mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-04 22:48:54 +00:00
gst: Add support for g_autoptr(GstPromise)
This commit is contained in:
parent
8cf0df152a
commit
a8ec2d9910
1 changed files with 4 additions and 0 deletions
|
@ -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