summaryrefslogtreecommitdiffstats
path: root/gst-libs/gst/resample/resample.h
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim@centricular.net>2005-02-09 22:31:05 +0000
committerTim-Philipp Müller <tim@centricular.net>2005-02-09 22:31:05 +0000
commit4dd33312feee6770621e7195a8ba94a6d7215be7 (patch)
treef54ec68ae69cd8f35da12e02bdb2c112810e1a19 /gst-libs/gst/resample/resample.h
parent5314b289ec3a08658419419447cecb649b50b19d (diff)
downloadgst-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/resample/resample.h')
-rw-r--r--gst-libs/gst/resample/resample.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/gst-libs/gst/resample/resample.h b/gst-libs/gst/resample/resample.h
index e8879514..111c2012 100644
--- a/gst-libs/gst/resample/resample.h
+++ b/gst-libs/gst/resample/resample.h
@@ -21,6 +21,10 @@
#ifndef __GST_RESAMPLE_H__
#define __GST_RESAMPLE_H__
+#include <glib.h>
+
+G_BEGIN_DECLS
+
typedef enum {
GST_RESAMPLE_NEAREST = 0,
GST_RESAMPLE_BILINEAR,
@@ -102,4 +106,6 @@ void gst_resample_close (gst_resample_t * r);
void gst_resample_scale(gst_resample_t *r, void *i_buf, unsigned int size);
+G_END_DECLS
+
#endif /* __GST_RESAMPLE_H__ */