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 /src/pluginui.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 'src/pluginui.c')
-rw-r--r-- | src/pluginui.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pluginui.c b/src/pluginui.c index 250ce42..3cb2439 100644 --- a/src/pluginui.c +++ b/src/pluginui.c @@ -89,7 +89,7 @@ slv2_ui_is_supported(SLV2UI ui, { #ifdef HAVE_SUIL SLV2Values classes = slv2_ui_get_classes(ui); - SLV2_FOREACH(c, classes) { + SLV2_FOREACH(values, c, classes) { SLV2Value type = slv2_values_get(classes, c); const unsigned q = supported_func(slv2_value_as_uri(container_type), slv2_value_as_uri(type)); |