From 73f68a9c5ed4c8139cc1c4f7695da29e5a3fb4c8 Mon Sep 17 00:00:00 2001 From: lemon Date: Tue, 16 Aug 2022 05:28:18 +0200 Subject: stuff --- src/common.hff | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/common.hff') diff --git a/src/common.hff b/src/common.hff index fe90e09..02859f8 100644 --- a/src/common.hff +++ b/src/common.hff @@ -40,6 +40,8 @@ defmacro with_tmpchange(var,x,...body) [ (var) = $tmp; } ] +defmacro MAX(a,b) [((a) > (b) ? (a) : (b))] + // Inline functions fn bswap32(x u32) u32 { return (x >> 24) -- cgit v1.2.3