diff options
author | David Robillard <d@drobilla.net> | 2007-04-21 21:21:49 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2007-04-21 21:21:49 +0000 |
commit | 2066b51c243763677dfdbc6a9db8bccc10bbfe36 (patch) | |
tree | 4312c8c4febf4b5bbcd67c1f886013568b9f5fd9 /slv2/plugininstance.h | |
parent | 4c50ab004bd3f7327ecf1b33f80473d8e3e6afeb (diff) | |
download | lilv-2066b51c243763677dfdbc6a9db8bccc10bbfe36.tar.gz lilv-2066b51c243763677dfdbc6a9db8bccc10bbfe36.tar.bz2 lilv-2066b51c243763677dfdbc6a9db8bccc10bbfe36.zip |
Code cleanups.
git-svn-id: http://svn.drobilla.net/lad/slv2@470 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'slv2/plugininstance.h')
-rw-r--r-- | slv2/plugininstance.h | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/slv2/plugininstance.h b/slv2/plugininstance.h index 3def071..0132dfe 100644 --- a/slv2/plugininstance.h +++ b/slv2/plugininstance.h @@ -28,8 +28,6 @@ extern "C" { #include <slv2/plugin.h> #include <slv2/port.h> -typedef struct _InstanceImpl* SLV2InstanceImpl; - /** \defgroup lib Shared library access * * An SLV2Instance is an instantiated SLV2Plugin (eg a loaded dynamic @@ -40,17 +38,20 @@ typedef struct _InstanceImpl* SLV2InstanceImpl; */ +typedef struct _InstanceImpl* SLV2InstanceImpl; + + /** Instance of a plugin. * * The LV2 descriptor and handle of this are exposed to allow inlining of - * performance critical functions like slv2_instance_run (hiding things in - * lv2.h is pointless anyway). The remaining implementation details are + * performance critical functions like slv2_instance_run (which are exposed + * in lv2.h anyway). The remaining implementation details are * in the opaque pimpl member. */ typedef struct _Instance { const LV2_Descriptor* lv2_descriptor; LV2_Handle lv2_handle; - SLV2InstanceImpl pimpl; ///< Move along now, nothing to see here + SLV2InstanceImpl pimpl; ///< Private implementation }* SLV2Instance; @@ -83,10 +84,8 @@ slv2_plugin_instantiate(SLV2Plugin plugin, void slv2_instance_free(SLV2Instance instance); - #ifndef LIBSLV2_SOURCE - /** Get the URI of the plugin which \a instance is an instance of. * * Returned string is shared and must not be modified or deleted. |