summaryrefslogtreecommitdiffstats
path: root/ext/speex/gstspeexenc.h
diff options
context:
space:
mode:
Diffstat (limited to 'ext/speex/gstspeexenc.h')
-rw-r--r--ext/speex/gstspeexenc.h11
1 files changed, 2 insertions, 9 deletions
diff --git a/ext/speex/gstspeexenc.h b/ext/speex/gstspeexenc.h
index d6dbbabc..2c5a588b 100644
--- a/ext/speex/gstspeexenc.h
+++ b/ext/speex/gstspeexenc.h
@@ -28,10 +28,7 @@
#include <speex/speex.h>
#include <speex/speex_header.h>
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
+G_BEGIN_DECLS
#define GST_TYPE_SPEEXENC \
(gst_speexenc_get_type())
@@ -122,10 +119,6 @@ struct _GstSpeexEncClass {
GType gst_speexenc_get_type(void);
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
+G_END_DECLS
#endif /* __GST_SPEEXENC_H__ */