libRoadRunner Plugin C API  1.0.0
Plugin Framework for libRoadRunner
 All Data Structures Files Functions Variables Typedefs Groups Pages
rrp_settings.h
1 #ifndef rrpSettingsH
2 #define rrpSettingsH
3 
4 //C function calling convention
5 #if defined(_MSC_VER) || defined(__CODEGEARC__)
6  #define rrp_cc __cdecl
7  #define event_cc __cdecl //For plugin event functions
8 #else
9  #define rrp_cc
10  #define event_cc
11 #endif
12 
13 #if !defined(__cplusplus)
14  #if !defined(_MSC_VER)
15  #include "stdbool.h"
16  #else //VS don't have stdbool.h
17 
20  typedef int bool;
21  #define false 0
22  #define true 1
23  #endif
24 #endif
25 
26 #endif