Lines Matching defs:STATIC_ASSERT
106 * If this does not work properly on your compiler, use #define STATIC_ASSERT
112 * in the place where the STATIC_ASSERT macro was called.
114 #ifndef STATIC_ASSERT
115 #define STATIC_ASSERT(COND,MSG) typedef char STATIC_ASSERT_MSG(MSG, __LINE__, __COUNTER__)[(COND)?1:-1];
231 STATIC_ASSERT(sizeof(int8_t) == 1, INT8_T_WRONG_SIZE)
232 STATIC_ASSERT(sizeof(uint8_t) == 1, UINT8_T_WRONG_SIZE)
233 STATIC_ASSERT(sizeof(int16_t) == 2, INT16_T_WRONG_SIZE)
234 STATIC_ASSERT(sizeof(uint16_t) == 2, UINT16_T_WRONG_SIZE)
235 STATIC_ASSERT(sizeof(int32_t) == 4, INT32_T_WRONG_SIZE)
236 STATIC_ASSERT(sizeof(uint32_t) == 4, UINT32_T_WRONG_SIZE)
237 STATIC_ASSERT(sizeof(int64_t) == 8, INT64_T_WRONG_SIZE)
238 STATIC_ASSERT(sizeof(uint64_t) == 8, UINT64_T_WRONG_SIZE)