summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2020-05-26 19:54:25 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2020-05-26 19:54:25 +0200
commitbe64ddf9da525cd5c6757464efc966052731ba71 (patch)
tree80dd28d79cba9af99e1a380eea3022b6aba99ce4
parent995bbf3352134f19aff227be26c38a55942527eb (diff)
Change LV2_Descriptor and LV2UI_Descriptor signatures in function calls.
-rw-r--r--pluginlv2.cc4
-rw-r--r--pluginlv2.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/pluginlv2.cc b/pluginlv2.cc
index d12c0e7..c61beba 100644
--- a/pluginlv2.cc
+++ b/pluginlv2.cc
@@ -86,7 +86,7 @@ void PluginLV2::setLatency(float latency)
}
}
-LV2_Handle PluginLV2::instantiate(const struct _LV2_Descriptor* descriptor,
+LV2_Handle PluginLV2::instantiate(const LV2_Descriptor* descriptor,
double sample_rate,
const char* bundle_path,
const LV2_Feature *const *features)
@@ -616,7 +616,7 @@ const void* PluginLV2::extensionData(const char *uri)
//
// GUI
//
-LV2UI_Handle PluginLV2::uiInstantiate(const struct _LV2UI_Descriptor*descriptor,
+LV2UI_Handle PluginLV2::uiInstantiate(const LV2UI_Descriptor*descriptor,
const char * plugin_uri,
const char * bundle_path,
LV2UI_Write_Function write_function,
diff --git a/pluginlv2.h b/pluginlv2.h
index 8365de7..a0ac413 100644
--- a/pluginlv2.h
+++ b/pluginlv2.h
@@ -192,7 +192,7 @@ public:
void closeWindow() override;
public:
- static LV2_Handle instantiate(const struct _LV2_Descriptor* descriptor,
+ static LV2_Handle instantiate(const LV2_Descriptor* descriptor,
double sample_rate,
const char* bundle_path,
const LV2_Feature* const * features);
@@ -222,7 +222,7 @@ public:
uint32_t flags,
const LV2_Feature *const * features);
- static LV2UI_Handle uiInstantiate(const struct _LV2UI_Descriptor * descriptor,
+ static LV2UI_Handle uiInstantiate(const LV2UI_Descriptor * descriptor,
const char * plugin_uri,
const char * bundle_path,
LV2UI_Write_Function write_function,