fft: Mark one function as const and add notes that the structs should be private...
authorSebastian Dröge <sebastian.droege@collabora.co.uk>
Fri, 11 Sep 2009 05:20:49 +0000 (07:20 +0200)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Fri, 11 Sep 2009 05:22:15 +0000 (07:22 +0200)
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 f48f3123081db7f8daf31721a689fd7f6260e46a..fa5defe220d644af1a9ab0dcb1c48c16ca71eb96 100644 (file)
@@ -44,6 +44,6 @@ typedef enum
 
 /* Functions */
 
-gint gst_fft_next_fast_length (gint n);
+gint gst_fft_next_fast_length (gint n) G_GNUC_CONST;
 
 #endif /* __GST_FFT_H__ */
index 8ec61b21b00a8f0217902fe110717026c5d78915..3b56b483948c6d8e178a59219d9f39fc382de307 100644 (file)
@@ -28,6 +28,9 @@
 typedef struct _GstFFTF32 GstFFTF32;
 typedef struct _GstFFTF32Complex GstFFTF32Complex;
 
+/* FIXME 0.11: Move the struct definition to the sources,
+ *             there's no reason to have it public.
+ */
 /**
  * GstFFTF32:
  *
index 57ba5aab9cdb46d8f393540c86e4080fad798f48..8ebbee49ab2d4587856b40477269759dd1a13e57 100644 (file)
@@ -28,6 +28,9 @@
 typedef struct _GstFFTF64 GstFFTF64;
 typedef struct _GstFFTF64Complex GstFFTF64Complex;
 
+/* FIXME 0.11: Move the struct definition to the sources,
+ *             there's no reason to have it public.
+ */
 /**
  * GstFFTF64:
  *
index d13b8973b5caeae6879e525457f631834a38e7f3..9a752f1ffdd4dfac482754ffc4c0e554b98eb021 100644 (file)
@@ -28,6 +28,9 @@
 typedef struct _GstFFTS16 GstFFTS16;
 typedef struct _GstFFTS16Complex GstFFTS16Complex;
 
+/* FIXME 0.11: Move the struct definition to the sources,
+ *             there's no reason to have it public.
+ */
 /**
  * GstFFTS16:
  *
index b4da3dcc3a35a9974c6e584ca7f3e470810698ba..fd3b2798e40ba7849ec1d9ee90e50257d651dd6d 100644 (file)
@@ -28,6 +28,9 @@
 typedef struct _GstFFTS32 GstFFTS32;
 typedef struct _GstFFTS32Complex GstFFTS32Complex;
 
+/* FIXME 0.11: Move the struct definition to the sources,
+ *             there's no reason to have it public.
+ */
 /**
  * GstFFTS32:
  *