mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +00:00
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:
parent
06fcb64c77
commit
dde0d169b5
2 changed files with 7 additions and 1 deletions
|
@ -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:
|
||||
|
|
|
@ -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 \
|
||||
|
|
Loading…
Reference in a new issue