Thread Previous • Date Previous • Date Next • Thread Next |
For the number of elements in an array, you can use: ./include/macros.h:#define DIM( x ) unsigned( sizeof(x) / sizeof( (x)[0] ) ) which is more consistent in the KiCad source code. Best Regards, Brian.
Thread Previous • Date Previous • Date Next • Thread Next |