Mercurial > hg > audiodb
view close.cpp @ 422:a7d61291fbda api-inversion
Baby steps...
Decorate accumulator.h with a preprocessor #define and test; then create
appropriate accumulators in audioDB::query() and delete them if
necessary in audioDB::cleanup().
author | mas01cr |
---|---|
date | Wed, 24 Dec 2008 10:55:03 +0000 |
parents | 58b88ab69424 |
children | 62a0515f59be |
line wrap: on
line source
#include "audioDB.h" extern "C" { #include "audioDB_API.h" #include "audioDB-internals.h" } void audiodb_close(adb_t *adb) { free(adb->path); free(adb->header); delete adb->keys; close(adb->fd); free(adb); }