mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-28 03:00:35 +00:00
introspection: Don't typedef GstTagList to GstStructure for gobject-introspection
This commit is contained in:
parent
41479df703
commit
1c253a01a4
2 changed files with 6 additions and 0 deletions
|
@ -248,6 +248,7 @@ Gst-@GST_MAJORMINOR@.gir: $(INTROSPECTION_SCANNER) libgstreamer-@GST_MAJORMINOR@
|
|||
--nsversion=@GST_MAJORMINOR@ \
|
||||
-I$(top_srcdir) \
|
||||
-I$(top_builddir) \
|
||||
-DIN_GOBJECT_INTROSPECTION=1 \
|
||||
--c-include='gst/gst.h' \
|
||||
--library=gstreamer-0.10 \
|
||||
--include=GLib-2.0 \
|
||||
|
|
|
@ -150,7 +150,12 @@ typedef enum {
|
|||
*
|
||||
* Opaque #GstTagList data structure.
|
||||
*/
|
||||
#ifdef IN_GOBJECT_INTROSPECTION
|
||||
typedef struct _GstTagList GstTagList;
|
||||
#else
|
||||
typedef GstStructure GstTagList;
|
||||
#endif
|
||||
|
||||
#define GST_TAG_LIST(x) ((GstTagList *) (x))
|
||||
#define GST_IS_TAG_LIST(x) ((x) != NULL && gst_is_tag_list (GST_TAG_LIST (x)))
|
||||
#define GST_TYPE_TAG_LIST (gst_tag_list_get_type ())
|
||||
|
|
Loading…
Reference in a new issue