mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-22 01:31:03 +00:00
a G_GNUC_CONST function is not allowed to change global memory, so it is not suited for _get_type() functions.
Original commit message from CVS: a G_GNUC_CONST function is not allowed to change global memory, so it is not suited for _get_type() functions. Backport Makefile addition from HEAD.
This commit is contained in:
parent
81f1e2e671
commit
dba80e1cf5
8 changed files with 20 additions and 6 deletions
12
ChangeLog
12
ChangeLog
|
@ -1,3 +1,15 @@
|
|||
2005-03-21 Wim Taymans <wim@fluendo.com>
|
||||
|
||||
* gst/gstcaps.h:
|
||||
* gst/gstdata.h:
|
||||
* gst/gstprobe.h:
|
||||
* gst/gststructure.h:
|
||||
* gst/gsttaginterface.h:
|
||||
* gst/schedulers/Makefile.am:
|
||||
a G_GNUC_CONST function is not allowed to change global
|
||||
memory, so it is not suited for _get_type() functions.
|
||||
Backport Makefile addition from HEAD.
|
||||
|
||||
2005-03-21 Wim Taymans <wim@fluendo.com>
|
||||
|
||||
* gst/Makefile.am:
|
||||
|
|
|
@ -81,7 +81,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,
|
||||
|
|
|
@ -102,7 +102,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,
|
||||
|
|
|
@ -54,7 +54,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,
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -15,6 +15,8 @@ if AS_LIBTOOL_WIN32
|
|||
|
||||
as_libtool_noinst_DATA_files = $(AS_LIBTOOL_LIB).lib
|
||||
|
||||
as_libtool_LDFLAGS = -no-undefined
|
||||
|
||||
# depend on this in install-data-local
|
||||
as-libtool-install-data-local:
|
||||
for i in $(AS_LIBTOOL_LIBS); do \
|
||||
|
|
Loading…
Reference in a new issue