diff options
author | Tim-Philipp Müller <tim@centricular.net> | 2005-02-09 22:31:05 +0000 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.net> | 2005-02-09 22:31:05 +0000 |
commit | 4dd33312feee6770621e7195a8ba94a6d7215be7 (patch) | |
tree | f54ec68ae69cd8f35da12e02bdb2c112810e1a19 /gst-libs/gst/video/videosink.h | |
parent | 5314b289ec3a08658419419447cecb649b50b19d (diff) | |
download | gst-plugins-bad-4dd33312feee6770621e7195a8ba94a6d7215be7.tar.gz gst-plugins-bad-4dd33312feee6770621e7195a8ba94a6d7215be7.tar.bz2 gst-plugins-bad-4dd33312feee6770621e7195a8ba94a6d7215be7.zip |
Add G_BEGIN_DECLS and G_END_DECLS around headers where missing, so that they work when included from C++ code
Original commit message from CVS:
Add G_BEGIN_DECLS and G_END_DECLS around headers where missing, so that they work when included from C++ code
Diffstat (limited to 'gst-libs/gst/video/videosink.h')
-rw-r--r-- | gst-libs/gst/video/videosink.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/gst-libs/gst/video/videosink.h b/gst-libs/gst/video/videosink.h index d1e3aa97..bdf52e15 100644 --- a/gst-libs/gst/video/videosink.h +++ b/gst-libs/gst/video/videosink.h @@ -24,9 +24,7 @@ #include <gst/gst.h> -#ifdef __cplusplus -extern "C" { -#endif /* __cplusplus */ +G_BEGIN_DECLS #define GST_TYPE_VIDEOSINK (gst_videosink_get_type()) #define GST_VIDEOSINK(obj) \ @@ -68,8 +66,6 @@ struct _GstVideoSinkClass { GType gst_videosink_get_type (void); -#ifdef __cplusplus -} -#endif /* __cplusplus */ +G_END_DECLS #endif /* __GST_VIDEOSINK_H__ */ |