summaryrefslogtreecommitdiffhomepage
path: root/tracker-rs/rs_impl/ftnoir_tracker_rs_impl.h
diff options
context:
space:
mode:
Diffstat (limited to 'tracker-rs/rs_impl/ftnoir_tracker_rs_impl.h')
-rw-r--r--tracker-rs/rs_impl/ftnoir_tracker_rs_impl.h15
1 files changed, 4 insertions, 11 deletions
diff --git a/tracker-rs/rs_impl/ftnoir_tracker_rs_impl.h b/tracker-rs/rs_impl/ftnoir_tracker_rs_impl.h
index a4c03ce8..c71f30fa 100644
--- a/tracker-rs/rs_impl/ftnoir_tracker_rs_impl.h
+++ b/tracker-rs/rs_impl/ftnoir_tracker_rs_impl.h
@@ -6,15 +6,8 @@
*/
#pragma once
-#ifdef EXPORT_RS_IMPL
-#define RSTRACKERIMPL_VISIBILITY __declspec( dllexport )
-#else
-#define RSTRACKERIMPL_VISIBILITY
-#endif
-extern "C" {
- RSTRACKERIMPL_VISIBILITY int rs_tracker_impl_start();
- RSTRACKERIMPL_VISIBILITY int rs_tracker_impl_update_pose(double *pose);
- RSTRACKERIMPL_VISIBILITY int rs_tracker_impl_get_preview(void* data, int width, int height);
- RSTRACKERIMPL_VISIBILITY int rs_tracker_impl_end();
-}
+int rs_tracker_impl_start();
+int rs_tracker_impl_update_pose(double *pose);
+int rs_tracker_impl_get_preview(void* data, int width, int height);
+int rs_tracker_impl_end();