Medical Imaging Interaction Toolkit  2024.06.00
Medical Imaging Interaction Toolkit
MitkCoreExports.h
Go to the documentation of this file.
1 
2 #ifndef MITKCORE_EXPORT_H
3 #define MITKCORE_EXPORT_H
4 
5 #ifdef MITKCORE_STATIC_DEFINE
6 # define MITKCORE_EXPORT
7 # define MITKCORE_NO_EXPORT
8 #else
9 # ifndef MITKCORE_EXPORT
10 # ifdef MitkCore_EXPORTS
11  /* We are building this library */
12 # define MITKCORE_EXPORT __attribute__((visibility("default")))
13 # else
14  /* We are using this library */
15 # define MITKCORE_EXPORT __attribute__((visibility("default")))
16 # endif
17 # endif
18 
19 # ifndef MITKCORE_NO_EXPORT
20 # define MITKCORE_NO_EXPORT __attribute__((visibility("hidden")))
21 # endif
22 #endif
23 
24 #ifndef MITKCORE_DEPRECATED
25 # define MITKCORE_DEPRECATED __attribute__ ((__deprecated__))
26 #endif
27 
28 #ifndef MITKCORE_DEPRECATED_EXPORT
29 # define MITKCORE_DEPRECATED_EXPORT MITKCORE_EXPORT MITKCORE_DEPRECATED
30 #endif
31 
32 #ifndef MITKCORE_DEPRECATED_NO_EXPORT
33 # define MITKCORE_DEPRECATED_NO_EXPORT MITKCORE_NO_EXPORT MITKCORE_DEPRECATED
34 #endif
35 
36 #if 0 /* DEFINE_NO_DEPRECATED */
37 # ifndef MITKCORE_NO_DEPRECATED
38 # define MITKCORE_NO_DEPRECATED
39 # endif
40 #endif
41 
42 #endif /* MITKCORE_EXPORT_H */