summaryrefslogtreecommitdiffhomepage
path: root/opentrack
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2016-08-10 09:50:00 +0200
committerStanislaw Halik <sthalik@misaki.pl>2016-08-10 10:42:02 +0200
commit8a98b75670cc60d088e9ce47ff13b84a9c2aa04d (patch)
tree37a54124ce1ee3b1b006bf5de3f429a49d9dae3e /opentrack
parent63f4c05b2663fea3471210213aae022908a32546 (diff)
api/plugins: shutup clang warning
Diffstat (limited to 'opentrack')
-rw-r--r--opentrack/plugin-api.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/opentrack/plugin-api.hpp b/opentrack/plugin-api.hpp
index 09b7f9ee..1e5c0fe0 100644
--- a/opentrack/plugin-api.hpp
+++ b/opentrack/plugin-api.hpp
@@ -48,6 +48,10 @@ signals:
} // ns
#define OPENTRACK_DECLARE_PLUGIN_INTERNAL(ctor_class, ctor_ret_class, metadata_class, dialog_class, dialog_ret_class) \
+ extern "C" OPENTRACK_PLUGIN_EXPORT ctor_ret_class* GetConstructor(); \
+ extern "C" OPENTRACK_PLUGIN_EXPORT Metadata* GetMetadata(); \
+ extern "C" OPENTRACK_PLUGIN_EXPORT dialog_ret_class* GetDialog(); \
+ \
extern "C" OPENTRACK_PLUGIN_EXPORT ctor_ret_class* GetConstructor() \
{ \
return new ctor_class; \