From: Paul Brossier Date: Mon, 28 Sep 2009 19:11:41 +0000 (+0200) Subject: src/mathutils.h: move window types doc after ifdef cplusplus X-Git-Tag: bzr2git~267 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=ce0e7b5e8279fb7765d52dc664fa97ef82c5ddc1;p=aubio.git src/mathutils.h: move window types doc after ifdef cplusplus --- diff --git a/src/mathutils.h b/src/mathutils.h index eaea72e5..59f3342d 100644 --- 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 @@ uint_t vec_max_elem(fvec_t *s); void vec_shift(fvec_t *s); /** returns sum */ smpl_t vec_sum(fvec_t *s); + /** returns energy * * \bug mono