summaryrefslogtreecommitdiffstats
path: root/gst/rtp/gstrtpL16depay.h
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim@centricular.net>2006-04-13 09:01:17 +0000
committerTim-Philipp Müller <tim@centricular.net>2006-04-13 09:01:17 +0000
commit9e8bbf41f76083b1fdf090217382c96f695d81e4 (patch)
tree3345609baf1a37efa8ca9b91f2b8d5d566f4f9b3 /gst/rtp/gstrtpL16depay.h
parent07f9b4f6582d181848fdd2353a9cd995afd2e523 (diff)
gst/rtp/: Fix GObject macros.
Original commit message from CVS: * gst/rtp/gstasteriskh263.h: * gst/rtp/gstrtpL16depay.h: * gst/rtp/gstrtpL16pay.h: * gst/rtp/gstrtpamrdepay.h: * gst/rtp/gstrtpamrpay.h: * gst/rtp/gstrtpdepay.h: * gst/rtp/gstrtpgsmdepay.h: * gst/rtp/gstrtpgsmpay.h: * gst/rtp/gstrtph263pay.h: * gst/rtp/gstrtph263pdepay.h: * gst/rtp/gstrtph263ppay.h: * gst/rtp/gstrtpilbcdepay.h: * gst/rtp/gstrtpilbcpay.h: * gst/rtp/gstrtpmp4gpay.h: * gst/rtp/gstrtpmp4vdepay.h: * gst/rtp/gstrtpmp4vpay.h: * gst/rtp/gstrtpmpadepay.h: * gst/rtp/gstrtpmpapay.h: * gst/rtp/gstrtppcmadepay.h: * gst/rtp/gstrtppcmapay.h: * gst/rtp/gstrtppcmudepay.h: * gst/rtp/gstrtppcmupay.h: * gst/rtp/gstrtpspeexdepay.h: * gst/rtp/gstrtpspeexpay.h: Fix GObject macros.
Diffstat (limited to 'gst/rtp/gstrtpL16depay.h')
-rw-r--r--gst/rtp/gstrtpL16depay.h14
1 files changed, 4 insertions, 10 deletions
diff --git a/gst/rtp/gstrtpL16depay.h b/gst/rtp/gstrtpL16depay.h
index 2c066077..57f7b720 100644
--- a/gst/rtp/gstrtpL16depay.h
+++ b/gst/rtp/gstrtpL16depay.h
@@ -24,10 +24,7 @@
#include "rtp-packet.h"
#include "gstrtp-common.h"
-#ifdef __cplusplus
-extern "C"
-{
-#endif /* __cplusplus */
+G_BEGIN_DECLS
/* Definition of structure storing data for this element. */
typedef struct _GstRtpL16Depay GstRtpL16Depay;
@@ -57,17 +54,14 @@ struct _GstRtpL16DepayClass
#define GST_RTP_L16_DEPAY(obj) \
(G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_RTP_L16_DEPAY,GstRtpL16Depay))
#define GST_RTP_L16_DEPAY_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_RTP_L16_DEPAY,GstRtpL16Depay))
+ (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_RTP_L16_DEPAY,GstRtpL16DepayClass))
#define GST_IS_RTP_L16_DEPAY(obj) \
(G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_RTP_L16_DEPAY))
-#define GST_IS_RTP_L16_DEPAY_CLASS(obj) \
+#define GST_IS_RTP_L16_DEPAY_CLASS(klass) \
(G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_RTP_L16_DEPAY))
gboolean gst_rtp_L16depay_plugin_init (GstPlugin * plugin);
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
+G_END_DECLS
#endif /* __GST_RTP_L16_DEPAY_H__ */