VARJO TRACKING PLUGIN SDK DOCUMENTATION
Varjo_export.h
Go to the documentation of this file.
1 // Copyright 2019-2021 Varjo Technologies Oy. All rights reserved.
2 
3 #ifndef VARJO_EXPORT_H
4 #define VARJO_EXPORT_H
5 
6 #if defined __cplusplus
7 extern "C" {
8 #endif
9 
10 #if _WIN32
11 #define EXPORT_TOKEN __declspec(dllexport)
12 #define IMPORT_TOKEN __declspec(dllimport)
13 #else
14 #define EXPORT_TOKEN
15 #define IMPORT_TOKEN
16 #endif
17 
18 #ifndef VARJORUNTIME_STATIC
19 #ifdef VARJORUNTIME_EXPORTS
20 #define VARJORUNTIME_EXPORT EXPORT_TOKEN
21 #else
22 #define VARJORUNTIME_EXPORT IMPORT_TOKEN
23 #endif
24 #else
25 #define VARJORUNTIME_EXPORT
26 #endif
27 
28 #ifndef VARJORUNTIME_NO_EXPORT
29 #define VARJORUNTIME_NO_EXPORT
30 #endif
31 
32 #ifndef VARJORUNTIME_DEPRECATED
33 #define VARJORUNTIME_DEPRECATED __declspec(deprecated)
34 #endif
35 
36 #define VARJO_API VARJORUNTIME_EXPORT
37 #define VARJO_DEPRECATED_API VARJORUNTIME_EXPORT VARJORUNTIME_DEPRECATED
38 
39 #if defined __cplusplus
40 }
41 #endif
42 
43 #endif // VARJO_EXPORT_H