252:6342cbbd1922 | 253:e19825a1430a |
---|---|
38 | 38 |
39 /** Major UCX version as integer constant. */ | 39 /** Major UCX version as integer constant. */ |
40 #define UCX_VERSION_MAJOR 0 | 40 #define UCX_VERSION_MAJOR 0 |
41 | 41 |
42 /** Minor UCX version as integer constant. */ | 42 /** Minor UCX version as integer constant. */ |
43 #define UCX_VERSION_MINOR 13 | 43 #define UCX_VERSION_MINOR 14 |
44 | 44 |
45 #include <stdlib.h> | 45 #include <stdlib.h> |
46 #include <stdint.h> | 46 #include <stdint.h> |
47 | 47 |
48 #ifdef _WIN32 | 48 #ifdef _WIN32 |
55 #else /* !_WIN32 */ | 55 #else /* !_WIN32 */ |
56 #include <sys/types.h> | 56 #include <sys/types.h> |
57 #endif /* _WIN32 */ | 57 #endif /* _WIN32 */ |
58 | 58 |
59 #ifdef __cplusplus | 59 #ifdef __cplusplus |
60 #ifndef _Bool | |
61 #define _Bool bool | |
62 #define restrict | |
63 #endif | |
64 /** Use C naming even when compiling with C++. */ | |
65 #define UCX_EXTERN extern "C" | |
66 extern "C" { | 60 extern "C" { |
67 #else | |
68 /** Pointless in C. */ | |
69 #define UCX_EXTERN | |
70 #endif | 61 #endif |
71 | 62 |
72 | 63 |
73 /** | 64 /** |
74 * A function pointer to a destructor function. | 65 * A function pointer to a destructor function. |