From 2c6672435f0ef68ecbb72dc5ba8d0db3820ba5c4 Mon Sep 17 00:00:00 2001 From: Stefan Sauer Date: Mon, 28 Oct 2013 08:07:52 +0100 Subject: [PATCH] log: add cast macro --- plugins/tracers/gstlog.h | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/tracers/gstlog.h b/plugins/tracers/gstlog.h index e95857b..827f2aa 100644 --- a/plugins/tracers/gstlog.h +++ b/plugins/tracers/gstlog.h @@ -36,6 +36,7 @@ G_BEGIN_DECLS (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_LOG_TRACER)) #define GST_IS_LOG_TRACER_CLASS(klass) \ (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_LOG_TRACER)) +#define GST_LOG_TRACER_CAST(obj) ((GstLogTracer *)(obj)) typedef struct _GstLogTracer GstLogTracer; typedef struct _GstLogTracerClass GstLogTracerClass; -- 2.7.4