From: Paul Brossier Date: Tue, 13 Nov 2007 08:03:11 +0000 (+0100) Subject: onsetdetection.{c,h}: remove obsolete _free function X-Git-Tag: bzr2git~460 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=999b0c12fb35317d5dfefa1abafd0ef27674da28;p=aubio.git onsetdetection.{c,h}: remove obsolete _free function --- diff --git a/src/onsetdetection.c b/src/onsetdetection.c index ed25ac8e..98a0bd93 100644 --- a/src/onsetdetection.c +++ b/src/onsetdetection.c @@ -283,10 +283,6 @@ new_aubio_onsetdetection (aubio_onsetdetection_type type, return o; } -void aubio_onsetdetection_free (aubio_onsetdetection_t *o){ - del_aubio_onsetdetection(o); -} - void del_aubio_onsetdetection (aubio_onsetdetection_t *o){ switch(o->type) { diff --git a/src/onsetdetection.h b/src/onsetdetection.h index 6728e186..c8eafcd4 100644 --- a/src/onsetdetection.h +++ b/src/onsetdetection.h @@ -160,13 +160,6 @@ aubio_onsetdetection_t * new_aubio_onsetdetection(aubio_onsetdetection_type type */ void del_aubio_onsetdetection(aubio_onsetdetection_t *o); -/** deletion of an onset detection object (obsolete) - - \param o onset detection object as returned by new_aubio_onsetdetection() - -*/ -void aubio_onsetdetection_free(aubio_onsetdetection_t *o); - #ifdef __cplusplus }