61 #ifdef __cplusplus |
61 #ifdef __cplusplus |
62 #ifndef _Bool |
62 #ifndef _Bool |
63 #define _Bool bool |
63 #define _Bool bool |
64 #define restrict |
64 #define restrict |
65 #endif |
65 #endif |
|
66 /** Use C naming even when compiling with C++. */ |
66 #define UCX_EXTERN extern "C" |
67 #define UCX_EXTERN extern "C" |
67 extern "C" { |
68 extern "C" { |
68 #else |
69 #else |
|
70 /** Pointless in C. */ |
69 #define UCX_EXTERN |
71 #define UCX_EXTERN |
70 #endif |
72 #endif |
71 |
73 |
72 /** |
74 /** |
73 * Function pointer to a compare function. |
75 * Function pointer to a compare function. |