ucx/cx/common.h

changeset 23
b26390e77237
parent 22
112b85020dc9
equal deleted inserted replaced
22:112b85020dc9 23:b26390e77237
78 78
79 #ifndef UCX_COMMON_H 79 #ifndef UCX_COMMON_H
80 #define UCX_COMMON_H 80 #define UCX_COMMON_H
81 81
82 /** Major UCX version as integer constant. */ 82 /** Major UCX version as integer constant. */
83 #define UCX_VERSION_MAJOR 3 83 #define UCX_VERSION_MAJOR 4
84 84
85 /** Minor UCX version as integer constant. */ 85 /** Minor UCX version as integer constant. */
86 #define UCX_VERSION_MINOR 1 86 #define UCX_VERSION_MINOR 0
87 87
88 /** Version constant which ensures to increase monotonically. */ 88 /** Version constant which ensures to increase monotonically. */
89 #define UCX_VERSION (((UCX_VERSION_MAJOR)<<16)|UCX_VERSION_MINOR) 89 #define UCX_VERSION (((UCX_VERSION_MAJOR)<<16)|UCX_VERSION_MINOR)
90 90
91 // --------------------------------------------------------------------------- 91 // ---------------------------------------------------------------------------
282 /** 282 /**
283 * Declares a function to be inlined. 283 * Declares a function to be inlined.
284 */ 284 */
285 #define CX_INLINE __attribute__((always_inline)) static inline 285 #define CX_INLINE __attribute__((always_inline)) static inline
286 #else 286 #else
287 /**
288 * Declares a function to be inlined.
289 */
287 #define CX_INLINE static inline 290 #define CX_INLINE static inline
288 #endif 291 #endif
289 /** 292 /**
290 * Declares a compatibility function for C++ builds. 293 * Declares a compatibility function for C++ builds.
291 */ 294 */

mercurial