aboutsummaryrefslogtreecommitdiffstats
path: root/util.h
diff options
context:
space:
mode:
authorSam Anthony <sam@samanthony.xyz>2025-04-25 21:43:13 -0400
committerSam Anthony <sam@samanthony.xyz>2025-04-25 21:43:13 -0400
commit546e29a6f439146338f320240cab9b3b760eecb7 (patch)
tree7b2954c23f8b49beeeb60f5f12f6a621f52d5b5d /util.h
parentca9f301b9467e8fb280fdf11312d168f953c9a84 (diff)
downloadvolute-546e29a6f439146338f320240cab9b3b760eecb7.zip
load compressor map descriptions from toml files
Diffstat (limited to 'util.h')
-rw-r--r--util.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/util.h b/util.h
index 2752bd4..0a48edd 100644
--- a/util.h
+++ b/util.h
@@ -1 +1,3 @@
#define nelem(arr) (sizeof(arr)/sizeof(arr[0]))
+#define min(a, b) ((a < b) ? a : b)
+#define max(a, b) ((a > b) ? a : b)