summaryrefslogtreecommitdiffstats
path: root/source/macros.h
diff options
context:
space:
mode:
authorLibravatar bigfoot547 <[email protected]>2026-06-28 01:27:46 -0500
committerLibravatar bigfoot547 <[email protected]>2026-06-28 01:27:46 -0500
commitbc8d6da2c1cb659b406cbd59b7eac80bba51033f (patch)
treedd6605c84129ed43c528eb4a98ccfc0f653987cf /source/macros.h
parentinitial commit (diff)
add new testsHEADmaster
Diffstat (limited to 'source/macros.h')
-rw-r--r--source/macros.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/macros.h b/source/macros.h
index d2231ff..9a9db83 100644
--- a/source/macros.h
+++ b/source/macros.h
@@ -9,4 +9,6 @@
#define COMMA ,
+#define ARRLEN(_a) sizeof(_a) / sizeof(*(_a))
+
#endif /* include guard */