mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-23 00:14:22 +00:00
Rename _countof to sizeOfArray (#921)
This commit is contained in:

committed by
GitHub

parent
95ed90aacb
commit
e32e06321a
@@ -13,8 +13,8 @@
|
||||
#define DECOMP_SIZE_ASSERT(T, S)
|
||||
#endif
|
||||
|
||||
#ifndef _countof
|
||||
#define _countof(arr) (sizeof(arr) / sizeof(arr[0]))
|
||||
#ifndef sizeOfArray
|
||||
#define sizeOfArray(arr) (sizeof(arr) / sizeof(arr[0]))
|
||||
#endif
|
||||
|
||||
typedef unsigned char undefined;
|
||||
|
Reference in New Issue
Block a user