g2o
Loading...
Searching...
No Matches
g2o
core
g2o_core_api.h
Go to the documentation of this file.
1
/***************************************************************************
2
* Description: import/export macros for creating DLLS with Microsoft
3
* compiler. Any exported function needs to be declared with the
4
* appropriate G2O_XXXX_API macro. Also, there must be separate macros
5
* for each DLL (arrrrrgh!!!)
6
*
7
* 17 Jan 2012
8
* Email: pupilli@cs.bris.ac.uk
9
****************************************************************************/
10
#ifndef G2O_CORE_API_H
11
#define G2O_CORE_API_H
12
13
#include "g2o/config.h"
14
15
#ifdef _MSC_VER
16
// We are using a Microsoft compiler:
17
#ifdef G2O_SHARED_LIBS
18
#ifdef core_EXPORTS
19
#define G2O_CORE_API __declspec(dllexport)
20
#else
21
#define G2O_CORE_API __declspec(dllimport)
22
#endif
23
#else
24
#define G2O_CORE_API
25
#endif
26
27
#else
28
// Not Microsoft compiler so set empty definition:
29
#define G2O_CORE_API
30
#endif
31
32
#endif
// G2O_CORE_API_H
Generated on Tue Nov 11 2025 05:18:45 for g2o by
1.9.8