summaryrefslogtreecommitdiffstats
path: root/gst-libs/gst/resample
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
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')
-rw-r--r--gst-libs/gst/resample/private.h4
-rw-r--r--gst-libs/gst/resample/resample.h6
2 files changed, 10 insertions, 0 deletions
diff --git a/gst-libs/gst/resample/private.h b/gst-libs/gst/resample/private.h
index c2eb86ad..20339c17 100644
--- a/gst-libs/gst/resample/private.h
+++ b/gst-libs/gst/resample/private.h
@@ -23,6 +23,8 @@
#include "resample.h"
+G_BEGIN_DECLS
+
void gst_resample_nearest_s16(gst_resample_t *r);
void gst_resample_bilinear_s16(gst_resample_t *r);
void gst_resample_sinc_s16(gst_resample_t *r);
@@ -111,4 +113,6 @@ void conv_float_double_ref(float *dest, double *src, int n);
void conv_double_float_dstr(double *dest, float *src, int n, int dstr);
void conv_float_double_sstr(float *dest, double *src, int n, int sstr);
+G_END_DECLS
+
#endif /* __PRIVATE_H__ */
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__ */