Added helper functions for int8_t to tock_support.h (Rain needs these)

This commit is contained in:
Neil Brown 2008-03-23 12:18:18 +00:00
parent 74a5cf52a7
commit 887a3ba98d

View File

@ -240,6 +240,9 @@ static inline uint8_t occam_rem_uint8_t (uint8_t a, uint8_t b, const char *pos)
// we don't define negate for unsigned types
//}}}
//{{{ int8_t
MAKE_ALL_SIGNED(int8_t, "%d", uint8_t)
//}}}
//{{{ int16_t
MAKE_ALL_SIGNED(int16_t, "%d", uint16_t)