Move ARR_LEN macro to misc_utils

This commit is contained in:
abdelrahman committed 2024-06-22 20:41:23 +01:00
1 parent 9f4137dac9
commit 5908cf3063
3 files changed
+27 -5

No files matched your search

+6
View File
@@ -0,0 +1,6 @@
#ifndef MISC_UTILS_H
#define MISC_UTILS_H
#define ARR_LEN(ARR) sizeof(ARR) / sizeof(ARR[0])
#endif // !MISC_UTILS_H