summaryrefslogtreecommitdiff
path: root/include/global.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/global.h')
-rw-r--r--include/global.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/global.h b/include/global.h
index 1dae2f75f..5b07796cc 100644
--- a/include/global.h
+++ b/include/global.h
@@ -28,6 +28,8 @@
#endif // __APPLE__
#define ARRAY_COUNT(array) (sizeof(array) / sizeof((array)[0]))
+// GF's lingo
+#define NELEMS ARRAY_COUNT
// useful math macros