#ifndef SCPI_TOOLS_H #define SCPI_TOOLS_H #ifndef cellsof #define cellsof(a) (sizeof(a)/sizeof(a[0])) #endif #endif