summaryrefslogtreecommitdiffhomepage
path: root/api
diff options
context:
space:
mode:
Diffstat (limited to 'api')
-rw-r--r--api/plugin-api.hpp9
1 files changed, 6 insertions, 3 deletions
diff --git a/api/plugin-api.hpp b/api/plugin-api.hpp
index 263ee475..c7d5715d 100644
--- a/api/plugin-api.hpp
+++ b/api/plugin-api.hpp
@@ -55,15 +55,18 @@ private slots:
#define OPENTRACK_DECLARE_PLUGIN_INTERNAL(ctor_class, ctor_ret_class, metadata_class, dialog_class, dialog_ret_class) \
extern "C" \
{ \
- OTR_PLUGIN_EXPORT ctor_ret_class* GetConstructor(void) \
+ OTR_PLUGIN_EXPORT ctor_ret_class* GetConstructor(void); \
+ ctor_ret_class* GetConstructor(void) \
{ \
return new ctor_class; \
} \
- OTR_PLUGIN_EXPORT Metadata_* GetMetadata(void) \
+ OTR_PLUGIN_EXPORT Metadata_* GetMetadata(void); \
+ Metadata_* GetMetadata(void) \
{ \
return new metadata_class; \
} \
- OTR_PLUGIN_EXPORT dialog_ret_class* GetDialog(void) \
+ OTR_PLUGIN_EXPORT dialog_ret_class* GetDialog(void); \
+ dialog_ret_class* GetDialog(void) \
{ \
return new dialog_class; \
} \