|
Varjo Native SDK
|
|
Go to the documentation of this file.
6 #if defined __cplusplus
10 #ifndef __has_declspec_attribute
11 #define __has_declspec_attribute(x) 0
14 #ifndef VARJORUNTIME_STATIC
15 #ifdef VARJORUNTIME_EXPORTS
16 #if defined(_MSC_VER) || __has_declspec_attribute(dllexport)
17 #define VARJORUNTIME_EXPORT __declspec(dllexport)
19 #define VARJORUNTIME_EXPORT __attribute__((dllexport))
22 #if defined(_MSC_VER) || __has_declspec_attribute(dllimport)
23 #define VARJORUNTIME_EXPORT __declspec(dllimport)
25 #define VARJORUNTIME_EXPORT __attribute__((dllimport))
29 #define VARJORUNTIME_EXPORT
32 #ifndef VARJORUNTIME_NO_EXPORT
33 #define VARJORUNTIME_NO_EXPORT
36 #ifndef VARJORUNTIME_DEPRECATED
37 #if defined(_MSC_VER) || __has_declspec_attribute(deprecated)
38 #define VARJORUNTIME_DEPRECATED __declspec(deprecated)
40 #define VARJORUNTIME_DEPRECATED __attribute__((deprecated))
44 #define VARJO_API VARJORUNTIME_EXPORT
45 #define VARJO_EXPERIMENTAL_API VARJORUNTIME_EXPORT
46 #define VARJO_DEPRECATED_API VARJORUNTIME_EXPORT VARJORUNTIME_DEPRECATED
48 #if defined __cplusplus
52 #endif // VARJO_EXPORT_H