Dripline-Cpp
v2.4.2
Dripline Implementation in C++
library
dripline_api.hh
Go to the documentation of this file.
1
/*
2
* mantis_api.hh
3
*
4
* Created on: Jan 1, 2016
5
* Author: nsoblath
6
*
7
* This file contains the macros that allow Dripline to be compiled into a Windows DLL.
8
* This does not define the actual API for the Dripline library, or anything like that.
9
*/
10
11
#ifndef DRIPLINE_API_HH_
12
#define DRIPLINE_API_HH_
13
14
#include "scarab_api.hh"
15
16
namespace
dripline
17
{
18
// API export macros for windows
19
#ifdef _WIN32
20
# ifdef DRIPLINE_API_EXPORTS
21
# define DRIPLINE_API __declspec(dllexport)
22
# define DRIPLINE_EXPIMP_TEMPLATE
23
# else
24
# define DRIPLINE_API __declspec(dllimport)
25
# define DRIPLINE_EXPIMP_TEMPLATE extern
26
# endif
27
28
# ifdef DRIPLINE_EXAMPLES_API_EXPORTS
29
# define DRIPLINE_EXAMPLES_API __declspec(dllexport)
30
# else
31
# define DRIPLINE_EXAMPLES_API __declspec(dllimport)
32
# endif
33
#else
34
# define DRIPLINE_API
35
# define DRIPLINE_EXAMPLES_API
36
#endif
37
38
}
39
40
#endif
/* DRIPLINE_API_HH_ */
dripline
Definition:
agent.cc:39
Generated by
1.8.13