gst/gstelement.h: Add magical pixie dust to make glib-mkenums consider this enum an enum and not a flags.

Original commit message from CVS:
2005-09-02  Andy Wingo  <wingo@pobox.com>

* gst/gstelement.h: Add magical pixie dust to make glib-mkenums
consider this enum an enum and not a flags.
This commit is contained in:
Andy Wingo 2005-09-02 16:44:57 +00:00
parent c253951dcd
commit 1b38cd4afa
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2005-09-02 Andy Wingo <wingo@pobox.com>
* gst/gstelement.h: Add magical pixie dust to make glib-mkenums
consider this enum an enum and not a flags.
2005-09-02 Stefan Kost <ensonic@users.sf.net>
* docs/gst/gstreamer-docs.sgml:

View file

@ -98,7 +98,7 @@ _gst_element_get_state_change (GstElement *e)
#endif
/* FIXME: How to deal with lost_state ? */
typedef enum
typedef enum /*< flags=0 >*/
{
GST_STATE_CHANGE_NULL_TO_READY = 1<<(GST_STATE_NULL+8) | 1<<GST_STATE_READY,
GST_STATE_CHANGE_READY_TO_PAUSED = 1<<(GST_STATE_READY+8) | 1<<GST_STATE_PAUSED,