73:f15c7d6aebb9 | 74:dc8bade7f2a3 |
---|---|
10 | 10 |
11 #include "ucx.h" | 11 #include "ucx.h" |
12 #include <stddef.h> | 12 #include <stddef.h> |
13 | 13 |
14 /* use macros for literals only */ | 14 /* use macros for literals only */ |
15 #define S(s) { s, sizeof(s)-1 } | 15 #define S(s) { (char*)s, sizeof(s)-1 } |
16 #define ST(s) sstrn(s, sizeof(s)-1) | 16 #define ST(s) sstrn((char*)s, sizeof(s)-1) |
17 | 17 |
18 #ifdef __cplusplus | 18 #ifdef __cplusplus |
19 extern "C" { | 19 extern "C" { |
20 #endif | 20 #endif |
21 | 21 |