SHZ_COUNT_OF
#define SHZ_COUNT_OF(array) (sizeof(array) / sizeof((array)[0]))Returns the number of elements within a statically sized array.
Parameters
Section titled “Parameters”| Name | Type | Description |
|---|---|---|
array |
Availability
Section titled “Availability”- C++ equivalent: none (usable from C++ as is)
- Back-ends: n/a (not a function)
- Defined in:
sh4zam/shz_cdefs.h:133 - Module: Compiler Definitions, section "Utilities"