MCU-Common
Modules useful for embedded (MCU) programming
macros.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define VA_ARGC_IMPL(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, n, ...)   n
 
#define VA_ARGC(...)
 Number of arguments for variadic macros (works for up to 16 arguments) More...
 
#define ARRAY_SIZE(x)   (sizeof(x)/sizeof(*(x)))
 Size of an array. More...
 

Macro Definition Documentation

◆ VA_ARGC_IMPL

#define VA_ARGC_IMPL (   a1,
  a2,
  a3,
  a4,
  a5,
  a6,
  a7,
  a8,
  a9,
  a10,
  a11,
  a12,
  a13,
  a14,
  a15,
  a16,
  n,
  ... 
)    n