gst/gstutils.h: Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE

Original commit message from CVS:
* gst/gstutils.h:
Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
usable in c++ code (#333417; patch by: Christophe Fergeau)
This commit is contained in:
Christophe Fergeau 2006-03-06 14:46:31 +00:00 committed by Tim-Philipp Müller
parent 06fcb64c77
commit dde0d169b5
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,9 @@
2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
* gst/gstutils.h:
Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
usable in c++ code (#333417; patch by: Christophe Fergeau)
2006-03-06 Thomas Vander Stichele <thomas at apestaart dot org>
* gst/gstclock.h:

View file

@ -189,7 +189,7 @@ static gboolean interface_as_function ## _supported (type *object, GType iface_t
static void \
type_as_function ## _implements_interface_init (GstImplementsInterfaceClass *klass) \
{ \
klass->supported = (gpointer)interface_as_function ## _supported; \
klass->supported = (gboolean (*)(GstImplementsInterface*, GType))interface_as_function ## _supported; \
} \
\
static void \