Scarab  v2.2.1
Project 8 C++ Utility Library
scarab_api.hh
Go to the documentation of this file.
1 /*
2  * scarab_api.hh
3  *
4  * Created on: Jan 1, 2016
5  * Author: nsoblath
6  */
7 
8 #ifndef SCARAB_API_HH_
9 #define SCARAB_API_HH_
10 
11 
12 namespace scarab
13 {
14  // API export macros for windows
15 #ifdef _WIN32
16 # ifdef SCARAB_API_EXPORTS
17 # define SCARAB_API __declspec(dllexport)
18 # define SCARAB_EXPIMP_TEMPLATE
19 # else
20 # define SCARAB_API __declspec(dllimport)
21 # define SCARAB_EXPIMP_TEMPLATE extern
22 # endif
23 #else
24 # define SCARAB_API
25 #endif
26 
27 }
28 
29 #endif /* SCARAB_API_HH_ */