mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-19 00:01:23 +00:00
gst: Add support for g_autoptr(GstPromise)
This commit is contained in:
parent
f5ccb2215a
commit
cfca53ce67
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