shithub: aubio

Download patch

ref: ce0e7b5e8279fb7765d52dc664fa97ef82c5ddc1
parent: 916f898309181aaf2c5a1b6280737816b84b6dcf
author: Paul Brossier <piem@piem.org>
date: Mon Sep 28 17:11:41 EDT 2009

src/mathutils.h: move window types doc after ifdef cplusplus

--- a/src/mathutils.h
+++ b/src/mathutils.h
@@ -30,6 +30,10 @@
 #ifndef MATHUTILS_H
 #define MATHUTILS_H
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 /** Window types 
  * 
  * inspired from 
@@ -38,11 +42,6 @@
  *  - freqtweak : http://freqtweak.sf.net/
  *  - extace : http://extace.sf.net/
  */
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
 typedef enum {
 	aubio_win_rectangle,          
 	aubio_win_hamming,
@@ -100,6 +99,7 @@
 void vec_shift(fvec_t *s);
 /** returns sum */
 smpl_t vec_sum(fvec_t *s);
+
 /** returns energy 
  *
  * \bug mono