mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-15 22:01:27 +00:00
gst/: Don't use G_GNUC_CONST for _get_type() functions (see #324530 and http://wingolog.org/archives/2005/03/24/98 fo...
Original commit message from CVS: * gst/gstcaps.h: * gst/gstdata.h: * gst/gstprobe.h: * gst/gststructure.h: * gst/gsttaginterface.h: Don't use G_GNUC_CONST for _get_type() functions (see #324530 and http://wingolog.org/archives/2005/03/24/98 for why); yes, we aim to please even unreleased and mind-boggingly cranky compilers.
This commit is contained in:
parent
f1a720a4cb
commit
590e58dc29
7 changed files with 17 additions and 6 deletions
11
ChangeLog
11
ChangeLog
|
@ -1,3 +1,14 @@
|
|||
2006-01-04 Tim-Philipp Müller <tim at centricular dot net>
|
||||
|
||||
* gst/gstcaps.h:
|
||||
* gst/gstdata.h:
|
||||
* gst/gstprobe.h:
|
||||
* gst/gststructure.h:
|
||||
* gst/gsttaginterface.h:
|
||||
Don't use G_GNUC_CONST for _get_type() functions (see #324530
|
||||
and http://wingolog.org/archives/2005/03/24/98 for why); yes, we
|
||||
aim to please even unreleased and mind-boggingly cranky compilers.
|
||||
|
||||
2005-12-16 Christian Kirbach <Christian.Kirbach@student.uni-siegen.de>
|
||||
|
||||
Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
|
||||
|
|
2
common
2
common
|
@ -1 +1 @@
|
|||
Subproject commit d1911d4b3d6267f9cd9dfb68fcef2afe4d098092
|
||||
Subproject commit 5f10c872cafb3eb8058d63e438cae029ed9e8d73
|
|
@ -69,7 +69,7 @@ struct _GstStaticCaps {
|
|||
gpointer _gst_reserved[GST_PADDING];
|
||||
};
|
||||
|
||||
GType gst_caps_get_type (void) G_GNUC_CONST;
|
||||
GType gst_caps_get_type (void);
|
||||
GstCaps * gst_caps_new_empty (void);
|
||||
GstCaps * gst_caps_new_any (void);
|
||||
GstCaps * gst_caps_new_simple (const char *media_type,
|
||||
|
|
|
@ -99,7 +99,7 @@ GstData* gst_data_ref_by_count (GstData* data, gint count);
|
|||
void gst_data_unref (GstData* data);
|
||||
|
||||
/* GType for GstData */
|
||||
GType gst_data_get_type (void) G_GNUC_CONST;
|
||||
GType gst_data_get_type (void);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
|
|
|
@ -34,7 +34,7 @@ G_BEGIN_DECLS
|
|||
|
||||
typedef struct _GstProbe GstProbe;
|
||||
|
||||
GType gst_probe_get_type (void) G_GNUC_CONST;
|
||||
GType gst_probe_get_type (void);
|
||||
|
||||
/* the callback should return FALSE if the data should be discarded */
|
||||
typedef gboolean (*GstProbeCallback) (GstProbe *probe,
|
||||
|
|
|
@ -46,7 +46,7 @@ struct _GstStructure {
|
|||
gpointer _gst_reserved[GST_PADDING];
|
||||
};
|
||||
|
||||
GType gst_structure_get_type (void) G_GNUC_CONST;
|
||||
GType gst_structure_get_type (void);
|
||||
|
||||
GstStructure * gst_structure_empty_new (const gchar * name);
|
||||
GstStructure * gst_structure_id_empty_new (GQuark quark);
|
||||
|
|
|
@ -46,7 +46,7 @@ struct _GstTagSetterIFace
|
|||
/* virtual table */
|
||||
};
|
||||
|
||||
GType gst_tag_setter_get_type (void) G_GNUC_CONST;
|
||||
GType gst_tag_setter_get_type (void);
|
||||
|
||||
void gst_tag_setter_merge (GstTagSetter * setter,
|
||||
const GstTagList * list,
|
||||
|
|
Loading…
Reference in a new issue