2 \brief Macros for printing unicode to streams
3 \details Standardized method of handling unicodes in warnings, and errors
6 ----------------------------------------------------------------------------*/
14 #define uprintf(...) do { \
15 ulc_fprintf(stdout, __VA_ARGS__); \
17 #define ufprintf(_STREAM,...) do { \
18 ulc_fprintf(_STREAM, __VA_ARGS__); \
20 #define do_warn(...) do { \
22 #define wprintf(...) do { \
23 ufprintf(stderr, __VA_ARGS__); \
24 do_warn(__VA_ARGS__); \
26 #define do_error(...) do { \
28 #define eprintf(...) do { \
29 ufprintf(stderr, __VA_ARGS__); \
30 do_error(__VA_ARGS_); \
32 #define bprintf(_BOOL,...) do { \
34 ufprintf(stdout, __VA_ARGS__); \
36 #define dprintf(...) do { \
37 bprintf(DEBUG, __VA_ARGS__); \