From 66dd37c0018bd958ea1a644e3552bce66b13f658 Mon Sep 17 00:00:00 2001 From: Louis Burda Date: Sun, 27 Feb 2022 13:59:28 +0100 Subject: Switch from mostly ref based tracking to multi-link architecture --- src/util.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/util.h') diff --git a/src/util.h b/src/util.h index 42b413f..1d220dc 100644 --- a/src/util.h +++ b/src/util.h @@ -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); -- cgit v1.2.3-71-gd317