Skip to content

SHZ_COUNT_OF

Markdown
#define SHZ_COUNT_OF(array) (sizeof(array) / sizeof((array)[0]))

Returns the number of elements within a statically sized array.

NameTypeDescription
array