#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <stdarg.h>
#include <iostream>
#include <stdexcept>
Go to the source code of this file.
◆ cytnx_error_msg
| #define cytnx_error_msg |
( |
|
is_true, |
|
|
|
format, |
|
|
|
... |
|
) |
| |
Value: { \
if (is_true) \
error_msg(__PRETTY_FUNCTION__, __FILE__, __LINE__, (is_true), (format), __VA_ARGS__); \
}
◆ cytnx_warning_msg
| #define cytnx_warning_msg |
( |
|
is_true, |
|
|
|
format, |
|
|
|
... |
|
) |
| |
Value: { \
if (is_true) \
warning_msg(__PRETTY_FUNCTION__, __FILE__, __LINE__, (is_true), (format), __VA_ARGS__); \
}