summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-03-10 23:06:44 +0000
committerDavid Robillard <d@drobilla.net>2011-03-10 23:06:44 +0000
commit21d99cda2491dca95217a4a0012020da31090d8a (patch)
tree162e8d9409ff8aae1d014635801223754ad64e15
parent4f0ea64bf84fc2532e5104fc1bc5d6ccf76d3fff (diff)
downloadlilv-21d99cda2491dca95217a4a0012020da31090d8a.tar.gz
lilv-21d99cda2491dca95217a4a0012020da31090d8a.tar.bz2
lilv-21d99cda2491dca95217a4a0012020da31090d8a.zip
Fix SLV2_FOREACH to work with any iterator name (oops).
List known options (well.. option) in slv2_world_set_option documentation. git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@3065 a436a847-0d15-0410-975c-d299462d15a1
-rw-r--r--slv2/slv2.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/slv2/slv2.h b/slv2/slv2.h
index c3019a4..49e31f5 100644
--- a/slv2/slv2.h
+++ b/slv2/slv2.h
@@ -341,8 +341,8 @@ slv2_collection_get(SLV2Collection collection,
#define SLV2_FOREACH(iter, collection) \
for (SLV2Iter (iter) = slv2_collection_begin(collection); \
- !slv2_iter_end(i); \
- i = slv2_iter_next(i))
+ !slv2_iter_end(iter); \
+ (iter) = slv2_iter_next(iter))
/* SLV2PluginClasses */
@@ -533,6 +533,8 @@ slv2_world_new(void);
/**
Set an SLV2 option for @a world.
+
+ Currently recognized options: SLV2_OPTION_FILTER_LANG.
*/
SLV2_API
void