Domotique/WifiControlSensor/utils.h
2016-09-20 18:28:32 +02:00

7 lines
121 B
C

#pragma once
#define NB_ELEMENTS(x) (sizeof(x)/ sizeof(x[0]))
#define STRINGIFY(x) #x
#define TOSTRING(x) STRINGIFY(x)