Add missing extern "C" to GetPluginFactory

This commit is contained in:
Robbert van der Helm
2022-04-16 15:25:00 +02:00
parent 6773305646
commit 0ba0dab675
+2 -1
View File
@@ -94,7 +94,8 @@ bool DeinitModule() {
* the plugin in our Wine application, retrieve its information and supported
* classes, and then recreate it here.
*/
YABRIDGE_EXPORT Steinberg::IPluginFactory* PLUGIN_API GetPluginFactory() {
extern "C" YABRIDGE_EXPORT Steinberg::IPluginFactory* PLUGIN_API
GetPluginFactory() {
// The host should have called `InitModule()` first
assert(bridge);