QH_ARRAY_LENGTH

Updated: October 28, 2024

Convenience macro that determines the length (number of elements) of an array.

Definitions:

#define QH_ARRAY_LENGTH(__arr) (sizeof(__arr) / sizeof((__arr)[0]))