summaryrefslogtreecommitdiffstats
path: root/src/plugininstance.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugininstance.c')
-rw-r--r--src/plugininstance.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugininstance.c b/src/plugininstance.c
index 13a659a..906bfb8 100644
--- a/src/plugininstance.c
+++ b/src/plugininstance.c
@@ -28,8 +28,8 @@
#include "private_types.h"
-SLV2Instance*
-slv2_plugin_instantiate(const SLV2Plugin* plugin,
+SLV2Instance
+slv2_plugin_instantiate(SLV2Plugin plugin,
uint32_t sample_rate,
const LV2_Host_Feature** host_features)
{
@@ -114,7 +114,7 @@ slv2_plugin_instantiate(const SLV2Plugin* plugin,
void
-slv2_instance_free(SLV2Instance* instance)
+slv2_instance_free(SLV2Instance instance)
{
struct _Instance* i = (struct _Instance*)instance;
i->lv2_descriptor->cleanup(i->lv2_handle);