summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPikalaxALT <pikalaxalt@gmail.com>2020-06-14 21:18:07 -0400
committerPikalaxALT <pikalaxalt@gmail.com>2020-06-14 21:18:07 -0400
commit62e926d5217f1f4cd8efd610e7d38374535836e1 (patch)
tree4c75cbe68c95e1973c6dfa47c417165097479a92 /include
parent670efff0ec376f9445d9cf552f6b51465b56ac06 (diff)
through FUN_0206A998
Diffstat (limited to 'include')
-rw-r--r--include/global.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/global.h b/include/global.h
index 35d0c3aa..67744d42 100644
--- a/include/global.h
+++ b/include/global.h
@@ -5,6 +5,8 @@
#include "function_target.h"
#include "nitro.h"
+#define NELEMS(a) (sizeof(a) / sizeof(*(a)))
+
enum GameVersion {
VERSION_SAPPHIRE = 1,
VERSION_RUBY = 2,