diff options
author | David Robillard <d@drobilla.net> | 2012-11-23 05:59:09 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2012-11-23 05:59:09 +0000 |
commit | 6ce5332b4e27d4fec3ed317386ea6839d217f7fd (patch) | |
tree | 2bef8a76b9c46bbe3491fcf268f9c1b3c08151dd /lilv | |
parent | c28f70ab84dcbc2a185b1dc9577ea97cb1042701 (diff) | |
download | lilv-6ce5332b4e27d4fec3ed317386ea6839d217f7fd.tar.gz lilv-6ce5332b4e27d4fec3ed317386ea6839d217f7fd.tar.bz2 lilv-6ce5332b4e27d4fec3ed317386ea6839d217f7fd.zip |
Add lilv_nodes_merge() to API (address part of #835).
More lightweight version of lilv_plugin_has_feature() and lilv_world_find_nodes().
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@4860 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'lilv')
-rw-r--r-- | lilv/lilv.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lilv/lilv.h b/lilv/lilv.h index 5ef5e59..1d05883 100644 --- a/lilv/lilv.h +++ b/lilv/lilv.h @@ -465,6 +465,13 @@ LILV_API bool lilv_nodes_contains(const LilvNodes* values, const LilvNode* value); +/** + Return a new LilvNodes that contains all nodes from both @p a and @p b. +*/ +LILV_API +LilvNodes* +lilv_nodes_merge(const LilvNodes* a, const LilvNodes* b); + /* Plugins */ LILV_API |