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 /slv2 | |
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 'slv2')
-rw-r--r-- | slv2/slv2.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/slv2/slv2.h b/slv2/slv2.h index c4c2420..2434561 100644 --- a/slv2/slv2.h +++ b/slv2/slv2.h @@ -517,6 +517,14 @@ slv2_plugins_get_at(SLV2Plugins collection, unsigned index) { } /** + This function is deprecated, it does nothing. +*/ +SLV2_DEPRECATED +static inline void +slv2_plugins_free(SLV2World world, SLV2Plugins plugins) { +} + +/** Get a plugin from @a plugins by URI. Return value is shared (stored in @a plugins) and must not be freed or modified by the caller in any way. |