rec::robotino::api2 C interface
globals.h
1 // Copyright (C) 2004-2008, Robotics Equipment Corporation GmbH
2 
3 #ifndef _REC_ROBOTINO_API2_C_GLOBALS_H_
4 #define _REC_ROBOTINO_API2_C_GLOBALS_H_
5 
6 typedef int BOOL;
7 
8 #ifndef TRUE
9 #define TRUE 1
10 #endif
11 
12 #ifndef FALSE
13 #define FALSE 0
14 #endif
15 
16 #ifndef NULL
17 #define NULL 0
18 #endif
19 
20 #if defined WIN32 || defined _WIN32
21  #ifdef __cplusplus
22  #define DLLEXPORT extern "C" __declspec(dllexport)
23  #else
24  #define DLLEXPORT __declspec(dllexport)
25  #endif
26 #else
27  #ifdef __cplusplus
28  #define DLLEXPORT extern "C" __attribute__ ((visibility ("default")))
29  #else
30  #define DLLEXPORT __attribute__ ((visibility ("default")))
31  #endif
32 #endif
33 
34 #endif //_REC_ROBOTINO_API2_C_GLOBALS_H_
35