#include #define JNHW_Integer_Test( datatype ) \ datatype jnhw_ ## datatype ## _mem; \ datatype jnhw_ ## datatype ## _get() { return jnhw_ ## datatype ## _mem; } JNHW_Integer_Test( uint8_t ) JNHW_Integer_Test( int8_t ) JNHW_Integer_Test( uint16_t ) JNHW_Integer_Test( int16_t ) JNHW_Integer_Test( uint32_t ) JNHW_Integer_Test( int32_t ) JNHW_Integer_Test( uint64_t ) JNHW_Integer_Test( int64_t )