summaryrefslogtreecommitdiffstats
path: root/gst/wavenc/gstwavenc.h
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@gmail.com>2002-12-27 16:35:09 +0000
committerWim Taymans <wim.taymans@gmail.com>2002-12-27 16:35:09 +0000
commite40f90122696d7c1978f89dcef491585a106d68a (patch)
tree57955beef63f379929eb0cb1901cbf4c110882db /gst/wavenc/gstwavenc.h
parent810d5e5430d484cea9f1ed785e10efd3cdf0aa1e (diff)
Cleanups
Original commit message from CVS: Cleanups
Diffstat (limited to 'gst/wavenc/gstwavenc.h')
-rw-r--r--gst/wavenc/gstwavenc.h14
1 files changed, 3 insertions, 11 deletions
diff --git a/gst/wavenc/gstwavenc.h b/gst/wavenc/gstwavenc.h
index ebd3eaef..fbc148c0 100644
--- a/gst/wavenc/gstwavenc.h
+++ b/gst/wavenc/gstwavenc.h
@@ -25,17 +25,14 @@
#include <config.h>
#include <gst/gst.h>
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
+G_BEGIN_DECLS
#define GST_TYPE_WAVENC \
(gst_wavenc_get_type())
#define GST_WAVENC(obj) \
(G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_WAVENC,GstWavEnc))
#define GST_WAVENC_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_WAVENC,GstWavEnc))
+ (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_WAVENC,GstWavEncClass))
#define GST_IS_WAVENC(obj) \
(G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_WAVENC))
#define GST_IS_WAVENC_CLASS(obj) \
@@ -66,11 +63,6 @@ struct _GstWavEncClass {
GstElementClass parent_class;
};
-GType gst_wavenc_get_type(void);
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
+G_END_DECLS
#endif /* __GST_ENC_H__ */