38:b855f76e965b | 39:3e55bed345f9 |
---|---|
34 * @author Mike Becker | 34 * @author Mike Becker |
35 * @author Olaf Wintermann | 35 * @author Olaf Wintermann |
36 */ | 36 */ |
37 | 37 |
38 #ifndef UCX_UTILS_H | 38 #ifndef UCX_UTILS_H |
39 #define UCX_UTILS_H | 39 #define UCX_UTILS_H |
40 | 40 |
41 #ifdef __cplusplus | 41 #ifdef __cplusplus |
42 extern "C" { | 42 extern "C" { |
43 #endif | 43 #endif |
44 | 44 |
45 #include "ucx.h" | 45 #include "ucx.h" |
46 #include "string.h" | 46 #include "string.h" |
240 * @see ucx_fprintf() | 240 * @see ucx_fprintf() |
241 */ | 241 */ |
242 #define ucx_bprintf(buffer, ...) ucx_fprintf((UcxBuffer*)buffer, \ | 242 #define ucx_bprintf(buffer, ...) ucx_fprintf((UcxBuffer*)buffer, \ |
243 (write_func)ucx_buffer_write, __VA_ARGS__) | 243 (write_func)ucx_buffer_write, __VA_ARGS__) |
244 | 244 |
245 #ifdef __cplusplus | 245 #ifdef __cplusplus |
246 } | 246 } |
247 #endif | 247 #endif |
248 | 248 |
249 #endif /* UCX_UTILS_H */ | 249 #endif /* UCX_UTILS_H */ |
250 | 250 |