gwion-util
utilities for the Gwion project
Loading...
Searching...
No Matches
Macros
err_msg.h File Reference

thread-safe console output More...

#include <stdarg.h>
#include "termcolor.h"

Go to the source code of this file.

Macros

#define gw_err(...)   tcol_fprintf(stderr, __VA_ARGS__)
 similar to fprintf(stderr, fmt, ...)
 
#define gw_out(...)   tcol_fprintf(stdout, __VA_ARGS__)
 similar to fprintf(stdout, fmt, ...)
 

Detailed Description

thread-safe console output

Definition in file err_msg.h.

Macro Definition Documentation

◆ gw_err

#define gw_err ( ...)    tcol_fprintf(stderr, __VA_ARGS__)

similar to fprintf(stderr, fmt, ...)

Definition at line 11 of file err_msg.h.

◆ gw_out

#define gw_out ( ...)    tcol_fprintf(stdout, __VA_ARGS__)

similar to fprintf(stdout, fmt, ...)

Definition at line 13 of file err_msg.h.