Varjo Native SDK
Varjo_export.h
Go to the documentation of this file.
1 // Copyright 2019 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 #ifndef VARJORUNTIME_STATIC
11 #ifdef VARJORUNTIME_EXPORTS
12 #define VARJORUNTIME_EXPORT __declspec(dllexport)
13 #else
14 #define VARJORUNTIME_EXPORT __declspec(dllimport)
15 #endif
16 #else
17 #define VARJORUNTIME_EXPORT
18 #endif
19 
20 #ifndef VARJORUNTIME_NO_EXPORT
21 #define VARJORUNTIME_NO_EXPORT
22 #endif
23 
24 #ifndef VARJORUNTIME_DEPRECATED
25 #define VARJORUNTIME_DEPRECATED __declspec(deprecated)
26 #endif
27 
28 #define VARJO_API VARJORUNTIME_EXPORT
29 #define VARJO_EXPERIMENTAL_API VARJORUNTIME_EXPORT
30 #define VARJO_DEPRECATED_API VARJORUNTIME_EXPORT VARJORUNTIME_DEPRECATED
31 
32 #if defined __cplusplus
33 }
34 #endif
35 
36 #endif // VARJO_EXPORT_H