summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian.droege@collabora.co.uk>2009-11-26 10:31:00 +0100
committerSebastian Dröge <sebastian.droege@collabora.co.uk>2009-11-26 10:38:28 +0100
commit3949cba47da7d86ff7c7b11945bd0a5257698267 (patch)
treef27dff77a1808491a314874ab9bfc911a35e85a5
parent75c5aed1ba350e787af909df4c851aa83c15ba9c (diff)
audiofilter: Add _CAST variants of the cast macros
-rw-r--r--gst-libs/gst/audio/gstaudiofilter.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gst-libs/gst/audio/gstaudiofilter.h b/gst-libs/gst/audio/gstaudiofilter.h
index 7371348d4..c311c9790 100644
--- a/gst-libs/gst/audio/gstaudiofilter.h
+++ b/gst-libs/gst/audio/gstaudiofilter.h
@@ -34,8 +34,12 @@ typedef struct _GstAudioFilterClass GstAudioFilterClass;
(gst_audio_filter_get_type())
#define GST_AUDIO_FILTER(obj) \
(G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_AUDIO_FILTER,GstAudioFilter))
+#define GST_AUDIO_FILTER_CAST(obj) \
+ ((GstAudioFilter *) (obj))
#define GST_AUDIO_FILTER_CLASS(klass) \
(G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_AUDIO_FILTER,GstAudioFilterClass))
+#define GST_AUDIO_FILTER_CLASS_CAST(klass) \
+ ((GstAudioFilterClass *) (klass))
#define GST_IS_AUDIO_FILTER(obj) \
(G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_AUDIO_FILTER))
#define GST_IS_AUDIO_FILTER_CLASS(klass) \