Move ARR_LEN macro to misc_utils
This commit is contained in:
1 parent
9f4137dac9
commit
5908cf3063
3 files changed
+27
-5
No files matched your search
@@ -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
|
||||
Reference in new issue
Block a user