diff options
author | David Robillard <d@drobilla.net> | 2011-04-30 02:07:42 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-04-30 02:07:42 +0000 |
commit | 6c72abfc6d6649f07d85f70b25ce4393dc775a39 (patch) | |
tree | d87d8cc347a43b3b02d97caa6666848448c7e92c /src/collections.c | |
parent | 054c39b12cb610d79006f0b51153cb2c4aa5a0b7 (diff) | |
download | lilv-6c72abfc6d6649f07d85f70b25ce4393dc775a39.tar.gz lilv-6c72abfc6d6649f07d85f70b25ce4393dc775a39.tar.bz2 lilv-6c72abfc6d6649f07d85f70b25ce4393dc775a39.zip |
Tidy.
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3241 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/collections.c')
-rw-r--r-- | src/collections.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/collections.c b/src/collections.c index 0049d1f..74d10df 100644 --- a/src/collections.c +++ b/src/collections.c @@ -42,7 +42,10 @@ lilv_collection_size(const LilvCollection* coll) LilvIter* lilv_collection_begin(const LilvCollection* collection) { - return collection ? g_sequence_get_begin_iter((LilvCollection*)collection) : NULL; + if (collection) { + return g_sequence_get_begin_iter((LilvCollection*)collection); + } + return NULL; } void* @@ -82,7 +85,8 @@ lilv_plugin_classes_new(void) LILV_API const LilvPluginClass* -lilv_plugin_classes_get_by_uri(const LilvPluginClasses* coll, const LilvNode* uri) +lilv_plugin_classes_get_by_uri(const LilvPluginClasses* coll, + const LilvNode* uri) { return (LilvPluginClass*)lilv_sequence_get_by_uri(coll, uri); } |