diff options
| author | ame <[email protected]> | 2024-02-22 10:17:40 -0600 |
|---|---|---|
| committer | ame <[email protected]> | 2024-02-22 10:17:40 -0600 |
| commit | 867a86a9ab31c0652a46759443fc98a49f91c8dd (patch) | |
| tree | f252e0c821a3c2cce56dd3180ea1c70fccd48d5a /src/util.h | |
| parent | 83f9dca38af329d214c7d6dd2819ec2c6621d679 (diff) | |
cleaning and switch to parray_t
Diffstat (limited to 'src/util.h')
| -rw-r--r-- | src/util.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/src/util.h b/src/util.h new file mode 100644 index 0000000..9a5b295 --- /dev/null +++ b/src/util.h @@ -0,0 +1,22 @@ +#define color_black "\e[30m" +#define color_red "\e[31m" +#define color_green "\e[32m" +#define color_yellow "\e[33m" +#define color_blue "\e[34m" +#define color_magenta "\e[35m" +#define color_cyan "\e[36m" +#define color_lgray "\e[37m" +#define color_gray "\e[90m" +#define color_lred "\e[91m" +#define color_lgreen "\e[92m" +#define color_lyellow "\e[93m" +#define color_lblue "\e[94m" +#define color_lmagenta "\e[95m" +#define color_lcyan "\e[96m" +#define color_white "\e[97m" +#define color_reset "\e[0m" + +#define i_swap(A,B) double temp = A; A = B; B = temp; + +void p_fatal(const char*); +void p_error(const char*); |
