Mercurial > hg > qm-dsp
diff dsp/segmentation/cluster_melt.h @ 20:8bdbda7fb893
* First cut at properly integrating the segmenter and making it work right
author | cannam |
---|---|
date | Wed, 09 Jan 2008 16:50:04 +0000 |
parents | 8e90a56b4b5f |
children | e5907ae6de17 |
line wrap: on
line diff
--- a/dsp/segmentation/cluster_melt.h Wed Jan 09 10:48:08 2008 +0000 +++ b/dsp/segmentation/cluster_melt.h Wed Jan 09 16:50:04 2008 +0000 @@ -12,6 +12,10 @@ #include <stdlib.h> #include <math.h> +#ifdef __cplusplus +extern "C" { +#endif + void cluster_melt(double *h, /* normalised histograms, as a vector in row major order */ int m, /* number of dimensions (i.e. histogram bins) */ int n, /* number of histograms */ @@ -22,4 +26,8 @@ int *c /* sequence of cluster assignments */ ); -#endif \ No newline at end of file +#ifdef __cplusplus +} +#endif + +#endif