summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2021-10-15 23:58:55 +0200
committerStanislaw Halik <sthalik@misaki.pl>2021-10-16 18:20:50 +0200
commitee1787f255f5ee65afb24617e17e2de953ce6374 (patch)
treea0f079267673beebebcb63f2fbb464ed9e6ef17e
parent6d953ab8a790312c46c04264a328741c949ad830 (diff)
api: fix warning
-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; \
} \