ledger-core
libcore_export.h
1 
2 #ifndef LIBCORE_EXPORT_H
3 #define LIBCORE_EXPORT_H
4 
5 #ifdef LEDGER_CORE_STATIC_DEFINE
6 # define LIBCORE_EXPORT
7 # define LEDGER_CORE_NO_EXPORT
8 #else
9 # ifndef LIBCORE_EXPORT
10 # ifdef ledger_core_EXPORTS
11  /* We are building this library */
12 # define LIBCORE_EXPORT __declspec(dllexport)
13 # else
14  /* We are using this library */
15 # define LIBCORE_EXPORT __declspec(dllimport)
16 # endif
17 # endif
18 
19 # ifndef LEDGER_CORE_NO_EXPORT
20 # define LEDGER_CORE_NO_EXPORT
21 # endif
22 #endif
23 
24 #ifndef LEDGER_CORE_DEPRECATED
25 # define LEDGER_CORE_DEPRECATED __declspec(deprecated)
26 #endif
27 
28 #ifndef LEDGER_CORE_DEPRECATED_EXPORT
29 # define LEDGER_CORE_DEPRECATED_EXPORT LIBCORE_EXPORT LEDGER_CORE_DEPRECATED
30 #endif
31 
32 #ifndef LEDGER_CORE_DEPRECATED_NO_EXPORT
33 # define LEDGER_CORE_DEPRECATED_NO_EXPORT LEDGER_CORE_NO_EXPORT LEDGER_CORE_DEPRECATED
34 #endif
35 
36 #if 0 /* DEFINE_NO_DEPRECATED */
37 # ifndef LEDGER_CORE_NO_DEPRECATED
38 # define LEDGER_CORE_NO_DEPRECATED
39 # endif
40 #endif
41 
42 #endif /* LIBCORE_EXPORT_H */