nsol  0.4.1
Nsol - Neuroscience Objects Library
api.h
Go to the documentation of this file.
1 // generated by CommonLibrary.cmake, do not edit.
2 
8 #ifndef NSOL_API_H
9 #define NSOL_API_H
10 
11 #include <nsol/defines.h>
12 
13 #if defined(_MSC_VER) || defined(__declspec)
14 # define NSOL_DLLEXPORT __declspec(dllexport)
15 # define NSOL_DLLIMPORT __declspec(dllimport)
16 #else // _MSC_VER
17 # define NSOL_DLLEXPORT
18 # define NSOL_DLLIMPORT
19 #endif // _MSC_VER
20 
21 #if defined(NSOL_STATIC)
22 # define NSOL_API
23 #elif defined(NSOL_SHARED)
24 # define NSOL_API NSOL_DLLEXPORT
25 #else
26 # define NSOL_API NSOL_DLLIMPORT
27 #endif
28 
29 #if defined(NSOL_SHARED_INL)
30 # define NSOL_INL NSOL_DLLEXPORT
31 #else
32 # define NSOL_INL NSOL_DLLIMPORT
33 #endif
34 
35 #endif
Includes compile-time defines of nsol.