diff options
author | David Robillard <d@drobilla.net> | 2011-04-28 06:02:12 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-04-28 06:02:12 +0000 |
commit | 2a16021425dab995e902d133b060ebcf6c59a00c (patch) | |
tree | 042783cc69184323d799da5db497461d108f6a89 /utils/slv2_bench.c | |
parent | 00ceff504269034db8e1bfb54a97b5732c2dadce (diff) | |
download | lilv-2a16021425dab995e902d133b060ebcf6c59a00c.tar.gz lilv-2a16021425dab995e902d133b060ebcf6c59a00c.tar.bz2 lilv-2a16021425dab995e902d133b060ebcf6c59a00c.zip |
More future-proof collection APIs.
Make all iterator actions occur through a collection specific function.
Verbose, and a low of API, but allows for the possibility of different
collection implementation types (given a choice between verbosity and no type
safety, I'll take verbosity).
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@3211 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'utils/slv2_bench.c')
-rw-r--r-- | utils/slv2_bench.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/slv2_bench.c b/utils/slv2_bench.c index a63b876..de1be4e 100644 --- a/utils/slv2_bench.c +++ b/utils/slv2_bench.c @@ -44,8 +44,8 @@ main(int argc, char** argv) slv2_world_load_all(world); SLV2Plugins plugins = slv2_world_get_all_plugins(world); - SLV2_FOREACH(p, plugins) { - SLV2Plugin plugin = slv2_collection_get(plugins, p); + SLV2_FOREACH(plugins, p, plugins) { + SLV2Plugin plugin = slv2_plugins_get(plugins, p); slv2_plugin_get_class(plugin); } |