|
PER Firmware
|
macro-based countof implementation More...
Go to the source code of this file.
Macros | |
| #define | _COUNTOF_IS_ARRAY(x) |
| #define | countof(array) |
macro-based countof implementation
Helper macro to count the number of elements in an array. Passing a pointer is rejected at compile time.
| #define _COUNTOF_IS_ARRAY | ( | x | ) |
| #define countof | ( | array | ) |