Tellurium Plugin C API  1.0.0
Plugin Framework for Tellurium
 All Data Structures Files Functions Variables Typedefs Enumerations Macros Groups Pages
telplugins_settings.h
1 #ifndef telplugins_settingsH
2 #define telplugins_settingsH
3 
4 //C function calling conventions
5 #if defined(_MSC_VER)
6  #define tlp_cc __cdecl
7  #define event_cc __cdecl
8 #elif defined(__BORLANDC__)
9  #define tlp_cc __cdecl
10  #define event_cc __cdecl
11 #else
12  #define tlp_cc
13 #endif
14 
15 #if !defined(__cplusplus)
16  #if !defined(_MSC_VER)
17  #include "stdbool.h"
18  #else //VS don't have stdbool.h
19 
22  typedef int bool;
23  #define false 0
24  #define true 1
25  #endif
26 #endif
27 
28 #endif