|
Value to string definitions |
Make value to string.
- Parameters:
-
TYP | type of value. |
CAPACITY | string size. |
|
#define | DEF_VALUE_TO_STRING(TYP, CAPACITY) |
| DEF_VALUE_TO_STRING (char, 6) |
| DEF_VALUE_TO_STRING (u_char, 6) |
| DEF_VALUE_TO_STRING (int, 12) |
| DEF_VALUE_TO_STRING (u_int, 12) |
| DEF_VALUE_TO_STRING (short, 8) |
| DEF_VALUE_TO_STRING (u_short, 8) |
| DEF_VALUE_TO_STRING (long, 12) |
| DEF_VALUE_TO_STRING (u_long, 12) |
| DEF_VALUE_TO_STRING (float, 24) |
| DEF_VALUE_TO_STRING (double, 24) |
| DEF_VALUE_TO_STRING (_ccunit_str_t, 32) |
| DEF_VALUE_TO_STRING (_ccunit_ptr_t, 24) |
ccunit_assert_format_TYPE |
snprintf format string for each types.
|
const char * | _ccunit_assert_format_char = "%c" |
const char * | _ccunit_assert_format_u_char = "%c" |
const char * | _ccunit_assert_format_int = "%d" |
const char * | _ccunit_assert_format_u_int = "%u" |
const char * | _ccunit_assert_format_short = "%hd" |
const char * | _ccunit_assert_format_u_short = "%hu" |
const char * | _ccunit_assert_format_long = "%ld" |
const char * | _ccunit_assert_format_u_long = "%lu" |
const char * | _ccunit_assert_format_float = "%f" |
const char * | _ccunit_assert_format_double = "%f" |
const char * | _ccunit_assert_format__ccunit_str_t = "%s" |
const char * | _ccunit_assert_format__ccunit_ptr_t = "%p" |