mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-22 17:51:16 +00:00
gstpromise: Added GST_IS_PROMISE() macro
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5728>
This commit is contained in:
parent
20f48f0fd0
commit
e33d5303f7
2 changed files with 8 additions and 0 deletions
|
@ -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>
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue