summaryrefslogtreecommitdiffhomepage
path: root/opentrack-api/context.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2013-10-31 07:56:30 +0100
committerStanislaw Halik <sthalik@misaki.pl>2013-10-31 07:56:30 +0100
commitecbb8c37edd201115ebc4a0d1cc272f1c56933c2 (patch)
treec095751ac6a3a222618d61d3900ab402481f9cc8 /opentrack-api/context.cpp
parent067b88814f4fdfe0b0be1d86a01f081d2b61c8a1 (diff)
aid MSVC symbol exportitude
Signed-off-by: Stanislaw Halik <sthalik@misaki.pl>
Diffstat (limited to 'opentrack-api/context.cpp')
-rw-r--r--opentrack-api/context.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/opentrack-api/context.cpp b/opentrack-api/context.cpp
index eb5b8a58..5b218f93 100644
--- a/opentrack-api/context.cpp
+++ b/opentrack-api/context.cpp
@@ -93,17 +93,17 @@ opentrack_ctx::~opentrack_ctx()
extern "C"
{
-const char** opentrack_enum_trackers(opentrack ctx)
+const char** OPENTRACK_EXPORT opentrack_enum_trackers(opentrack ctx)
{
return const_cast<const char**>(ctx->list);
}
-opentrack opentrack_make_ctx(int argc, char** argv, void* window_parent)
+opentrack OPENTRACK_EXPORT opentrack_make_ctx(int argc, char** argv, void* window_parent)
{
return new opentrack_ctx(argc, argv, window_parent);
}
-void opentrack_finalize_ctx(opentrack foo)
+void OPENTRACK_EXPORT opentrack_finalize_ctx(opentrack foo)
{
delete foo;
}