diff options
author | David Robillard <d@drobilla.net> | 2011-03-09 21:07:25 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-03-09 21:07:25 +0000 |
commit | 509579ed2b7a99b2056136a3faafa7ef11d3a57d (patch) | |
tree | 706b7f6e1e59dfc046ecc4e65e2373ea965e26c8 /src | |
parent | 520bbc76182510c05e2c0dd15d3d7b873faf1d11 (diff) | |
download | lilv-509579ed2b7a99b2056136a3faafa7ef11d3a57d.tar.gz lilv-509579ed2b7a99b2056136a3faafa7ef11d3a57d.tar.bz2 lilv-509579ed2b7a99b2056136a3faafa7ef11d3a57d.zip |
Add a deprecated stub for slv2_plugins_free for backwards source compatibility.
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@3060 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src')
-rw-r--r-- | src/collections.c | 7 | ||||
-rw-r--r-- | src/slv2_internal.h | 14 |
2 files changed, 1 insertions, 20 deletions
diff --git a/src/collections.c b/src/collections.c index ee84f68..bdbf640 100644 --- a/src/collections.c +++ b/src/collections.c @@ -129,13 +129,6 @@ slv2_plugins_new() return g_sequence_new(NULL); } -void -slv2_plugins_free(SLV2World world, SLV2Plugins list) -{ - if (list && list != world->plugins) - g_sequence_free(list); -} - SLV2_API SLV2Plugin slv2_plugins_get_by_uri(SLV2Plugins list, SLV2Value uri) diff --git a/src/slv2_internal.h b/src/slv2_internal.h index 880f3c5..f800a68 100644 --- a/src/slv2_internal.h +++ b/src/slv2_internal.h @@ -136,22 +136,10 @@ slv2_plugin_get_unique(SLV2Plugin p, /* ********* Plugins ********* */ -/** Create a new, empty plugin list. - * - * Returned object must be freed with slv2_plugins_free. - */ + SLV2Plugins slv2_plugins_new(); -/** - Free a plugin collection. - Freeing a plugin collection does not destroy the plugins it contains - (plugins are owned by the world). @a plugins is invalid after this call. -*/ -void -slv2_plugins_free(SLV2World world, - SLV2Plugins plugins); - /* ********* Instance ********* */ |