diff options
author | David Robillard <d@drobilla.net> | 2007-04-20 03:57:41 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2007-04-20 03:57:41 +0000 |
commit | be95afee123c169b083049c2f441d3860a12fea0 (patch) | |
tree | 78c907f1828bbe8a8521a83313e793c01a989903 /src/pluginlist.c | |
parent | c625507d8a3101742c083dd030cbd1e1e295a9a0 (diff) | |
download | lilv-be95afee123c169b083049c2f441d3860a12fea0.tar.gz lilv-be95afee123c169b083049c2f441d3860a12fea0.tar.bz2 lilv-be95afee123c169b083049c2f441d3860a12fea0.zip |
Clean up API, hide more methods that should not be exposed to user.
Document performance of most methods.
Clean up and clarify documentation.
git-svn-id: http://svn.drobilla.net/lad/slv2@460 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/pluginlist.c')
-rw-r--r-- | src/pluginlist.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/pluginlist.c b/src/pluginlist.c index 50bb2ad..d4cd058 100644 --- a/src/pluginlist.c +++ b/src/pluginlist.c @@ -36,14 +36,16 @@ SLV2Plugins slv2_plugins_new() { - return raptor_new_sequence((void (*)(void*))&slv2_plugin_free, NULL); + //return raptor_new_sequence((void (*)(void*))&slv2_plugin_free, NULL); + return raptor_new_sequence(NULL, NULL); } void -slv2_plugins_free(SLV2Plugins list) +slv2_plugins_free(SLV2World world, SLV2Plugins list) { - raptor_free_sequence(list); + if (list != world->plugins) + raptor_free_sequence(list); } #if 0 |