API  0.0.2
Défini un objet Vector et les accès à l’interface wxWidgets.
Dll.h
Aller à la documentation de ce fichier.
1 
8 #ifndef API_DLL_H
9 #define API_DLL_H
10 
11  #if defined(_WIN32) || defined(__WIN32__) || defined(WIN32)
12 
13  #ifndef _BUILD_STATIC_LIB
14  #ifdef _BUILD_DLL
15  #define M_DLL_EXPORT __declspec(dllexport)
16  #else
17  #define M_DLL_EXPORT __declspec(dllimport)
18  #endif
19  #else
20  #define M_DLL_EXPORT
21  #endif
22 
23  #else // linux && darwin
24 
25  #ifndef _BUILD_STATIC_LIB
26  #ifdef _BUILD_DLL
27  #define M_DLL_EXPORT __attribute__((__visibility__("default")))
28  #else
29  #define M_DLL_EXPORT
30  #endif
31  #else
32  #define M_DLL_EXPORT
33  #endif
34 
35  #endif
36 
37 #endif // API_DLL_H