Orocos Real-Time Toolkit
2.9.0
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
rtt
scripting
rtt-scripting-config.h
Go to the documentation of this file.
1
#ifndef RTT_SCRIPTING_CONFIG_H
2
#define RTT_SCRIPTING_CONFIG_H
3
4
#include "../rtt-config.h"
5
6
//
7
// See: <http://gcc.gnu.org/wiki/Visibility>
8
//
9
#define RTT_GCC_HASVISIBILITY
10
#if defined(__GNUG__) && defined(RTT_GCC_HASVISIBILITY) && (defined(__unix__) || defined(__APPLE__))
11
12
# if defined(RTT_SCRIPTING_DLL_EXPORT)
13
// Use RTT_SCRIPTING_API for normal function exporting
14
# define RTT_SCRIPTING_API __attribute__((visibility("default")))
15
16
// Use RTT_SCRIPTING_EXPORT for static template class member variables
17
// They must always be 'globally' visible.
18
# define RTT_SCRIPTING_EXPORT __attribute__((visibility("default")))
19
20
// Use RTT_SCRIPTING_HIDE to explicitly hide a symbol
21
# define RTT_SCRIPTING_HIDE __attribute__((visibility("hidden")))
22
23
# else
24
# define RTT_SCRIPTING_API
25
# define RTT_SCRIPTING_EXPORT __attribute__((visibility("default")))
26
# define RTT_SCRIPTING_HIDE __attribute__((visibility("hidden")))
27
# endif
28
#else
29
// NOT GNU
30
# if defined( __MINGW__ ) || defined( WIN32 )
31
# if defined(RTT_SCRIPTING_DLL_EXPORT)
32
# define RTT_SCRIPTING_API __declspec(dllexport)
33
# define RTT_SCRIPTING_EXPORT __declspec(dllexport)
34
# define RTT_SCRIPTING_HIDE
35
# else
36
# define RTT_SCRIPTING_API __declspec(dllimport)
37
# define RTT_SCRIPTING_EXPORT __declspec(dllexport)
38
# define RTT_SCRIPTING_HIDE
39
# endif
40
# else
41
# define RTT_SCRIPTING_API
42
# define RTT_SCRIPTING_EXPORT
43
# define RTT_SCRIPTING_HIDE
44
# endif
45
#endif
46
47
#endif
48
Generated on Fri Apr 5 2019 11:59:34 for Orocos Real-Time Toolkit by
1.8.11