Commit 2acc8df9 authored by Lefebvre, Jordan P's avatar Lefebvre, Jordan P

Merge branch 'radix_newline' into 'master'

Adding radix_newline method to radixbug

See merge request !63
parents 87b3af93 58e48b9d
Pipeline #29190 passed with stages
in 15 minutes and 7 seconds
......@@ -21,10 +21,14 @@
* Available MACROs:
* radix(arg) - std::cerr << arg - Pushes content to stderr
* radix_line(arg) - std::cerr << arg << std::endl - Push newline terminated
* content to stderr radix(arg) - std::cerr << arg - Pushes content to stderr
* content to stderr
* radix_eol() - std::cerr << std::endl - Push newline to stderr
* radix(arg) - std::cerr << arg - Pushes content to stderr
* radix_warning(arg) - std::cerr << arg << std::endl - Push newline terminated
* content to stderr radix_tagged_line(arg) - Same as radixLine, prefixed with
* FILE and LINE radix_tagged(arg) - Same as radix, prefixed with FILE and LINE
* content to stderr
* radix_tagged_line(arg) - Same as radixLine, prefixed with
* FILE and LINE
* radix_tagged(arg) - Same as radix, prefixed with FILE and LINE
* radix_tagged_warning(arg) - Same as radixWarning, prefixed with FILE and Line
* radix_block(block) - block - Simply places code block in preprocessor
*/
......@@ -36,6 +40,7 @@
#endif
#define radix_define_stream
#define radix_line(arg) radix_stream << arg << std::endl
#define radix_eol() radix_stream << std::endl
#define radix_flush_line(arg) \
radix_stream << arg << std::endl; \
fflush(stderr)
......@@ -63,6 +68,7 @@
#else
#define radix(arg)
#define radix_line(arg)
#define radix_eol()
#define radix_flush_line(arg)
#define radix_warning(arg)
#define radix_flush_warning(arg)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment