summaryrefslogtreecommitdiffhomepage
path: root/opentrack-api/opentrack.h
diff options
context:
space:
mode:
authorRyan Spicer <ryanspicer@gmail.com>2013-11-03 12:06:54 -0800
committerRyan Spicer <ryanspicer@gmail.com>2013-11-03 12:06:54 -0800
commita36b0c4fb8cfd3d28710f0cb7534e8a0d86cc3cb (patch)
tree1f0c21335a9745c99c55bc40926ead6743a2b730 /opentrack-api/opentrack.h
parentcc9b496e2de68b983dbc5fde27a1379cc9602a35 (diff)
MSVC 11 expects __declspec(dllexport) before return type.
Diffstat (limited to 'opentrack-api/opentrack.h')
-rw-r--r--opentrack-api/opentrack.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/opentrack-api/opentrack.h b/opentrack-api/opentrack.h
index b0883d50..990b6aa4 100644
--- a/opentrack-api/opentrack.h
+++ b/opentrack-api/opentrack.h
@@ -38,20 +38,20 @@ enum opentrack_dof {
};
#endif
-opentrack OPENTRACK_EXPORT opentrack_make_ctx(int argc, char** argv, void* window_parent);
-void OPENTRACK_EXPORT opentrack_finalize_ctx(opentrack self);
+OPENTRACK_EXPORT opentrack opentrack_make_ctx(int argc, char** argv, void* window_parent);
+OPENTRACK_EXPORT void opentrack_finalize_ctx(opentrack self);
/* no need to free the return value; invalid to modify it */
-const char** OPENTRACK_EXPORT opentrack_enum_trackers(opentrack self);
+OPENTRACK_EXPORT const char** opentrack_enum_trackers(opentrack self);
/*
* don't `opentrack_tracker_tick an unstarted tracker, it's invalid to do so
* it's also invalid to start a finalized tracker
*/
-opentrack_tracker OPENTRACK_EXPORT opentrack_make_tracker(opentrack ctx, const char* name);
-void OPENTRACK_EXPORT opentrack_tracker_start(opentrack self, opentrack_tracker tracker);
-int OPENTRACK_EXPORT opentrack_tracker_tick(opentrack_tracker tracker, double* headpose);
-void OPENTRACK_EXPORT opentrack_finalize_tracker(opentrack_tracker tracker);
+OPENTRACK_EXPORT opentrack_tracker opentrack_make_tracker(opentrack ctx, const char* name);
+OPENTRACK_EXPORT void opentrack_tracker_start(opentrack self, opentrack_tracker tracker);
+OPENTRACK_EXPORT int opentrack_tracker_tick(opentrack_tracker tracker, double* headpose);
+OPENTRACK_EXPORT void opentrack_finalize_tracker(opentrack_tracker tracker);
#ifdef __cplusplus
}
#endif