Mercurial > hg > audiodb
view close.cpp @ 433:681837f7c903 api-inversion
More on the query rationalization
Turn audioDB::delete_arrays and audioDB::read_data into ordinary
functions.
Also partially do audioDB::initialize_arrays, except for the bits that
we can't yet do because we haven't got a query datum/identifier going
through yet.
author | mas01cr |
---|---|
date | Wed, 24 Dec 2008 10:55:48 +0000 |
parents | 62a0515f59be |
children | 16c5c51a4c32 |
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; delete adb->track_lengths; close(adb->fd); free(adb); }