diff options
| author | Louis Burda <quent.burda@gmail.com> | 2022-02-27 13:59:28 +0100 |
|---|---|---|
| committer | Louis Burda <quent.burda@gmail.com> | 2022-02-27 13:59:28 +0100 |
| commit | 66dd37c0018bd958ea1a644e3552bce66b13f658 (patch) | |
| tree | a55e352da7926abc235a1e1c040f64f2c5a4c388 /src/util.h | |
| parent | 5d8e3d19823a3c193b0ad4e8d8fd3ccdf8f77c80 (diff) | |
| download | tmus-66dd37c0018bd958ea1a644e3552bce66b13f658.tar.gz tmus-66dd37c0018bd958ea1a644e3552bce66b13f658.zip | |
Switch from mostly ref based tracking to multi-link architecture
Diffstat (limited to 'src/util.h')
| -rw-r--r-- | src/util.h | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -11,8 +11,7 @@ #define OOM_CHECK(x) assert((x) != NULL, __FILE__, __LINE__, "Out of Memory!") #define ERROR(...) error("" __VA_ARGS__) -#define LINK(p) (&(p)->link) -#define UPCAST(iter, type) LINK_UPCAST(iter, type, link) +#define UPCAST(iter, type, link) LINK_UPCAST(iter, type, link) void panic(const char *file, int line, const char *msg, ...); void assert(int cond, const char *file, int line, const char *condstr); |
