|
clogger
Version 2.1.1
API Reference for clogger
|
clogger assertion module More...
Functions | |
| void | clog_assert (CLoggerBool condition, const char *location, const char *message,...) |
| Assertion function that terminates the program on failure. More... | |
| void | clog_assert_int8_eq (CLoggerInt8 expected, CLoggerInt8 actual, const char *location, const char *message,...) |
| Make an equality assertion of two 8-bit signed integers. More... | |
| void | clog_assert_int8_neq (CLoggerInt8 not_expected, CLoggerInt8 actual, const char *location, const char *message,...) |
| Make an inequality assertion of two 8-bit signed integers. More... | |
| void | clog_assert_int8_is_nullptr (const CLoggerInt8 *value_ptr, const char *location, const char *message,...) |
Assert if a pointer is NULL More... | |
| void | clog_assert_int8_is_not_nullptr (const CLoggerInt8 *value_ptr, const char *location, const char *message,...) |
Assert if a pointer is not NULL More... | |
| void | clog_assert_uint8_eq (CLoggerUInt8 expected, CLoggerUInt8 actual, const char *location, const char *message,...) |
| Make an equality assertion of two 8-bit unsigned integers. More... | |
| void | clog_assert_uint8_neq (CLoggerUInt8 not_expected, CLoggerUInt8 actual, const char *location, const char *message,...) |
| Make an inequality assertion of two 8-bit unsigned integers. More... | |
| void | clog_assert_uint8_is_nullptr (const CLoggerUInt8 *value_ptr, const char *location, const char *message,...) |
Assert if a pointer is NULL More... | |
| void | clog_assert_uint8_is_not_nullptr (const CLoggerUInt8 *value_ptr, const char *location, const char *message,...) |
Assert if a pointer is not NULL More... | |
| void | clog_assert_int16_eq (CLoggerInt16 expected, CLoggerInt16 actual, const char *location, const char *message,...) |
| Make an equality assertion of two 16-bit signed integers. More... | |
| void | clog_assert_int16_neq (CLoggerInt16 not_expected, CLoggerInt16 actual, const char *location, const char *message,...) |
| Make an inequality assertion of two 16-bit signed integers. More... | |
| void | clog_assert_int16_is_nullptr (const CLoggerInt16 *value_ptr, const char *location, const char *message,...) |
Assert if a pointer is NULL More... | |
| void | clog_assert_int16_is_not_nullptr (const CLoggerInt16 *value_ptr, const char *location, const char *message,...) |
Assert if a pointer is not NULL More... | |
| void | clog_assert_uint16_eq (CLoggerUInt16 expected, CLoggerUInt16 actual, const char *location, const char *message,...) |
| Make an equality assertion of two 16-bit unsigned integers. More... | |
| void | clog_assert_uint16_neq (CLoggerUInt16 not_expected, CLoggerUInt16 actual, const char *location, const char *message,...) |
| Make an inequality assertion of two 16-bit unsigned integers. More... | |
| void | clog_assert_uint16_is_nullptr (const CLoggerUInt16 *value_ptr, const char *location, const char *message,...) |
Assert if a pointer is NULL More... | |
| void | clog_assert_uint16_is_not_nullptr (const CLoggerUInt16 *value_ptr, const char *location, const char *message,...) |
Assert if a pointer is not NULL More... | |
| void | clog_assert_int32_eq (CLoggerInt32 expected, CLoggerInt32 actual, const char *location, const char *message,...) |
| Make an equality assertion of two 32-bit signed integers. More... | |
| void | clog_assert_int32_neq (CLoggerInt32 not_expected, CLoggerInt32 actual, const char *location, const char *message,...) |
| Make an inequality assertion of two 32-bit signed integers. More... | |
| void | clog_assert_int32_is_nullptr (const CLoggerInt32 *value_ptr, const char *location, const char *message,...) |
Assert if a pointer is NULL More... | |
| void | clog_assert_int32_is_not_nullptr (const CLoggerInt32 *value_ptr, const char *location, const char *message,...) |
Assert if a pointer is not NULL More... | |
| void | clog_assert_uint32_eq (CLoggerUInt32 expected, CLoggerUInt32 actual, const char *location, const char *message,...) |
| Make an equality assertion of two 32-bit unsigned integers. More... | |
| void | clog_assert_uint32_neq (CLoggerUInt32 not_expected, CLoggerUInt32 actual, const char *location, const char *message,...) |
| Make an inequality assertion of two 32-bit unsigned integers. More... | |
| void | clog_assert_uint32_is_nullptr (const CLoggerUInt32 *value_ptr, const char *location, const char *message,...) |
Assert if a pointer is NULL More... | |
| void | clog_assert_uint32_is_not_nullptr (const CLoggerUInt32 *value_ptr, const char *location, const char *message,...) |
Assert if a pointer is not NULL More... | |
| void | clog_assert_int64_eq (CLoggerInt64 expected, CLoggerInt64 actual, const char *location, const char *message,...) |
| Make an equality assertion of two 64-bit signed integers. More... | |
| void | clog_assert_int64_neq (CLoggerInt64 not_expected, CLoggerInt64 actual, const char *location, const char *message,...) |
| Make an inequality assertion of two 64-bit signed integers. More... | |
| void | clog_assert_int64_is_nullptr (const CLoggerInt64 *value_ptr, const char *location, const char *message,...) |
Assert if a pointer is NULL More... | |
| void | clog_assert_int64_is_not_nullptr (const CLoggerInt64 *value_ptr, const char *location, const char *message,...) |
Assert if a pointer is not NULL More... | |
| void | clog_assert_uint64_eq (CLoggerUInt64 expected, CLoggerUInt64 actual, const char *location, const char *message,...) |
| Make an equality assertion of two 64-bit unsigned integers. More... | |
| void | clog_assert_uint64_neq (CLoggerUInt64 not_expected, CLoggerUInt64 actual, const char *location, const char *message,...) |
| Make an inequality assertion of two 64-bit unsigned integers. More... | |
| void | clog_assert_uint64_is_nullptr (const CLoggerUInt64 *value_ptr, const char *location, const char *message,...) |
Assert if a pointer is NULL More... | |
| void | clog_assert_uint64_is_not_nullptr (const CLoggerUInt64 *value_ptr, const char *location, const char *message,...) |
Assert if a pointer is not NULL More... | |
| void | clog_assert_size_eq (CLoggerSize expected, CLoggerSize actual, const char *location, const char *message,...) |
Make an equality assertion of two size_t values. More... | |
| void | clog_assert_size_neq (CLoggerSize not_expected, CLoggerSize actual, const char *location, const char *message,...) |
Make an inequality assertion of two size_t values. More... | |
| void | clog_assert_char_eq (char expected, char actual, const char *location, const char *message,...) |
| Make an equality assertion of two chars. More... | |
| void | clog_assert_char_neq (char not_expected, char actual, const char *location, const char *message,...) |
| Make an inequality assertion of two chars. More... | |
| void | clog_assert_str_eq (const char *expected, CLoggerSize expected_size, const char *actual, CLoggerSize actual_size, const char *location, const char *message,...) |
| Make an equality assertion of two strings. More... | |
| void | clog_assert_str_neq (const char *not_expected, CLoggerSize not_expected_size, const char *actual, CLoggerSize actual_size, const char *location, const char *message,...) |
| Make an inequality assertion of two strings. More... | |
| void | clog_assert_str_is_nullptr (const char *value_ptr, const char *location, const char *message,...) |
Assert if a pointer is NULL More... | |
| void | clog_assert_str_is_not_nullptr (const char *value_ptr, const char *location, const char *message,...) |
Assert if a pointer is not NULL More... | |
clogger assertion module
| void clog_assert | ( | CLoggerBool | condition, |
| const char * | location, | ||
| const char * | message, | ||
| ... | |||
| ) |
Assertion function that terminates the program on failure.
The assert function works similarly to the traditional std assert() function, logging a message if the condition supplied fails, terminating on failure. See the other specialized functions in the clog_assert family below for more explicit assert messages.
clog_expect() and the family of clog_expect functions | condition | [in] Assertion to be made |
| location | [in] Location of the assert |
| message | [in] Format-able string message as you would use printf() that will print on the condition failure |
| ... | [in] Variable-length args |
| void clog_assert_int8_eq | ( | CLoggerInt8 | expected, |
| CLoggerInt8 | actual, | ||
| const char * | location, | ||
| const char * | message, | ||
| ... | |||
| ) |
Make an equality assertion of two 8-bit signed integers.
| expected | [in] The expected value |
| actual | [in] The actual value |
| location | [in] Location of the assert |
| message | [in] Format-able string message as you would use printf() that will print on the condition failure |
| ... | [in] Variable-length args |
| void clog_assert_int8_neq | ( | CLoggerInt8 | not_expected, |
| CLoggerInt8 | actual, | ||
| const char * | location, | ||
| const char * | message, | ||
| ... | |||
| ) |
Make an inequality assertion of two 8-bit signed integers.
| not_expected | [in] The not expected value |
| actual | [in] The actual value |
| location | [in] Location of the assert |
| message | [in] Format-able string message as you would use printf() that will print on the condition failure |
| ... | [in] Variable-length args |
| void clog_assert_int8_is_nullptr | ( | const CLoggerInt8 * | value_ptr, |
| const char * | location, | ||
| const char * | message, | ||
| ... | |||
| ) |
Assert if a pointer is NULL
| value_ptr | [in] Pointer to an 8-bit signed integer |
| location | [in] Location of the assert |
| message | [in] Format-able string message as you would use printf() that will print on the condition failure |
| ... | [in] Variable-length args |
| void clog_assert_int8_is_not_nullptr | ( | const CLoggerInt8 * | value_ptr, |
| const char * | location, | ||
| const char * | message, | ||
| ... | |||
| ) |
Assert if a pointer is not NULL
| value_ptr | [in] Pointer to an 8-bit signed integer |
| location | [in] Location of the assert |
| message | [in] Format-able string message as you would use printf() that will print on the condition failure |
| ... | [in] Variable-length args |
| void clog_assert_uint8_eq | ( | CLoggerUInt8 | expected, |
| CLoggerUInt8 | actual, | ||
| const char * | location, | ||
| const char * | message, | ||
| ... | |||
| ) |
Make an equality assertion of two 8-bit unsigned integers.
| expected | [in] The expected value |
| actual | [in] The actual value |
| location | [in] Location of the assert |
| message | [in] Format-able string message as you would use printf() that will print on the condition failure |
| ... | [in] Variable-length args |
| void clog_assert_uint8_neq | ( | CLoggerUInt8 | not_expected, |
| CLoggerUInt8 | actual, | ||
| const char * | location, | ||
| const char * | message, | ||
| ... | |||
| ) |
Make an inequality assertion of two 8-bit unsigned integers.
| not_expected | [in] The not expected value |
| actual | [in] The actual value |
| location | [in] Location of the assert |
| message | [in] Format-able string message as you would use printf() that will print on the condition failure |
| ... | [in] Variable-length args |
| void clog_assert_uint8_is_nullptr | ( | const CLoggerUInt8 * | value_ptr, |
| const char * | location, | ||
| const char * | message, | ||
| ... | |||
| ) |
Assert if a pointer is NULL
| value_ptr | [in] Pointer to an 8-bit unsigned integer |
| location | [in] Location of the assert |
| message | [in] Format-able string message as you would use printf() that will print on the condition failure |
| ... | [in] Variable-length args |
| void clog_assert_uint8_is_not_nullptr | ( | const CLoggerUInt8 * | value_ptr, |
| const char * | location, | ||
| const char * | message, | ||
| ... | |||
| ) |
Assert if a pointer is not NULL
| value_ptr | [in] Pointer to an 8-bit unsigned integer |
| location | [in] Location of the assert |
| message | [in] Format-able string message as you would use printf() that will print on the condition failure |
| ... | [in] Variable-length args |
| void clog_assert_int16_eq | ( | CLoggerInt16 | expected, |
| CLoggerInt16 | actual, | ||
| const char * | location, | ||
| const char * | message, | ||
| ... | |||
| ) |
Make an equality assertion of two 16-bit signed integers.
| expected | [in] The expected value |
| actual | [in] The actual value |
| location | [in] Location of the assert |
| message | [in] Format-able string message as you would use printf() that will print on the condition failure |
| ... | [in] Variable-length args |
| void clog_assert_int16_neq | ( | CLoggerInt16 | not_expected, |
| CLoggerInt16 | actual, | ||
| const char * | location, | ||
| const char * | message, | ||
| ... | |||
| ) |
Make an inequality assertion of two 16-bit signed integers.
| not_expected | [in] The not expected value |
| actual | [in] The actual value |
| location | [in] Location of the assert |
| message | [in] Format-able string message as you would use printf() that will print on the condition failure |
| ... | [in] Variable-length args |
| void clog_assert_int16_is_nullptr | ( | const CLoggerInt16 * | value_ptr, |
| const char * | location, | ||
| const char * | message, | ||
| ... | |||
| ) |
Assert if a pointer is NULL
| value_ptr | [in] Pointer to a 16-bit signed integer |
| location | [in] Location of the assert |
| message | [in] Format-able string message as you would use printf() that will print on the condition failure |
| ... | [in] Variable-length args |
| void clog_assert_int16_is_not_nullptr | ( | const CLoggerInt16 * | value_ptr, |
| const char * | location, | ||
| const char * | message, | ||
| ... | |||
| ) |
Assert if a pointer is not NULL
| value_ptr | [in] Pointer to a 16-bit signed integer |
| location | [in] Location of the assert |
| message | [in] Format-able string message as you would use printf() that will print on the condition failure |
| ... | [in] Variable-length args |
| void clog_assert_uint16_eq | ( | CLoggerUInt16 | expected, |
| CLoggerUInt16 | actual, | ||
| const char * | location, | ||
| const char * | message, | ||
| ... | |||
| ) |
Make an equality assertion of two 16-bit unsigned integers.
| expected | [in] The expected value |
| actual | [in] The actual value |
| location | [in] Location of the assert |
| message | [in] Format-able string message as you would use printf() that will print on the condition failure |
| ... | [in] Variable-length args |
| void clog_assert_uint16_neq | ( | CLoggerUInt16 | not_expected, |
| CLoggerUInt16 | actual, | ||
| const char * | location, | ||
| const char * | message, | ||
| ... | |||
| ) |
Make an inequality assertion of two 16-bit unsigned integers.
| not_expected | [in] The not expected value |
| actual | [in] The actual value |
| location | [in] Location of the assert |
| message | [in] Format-able string message as you would use printf() that will print on the condition failure |
| ... | [in] Variable-length args |
| void clog_assert_uint16_is_nullptr | ( | const CLoggerUInt16 * | value_ptr, |
| const char * | location, | ||
| const char * | message, | ||
| ... | |||
| ) |
Assert if a pointer is NULL
| value_ptr | [in] Pointer to a 16-bit unsigned integer |
| location | [in] Location of the assert |
| message | [in] Format-able string message as you would use printf() that will print on the condition failure |
| ... | [in] Variable-length args |
| void clog_assert_uint16_is_not_nullptr | ( | const CLoggerUInt16 * | value_ptr, |
| const char * | location, | ||
| const char * | message, | ||
| ... | |||
| ) |
Assert if a pointer is not NULL
| value_ptr | [in] Pointer to a 16-bit unsigned integer |
| location | [in] Location of the assert |
| message | [in] Format-able string message as you would use printf() that will print on the condition failure |
| ... | [in] Variable-length args |
| void clog_assert_int32_eq | ( | CLoggerInt32 | expected, |
| CLoggerInt32 | actual, | ||
| const char * | location, | ||
| const char * | message, | ||
| ... | |||
| ) |
Make an equality assertion of two 32-bit signed integers.
| expected | [in] The expected value |
| actual | [in] The actual value |
| location | [in] Location of the assert |
| message | [in] Format-able string message as you would use printf() that will print on the condition failure |
| ... | [in] Variable-length args |
| void clog_assert_int32_neq | ( | CLoggerInt32 | not_expected, |
| CLoggerInt32 | actual, | ||
| const char * | location, | ||
| const char * | message, | ||
| ... | |||
| ) |
Make an inequality assertion of two 32-bit signed integers.
| not_expected | [in] The not expected value |
| actual | [in] The actual value |
| location | [in] Location of the assert |
| message | [in] Format-able string message as you would use printf() that will print on the condition failure |
| ... | [in] Variable-length args |
| void clog_assert_int32_is_nullptr | ( | const CLoggerInt32 * | value_ptr, |
| const char * | location, | ||
| const char * | message, | ||
| ... | |||
| ) |
Assert if a pointer is NULL
| value_ptr | [in] Pointer to a 32-bit signed integer |
| location | [in] Location of the assert |
| message | [in] Format-able string message as you would use printf() that will print on the condition failure |
| ... | [in] Variable-length args |
| void clog_assert_int32_is_not_nullptr | ( | const CLoggerInt32 * | value_ptr, |
| const char * | location, | ||
| const char * | message, | ||
| ... | |||
| ) |
Assert if a pointer is not NULL
| value_ptr | [in] Pointer to a 32-bit signed integer |
| location | [in] Location of the assert |
| message | [in] Format-able string message as you would use printf() that will print on the condition failure |
| ... | [in] Variable-length args |
| void clog_assert_uint32_eq | ( | CLoggerUInt32 | expected, |
| CLoggerUInt32 | actual, | ||
| const char * | location, | ||
| const char * | message, | ||
| ... | |||
| ) |
Make an equality assertion of two 32-bit unsigned integers.
| expected | [in] The expected value |
| actual | [in] The actual value |
| location | [in] Location of the assert |
| message | [in] Format-able string message as you would use printf() that will print on the condition failure |
| ... | [in] Variable-length args |
| void clog_assert_uint32_neq | ( | CLoggerUInt32 | not_expected, |
| CLoggerUInt32 | actual, | ||
| const char * | location, | ||
| const char * | message, | ||
| ... | |||
| ) |
Make an inequality assertion of two 32-bit unsigned integers.
| not_expected | [in] The not expected value |
| actual | [in] The actual value |
| location | [in] Location of the assert |
| message | [in] Format-able string message as you would use printf() that will print on the condition failure |
| ... | [in] Variable-length args |
| void clog_assert_uint32_is_nullptr | ( | const CLoggerUInt32 * | value_ptr, |
| const char * | location, | ||
| const char * | message, | ||
| ... | |||
| ) |
Assert if a pointer is NULL
| value_ptr | [in] Pointer to a 32-bit unsigned integer |
| location | [in] Location of the assert |
| message | [in] Format-able string message as you would use printf() that will print on the condition failure |
| ... | [in] Variable-length args |
| void clog_assert_uint32_is_not_nullptr | ( | const CLoggerUInt32 * | value_ptr, |
| const char * | location, | ||
| const char * | message, | ||
| ... | |||
| ) |
Assert if a pointer is not NULL
| value_ptr | [in] Pointer to a 32-bit unsigned integer |
| location | [in] Location of the assert |
| message | [in] Format-able string message as you would use printf() that will print on the condition failure |
| ... | [in] Variable-length args |
| void clog_assert_int64_eq | ( | CLoggerInt64 | expected, |
| CLoggerInt64 | actual, | ||
| const char * | location, | ||
| const char * | message, | ||
| ... | |||
| ) |
Make an equality assertion of two 64-bit signed integers.
| expected | [in] The expected value |
| actual | [in] The actual value |
| location | [in] Location of the assert |
| message | [in] Format-able string message as you would use printf() that will print on the condition failure |
| ... | [in] Variable-length args |
| void clog_assert_int64_neq | ( | CLoggerInt64 | not_expected, |
| CLoggerInt64 | actual, | ||
| const char * | location, | ||
| const char * | message, | ||
| ... | |||
| ) |
Make an inequality assertion of two 64-bit signed integers.
| not_expected | [in] The not expected value |
| actual | [in] The actual value |
| location | [in] Location of the assert |
| message | [in] Format-able string message as you would use printf() that will print on the condition failure |
| ... | [in] Variable-length args |
| void clog_assert_int64_is_nullptr | ( | const CLoggerInt64 * | value_ptr, |
| const char * | location, | ||
| const char * | message, | ||
| ... | |||
| ) |
Assert if a pointer is NULL
| value_ptr | [in] Pointer to a 64-bit signed integer |
| location | [in] Location of the assert |
| message | [in] Format-able string message as you would use printf() that will print on the condition failure |
| ... | [in] Variable-length args |
| void clog_assert_int64_is_not_nullptr | ( | const CLoggerInt64 * | value_ptr, |
| const char * | location, | ||
| const char * | message, | ||
| ... | |||
| ) |
Assert if a pointer is not NULL
| value_ptr | [in] Pointer to a 64-bit signed integer |
| location | [in] Location of the assert |
| message | [in] Format-able string message as you would use printf() that will print on the condition failure |
| ... | [in] Variable-length args |
| void clog_assert_uint64_eq | ( | CLoggerUInt64 | expected, |
| CLoggerUInt64 | actual, | ||
| const char * | location, | ||
| const char * | message, | ||
| ... | |||
| ) |
Make an equality assertion of two 64-bit unsigned integers.
| expected | [in] The expected value |
| actual | [in] The actual value |
| location | [in] Location of the assert |
| message | [in] Format-able string message as you would use printf() that will print on the condition failure |
| ... | [in] Variable-length args |
| void clog_assert_uint64_neq | ( | CLoggerUInt64 | not_expected, |
| CLoggerUInt64 | actual, | ||
| const char * | location, | ||
| const char * | message, | ||
| ... | |||
| ) |
Make an inequality assertion of two 64-bit unsigned integers.
| not_expected | [in] The not expected value |
| actual | [in] The actual value |
| location | [in] Location of the assert |
| message | [in] Format-able string message as you would use printf() that will print on the condition failure |
| ... | [in] Variable-length args |
| void clog_assert_uint64_is_nullptr | ( | const CLoggerUInt64 * | value_ptr, |
| const char * | location, | ||
| const char * | message, | ||
| ... | |||
| ) |
Assert if a pointer is NULL
| value_ptr | [in] Pointer to a 64-bit unsigned integer |
| location | [in] Location of the assert |
| message | [in] Format-able string message as you would use printf() that will print on the condition failure |
| ... | [in] Variable-length args |
| void clog_assert_uint64_is_not_nullptr | ( | const CLoggerUInt64 * | value_ptr, |
| const char * | location, | ||
| const char * | message, | ||
| ... | |||
| ) |
Assert if a pointer is not NULL
| value_ptr | [in] Pointer to a 64-bit unsigned integer |
| location | [in] Location of the assert |
| message | [in] Format-able string message as you would use printf() that will print on the condition failure |
| ... | [in] Variable-length args |
| void clog_assert_size_eq | ( | CLoggerSize | expected, |
| CLoggerSize | actual, | ||
| const char * | location, | ||
| const char * | message, | ||
| ... | |||
| ) |
Make an equality assertion of two size_t values.
| expected | [in] The expected value |
| actual | [in] The actual value |
| location | [in] Location of the assert |
| message | [in] Format-able string message as you would use printf() that will print on the condition failure |
| ... | [in] Variable-length args |
| void clog_assert_size_neq | ( | CLoggerSize | not_expected, |
| CLoggerSize | actual, | ||
| const char * | location, | ||
| const char * | message, | ||
| ... | |||
| ) |
Make an inequality assertion of two size_t values.
| not_expected | [in] The not expected value |
| actual | [in] The actual value |
| location | [in] Location of the assert |
| message | [in] Format-able string message as you would use printf() that will print on the condition failure |
| ... | [in] Variable-length args |
| void clog_assert_char_eq | ( | char | expected, |
| char | actual, | ||
| const char * | location, | ||
| const char * | message, | ||
| ... | |||
| ) |
Make an equality assertion of two chars.
clog_assert_int8_eq(), the values written to the console will be the char ASCII value | expected | [in] The expected value |
| actual | [in] The actual value |
| location | [in] Location of the assert |
| message | [in] Format-able string message as you would use printf() that will print on the condition failure |
| ... | [in] Variable-length args |
| void clog_assert_char_neq | ( | char | not_expected, |
| char | actual, | ||
| const char * | location, | ||
| const char * | message, | ||
| ... | |||
| ) |
Make an inequality assertion of two chars.
clog_assert_int8_neq(), the values written to the console will be the char ASCII value | not_expected | [in] The not expected value |
| actual | [in] The actual value |
| location | [in] Location of the assert |
| message | [in] Format-able string message as you would use printf() that will print on the condition failure |
| ... | [in] Variable-length args |
| void clog_assert_str_eq | ( | const char * | expected, |
| CLoggerSize | expected_size, | ||
| const char * | actual, | ||
| CLoggerSize | actual_size, | ||
| const char * | location, | ||
| const char * | message, | ||
| ... | |||
| ) |
Make an equality assertion of two strings.
| expected | [in] The expected value |
| expected_size | [in] The sizeof the expected string |
| actual | [in] The actual value |
| actual_size | [in] The sizeof the actual string |
| location | [in] Location of the assert |
| message | [in] Format-able string message as you would use printf() that will print on the condition failure |
| ... | [in] Variable-length args |
| void clog_assert_str_neq | ( | const char * | not_expected, |
| CLoggerSize | not_expected_size, | ||
| const char * | actual, | ||
| CLoggerSize | actual_size, | ||
| const char * | location, | ||
| const char * | message, | ||
| ... | |||
| ) |
Make an inequality assertion of two strings.
| not_expected | [in] The not expected value |
| not_expected_size | [in] The sizeof the not expected string |
| actual | [in] The actual value |
| actual_size | [in] The sizeof the actual string |
| location | [in] Location of the assert |
| message | [in] Format-able string message as you would use printf() that will print on the condition failure |
| ... | [in] Variable-length args |
| void clog_assert_str_is_nullptr | ( | const char * | value_ptr, |
| const char * | location, | ||
| const char * | message, | ||
| ... | |||
| ) |
Assert if a pointer is NULL
| value_ptr | [in] Pointer to a string or char |
| location | [in] Location of the assert |
| message | [in] Format-able string message as you would use printf() that will print on the condition failure |
| ... | [in] Variable-length args |
| void clog_assert_str_is_not_nullptr | ( | const char * | value_ptr, |
| const char * | location, | ||
| const char * | message, | ||
| ... | |||
| ) |
Assert if a pointer is not NULL
| value_ptr | [in] Pointer to a string or char |
| location | [in] Location of the assert |
| message | [in] Format-able string message as you would use printf() that will print on the condition failure |
| ... | [in] Variable-length args |