fft: Bracket public headers
authorPhilippe Normand <philn@igalia.com>
Mon, 28 Nov 2011 19:11:09 +0000 (20:11 +0100)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Mon, 28 Nov 2011 19:28:19 +0000 (20:28 +0100)
This is especially needed if the gstfftw library is used from C++
code.

Fixes #665074

gst-libs/gst/fft/gstfft.h
gst-libs/gst/fft/gstfftf32.h
gst-libs/gst/fft/gstfftf64.h
gst-libs/gst/fft/gstffts16.h
gst-libs/gst/fft/gstffts32.h

index fa5defe..9071b1c 100644 (file)
@@ -23,6 +23,8 @@
 #ifndef __GST_FFT_H__
 #define __GST_FFT_H__
 
+G_BEGIN_DECLS
+
 /**
  * GstFFTWindow:
  * @GST_FFT_WINDOW_RECTANGULAR: Rectangular window
@@ -46,4 +48,6 @@ typedef enum
 
 gint gst_fft_next_fast_length (gint n) G_GNUC_CONST;
 
+G_END_DECLS
+
 #endif /* __GST_FFT_H__ */
index 3b56b48..2d634f8 100644 (file)
@@ -25,6 +25,8 @@
 
 #include "gstfft.h"
 
+G_BEGIN_DECLS
+
 typedef struct _GstFFTF32 GstFFTF32;
 typedef struct _GstFFTF32Complex GstFFTF32Complex;
 
@@ -72,4 +74,6 @@ void gst_fft_f32_free (GstFFTF32 *self);
 
 void gst_fft_f32_window (GstFFTF32 *self, gfloat *timedata, GstFFTWindow window);
 
+G_END_DECLS
+
 #endif /* __GST_FFT_F32_H__ */
index 8ebbee4..66a830a 100644 (file)
@@ -25,6 +25,8 @@
 
 #include "gstfft.h"
 
+G_BEGIN_DECLS
+
 typedef struct _GstFFTF64 GstFFTF64;
 typedef struct _GstFFTF64Complex GstFFTF64Complex;
 
@@ -72,4 +74,6 @@ void gst_fft_f64_free (GstFFTF64 *self);
 
 void gst_fft_f64_window (GstFFTF64 *self, gdouble *timedata, GstFFTWindow window);
 
+G_END_DECLS
+
 #endif /* __GST_FFT_F64_H__ */
index 9a752f1..cae969b 100644 (file)
@@ -25,6 +25,8 @@
 
 #include "gstfft.h"
 
+G_BEGIN_DECLS
+
 typedef struct _GstFFTS16 GstFFTS16;
 typedef struct _GstFFTS16Complex GstFFTS16Complex;
 
@@ -71,4 +73,7 @@ void gst_fft_s16_inverse_fft (GstFFTS16 *self, const GstFFTS16Complex *freqdata,
 void gst_fft_s16_free (GstFFTS16 *self);
 
 void gst_fft_s16_window (GstFFTS16 *self, gint16 *timedata, GstFFTWindow window);
+
+G_END_DECLS
+
 #endif /* __GST_FFT_S16_H__ */
index fd3b279..281434b 100644 (file)
@@ -25,6 +25,8 @@
 
 #include "gstfft.h"
 
+G_BEGIN_DECLS
+
 typedef struct _GstFFTS32 GstFFTS32;
 typedef struct _GstFFTS32Complex GstFFTS32Complex;
 
@@ -72,4 +74,6 @@ void gst_fft_s32_free (GstFFTS32 *self);
 
 void gst_fft_s32_window (GstFFTS32 *self, gint32 *timedata, GstFFTWindow window);
 
+G_END_DECLS
+
 #endif /* __GST_FFT_S32_H__ */