Mercurial > hg > audiodb
diff libtests/test_utils_lib.h @ 437:9a065b8db769 api-inversion
Hey, who let audioDB::set_up_query into the room?
audioDB::set_up_query and audioDB::set_up_db both do all sorts of
horrible pointer manipulation. Define a structure to contain all the
pointers, rather than having the hideous argument lists full of double
**, and use it in audioDB::set_up_query and
audioDB::set_up_query_from_key. (Those two functions are desperately
close to becoming one function, incidentally, or possibly even no
functions given the existence of adb_datum_t...)
author | mas01cr |
---|---|
date | Wed, 24 Dec 2008 10:56:07 +0000 |
parents | 7e6c99481b8b |
children | e072aa1611f5 342822c2d49a |