gstpromise: Added GST_IS_PROMISE() macro

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5728>
This commit is contained in:
Jordan Yelloz 2023-11-28 14:43:13 -07:00
parent 20f48f0fd0
commit e33d5303f7
2 changed files with 8 additions and 0 deletions

View file

@ -20747,6 +20747,13 @@ is unlinked and links to the new target are established. if @newtarget is
</parameter>
</parameters>
</function-macro>
<function-macro name="IS_PROMISE" c:identifier="GST_IS_PROMISE" introspectable="0">
<source-position filename="../subprojects/gstreamer/gst/gstpromise.h"/>
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<function-macro name="IS_PROXY_PAD" c:identifier="GST_IS_PROXY_PAD" introspectable="0">
<source-position filename="../subprojects/gstreamer/gst/gstghostpad.h"/>
<parameters>

View file

@ -27,6 +27,7 @@ G_BEGIN_DECLS
GST_API
GType gst_promise_get_type(void);
#define GST_TYPE_PROMISE (gst_promise_get_type())
#define GST_IS_PROMISE(obj) (GST_IS_MINI_OBJECT_TYPE (obj, GST_TYPE_PROMISE))
#define GST_PROMISE(obj) ((GstPromise *) obj)
typedef struct _GstPromise GstPromise;