diff options
author | David Robillard <d@drobilla.net> | 2010-03-12 01:27:02 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2010-03-12 01:27:02 +0000 |
commit | 0a18c35deb2dbc6efd4acd4a1ddc5c87b3887fb1 (patch) | |
tree | 1dc06da55503eda364794e47d0d6cd3a2af792d9 /src/plugins.c | |
parent | 4204ee4da991e652f3142b5d90c37849052c9484 (diff) | |
download | lilv-0a18c35deb2dbc6efd4acd4a1ddc5c87b3887fb1.tar.gz lilv-0a18c35deb2dbc6efd4acd4a1ddc5c87b3887fb1.tar.bz2 lilv-0a18c35deb2dbc6efd4acd4a1ddc5c87b3887fb1.zip |
Chop dead code.
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2545 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/plugins.c')
-rw-r--r-- | src/plugins.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/plugins.c b/src/plugins.c index 4aee191..73fb20d 100644 --- a/src/plugins.c +++ b/src/plugins.c @@ -33,7 +33,6 @@ SLV2Plugins slv2_plugins_new() { - //return raptor_new_sequence((void (*)(void*))&slv2_plugin_free, NULL); return raptor_new_sequence(NULL, NULL); } @@ -45,20 +44,6 @@ slv2_plugins_free(SLV2World world, SLV2Plugins list) raptor_free_sequence(list); } -#if 0 -void -slv2_plugins_filter(SLV2Plugins dest, SLV2Plugins source, bool (*include)(SLV2Plugin)) -{ - assert(dest); - - for (int i=0; i < raptor_sequence_size(source); ++i) { - SLV2Plugin p = raptor_sequence_get_at(source, i); - if (include(p)) - raptor_sequence_push(dest, slv2_plugin_duplicate(p)); - } -} -#endif - unsigned slv2_plugins_size(SLV2Plugins list) |