forked from stepcode/stepcode
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathscl_export.h
More file actions
95 lines (87 loc) · 3.17 KB
/
scl_export.h
File metadata and controls
95 lines (87 loc) · 3.17 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
#ifndef SCL_EXPORT_H
#define SCL_EXPORT_H
/* Import/Export flags for base. */
#ifndef SCL_BASE_EXPORT
# if defined(SCL_BASE_DLL_EXPORTS) && defined(SCL_BASE_DLL_IMPORTS)
# error "Only SCL_BASE_DLL_EXPORTS or SCL_BASE_DLL_IMPORTS can be defined, not both."
# elif defined(SCL_BASE_DLL_EXPORTS)
# define SCL_BASE_EXPORT __declspec(dllexport)
# elif defined(SCL_BASE_DLL_IMPORTS)
# define SCL_BASE_EXPORT __declspec(dllimport)
# else
# define SCL_BASE_EXPORT
# endif
#endif
/* Import/Export flags for express. */
#ifndef SCL_EXPRESS_EXPORT
# if defined(SCL_EXPRESS_DLL_EXPORTS) && defined(SCL_EXPRESS_DLL_IMPORTS)
# error "Only SCL_EXPRESS_DLL_EXPORTS or SCL_EXPRESS_DLL_IMPORTS can be defined, not both."
# elif defined(SCL_EXPRESS_DLL_EXPORTS)
# define SCL_EXPRESS_EXPORT __declspec(dllexport)
# elif defined(SCL_EXPRESS_DLL_IMPORTS)
# define SCL_EXPRESS_EXPORT __declspec(dllimport)
# else
# define SCL_EXPRESS_EXPORT
# endif
#endif
/* Import/Export flags for exppp. */
#ifndef SCL_EXPPP_EXPORT
# if defined(SCL_EXPPP_DLL_EXPORTS) && defined(SCL_EXPPP_DLL_IMPORTS)
# error "Only SCL_EXPPP_DLL_EXPORTS or SCL_EXPPP_DLL_IMPORTS can be defined, not both."
# elif defined(SCL_EXPPP_DLL_EXPORTS)
# define SCL_EXPPP_EXPORT __declspec(dllexport)
# elif defined(SCL_EXPPP_DLL_IMPORTS)
# define SCL_EXPPP_EXPORT __declspec(dllimport)
# else
# define SCL_EXPPP_EXPORT
# endif
#endif
/* Import/Export flags for utils. */
#ifndef SCL_UTILS_EXPORT
# if defined(SCL_UTILS_DLL_EXPORTS) && defined(SCL_UTILS_DLL_IMPORTS)
# error "Only SCL_UTILS_DLL_EXPORTS or SCL_UTILS_DLL_IMPORTS can be defined, not both."
# elif defined(SCL_UTILS_DLL_EXPORTS)
# define SCL_UTILS_EXPORT __declspec(dllexport)
# elif defined(SCL_UTILS_DLL_IMPORTS)
# define SCL_UTILS_EXPORT __declspec(dllimport)
# else
# define SCL_UTILS_EXPORT
# endif
#endif
/* Import/Export flags for dai. */
#ifndef SCL_DAI_EXPORT
# if defined(SCL_DAI_DLL_EXPORTS) && defined(SCL_DAI_DLL_IMPORTS)
# error "Only SCL_DAI_DLL_EXPORTS or SCL_DAI_DLL_IMPORTS can be defined, not both."
# elif defined(SCL_DAI_DLL_EXPORTS)
# define SCL_DAI_EXPORT __declspec(dllexport)
# elif defined(SCL_DAI_DLL_IMPORTS)
# define SCL_DAI_EXPORT __declspec(dllimport)
# else
# define SCL_DAI_EXPORT
# endif
#endif
/* Import/Export flags for core. */
#ifndef SCL_CORE_EXPORT
# if defined(SCL_CORE_DLL_EXPORTS) && defined(SCL_CORE_DLL_IMPORTS)
# error "Only SCL_CORE_DLL_EXPORTS or SCL_CORE_DLL_IMPORTS can be defined, not both."
# elif defined(SCL_CORE_DLL_EXPORTS)
# define SCL_CORE_EXPORT __declspec(dllexport)
# elif defined(SCL_CORE_DLL_IMPORTS)
# define SCL_CORE_EXPORT __declspec(dllimport)
# else
# define SCL_CORE_EXPORT
# endif
#endif
/* Import/Export flags for editor. */
#ifndef SCL_EDITOR_EXPORT
# if defined(SCL_EDITOR_DLL_EXPORTS) && defined(SCL_EDITOR_DLL_IMPORTS)
# error "Only SCL_EDITOR_DLL_EXPORTS or SCL_EDITOR_DLL_IMPORTS can be defined, not both."
# elif defined(SCL_EDITOR_DLL_EXPORTS)
# define SCL_EDITOR_EXPORT __declspec(dllexport)
# elif defined(SCL_EDITOR_DLL_IMPORTS)
# define SCL_EDITOR_EXPORT __declspec(dllimport)
# else
# define SCL_EDITOR_EXPORT
# endif
#endif
#endif /* SCL_EXPORT_H */