aboutsummaryrefslogtreecommitdiff
path: root/src/utils.h
diff options
context:
space:
mode:
authorLibravatar Martin Michalec <martin@michalec.dev>2026-11-07 05:06:01 +0000
committerLibravatar Martin Michalec <martin@michalec.dev>2026-11-07 05:38:49 +0000
commit04f8b646c1c8a2435931bea9d1acffdde138f81e (patch)
tree892354a7b485c3ac53e51a7d3e3388254ac877b7 /src/utils.h
downloadcoursework-04f8b646c1c8a2435931bea9d1acffdde138f81e.tar.gz
publishHEADmaster
Diffstat (limited to 'src/utils.h')
-rw-r--r--src/utils.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/utils.h b/src/utils.h
new file mode 100644
index 0000000..d9ae7dc
--- /dev/null
+++ b/src/utils.h
@@ -0,0 +1,14 @@
1#ifndef INCLUDED_UTILS_H
2#define INCLUDED_UTILS_H
3
4#include <assert.h>
5#include <stdlib.h>
6
7#define MALLOC malloc
8#define REALLOC realloc
9#define FREE free
10#define ASSERT assert
11
12#define PRINT_EXP(EXP, FMT) printf (#EXP" = "FMT"\n", EXP)
13
14#endif