diff options
| author | 2022-08-16 05:28:18 +0200 | |
|---|---|---|
| committer | 2022-08-16 05:28:18 +0200 | |
| commit | 73f68a9c5ed4c8139cc1c4f7695da29e5a3fb4c8 (patch) | |
| tree | b2cebcf1f6b6073eeeb0595710d6fdf05fcb06fb /src/common.hff | |
| parent | b3159bfd93c8bdce71f7437abdc521b5ccb72367 (diff) | |
stuff
Diffstat (limited to 'src/common.hff')
| -rw-r--r-- | src/common.hff | 2 |
1 files changed, 2 insertions, 0 deletions
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) |