clogger  Version 2.1.1
API Reference for clogger
clog_assert.h File Reference

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...
 

Detailed Description

clogger assertion module

Function Documentation

◆ clog_assert()

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.

Note
For the non-fatal variant, see clog_expect() and the family of clog_expect functions
Parameters
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

◆ clog_assert_int8_eq()

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.

Parameters
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

◆ clog_assert_int8_neq()

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.

Parameters
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

◆ clog_assert_int8_is_nullptr()

void clog_assert_int8_is_nullptr ( const CLoggerInt8 *  value_ptr,
const char *  location,
const char *  message,
  ... 
)

Assert if a pointer is NULL

Parameters
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

◆ clog_assert_int8_is_not_nullptr()

void clog_assert_int8_is_not_nullptr ( const CLoggerInt8 *  value_ptr,
const char *  location,
const char *  message,
  ... 
)

Assert if a pointer is not NULL

Parameters
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

◆ clog_assert_uint8_eq()

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.

Parameters
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

◆ clog_assert_uint8_neq()

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.

Parameters
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

◆ clog_assert_uint8_is_nullptr()

void clog_assert_uint8_is_nullptr ( const CLoggerUInt8 *  value_ptr,
const char *  location,
const char *  message,
  ... 
)

Assert if a pointer is NULL

Parameters
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

◆ clog_assert_uint8_is_not_nullptr()

void clog_assert_uint8_is_not_nullptr ( const CLoggerUInt8 *  value_ptr,
const char *  location,
const char *  message,
  ... 
)

Assert if a pointer is not NULL

Parameters
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

◆ clog_assert_int16_eq()

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.

Parameters
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

◆ clog_assert_int16_neq()

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.

Parameters
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

◆ clog_assert_int16_is_nullptr()

void clog_assert_int16_is_nullptr ( const CLoggerInt16 *  value_ptr,
const char *  location,
const char *  message,
  ... 
)

Assert if a pointer is NULL

Parameters
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

◆ clog_assert_int16_is_not_nullptr()

void clog_assert_int16_is_not_nullptr ( const CLoggerInt16 *  value_ptr,
const char *  location,
const char *  message,
  ... 
)

Assert if a pointer is not NULL

Parameters
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

◆ clog_assert_uint16_eq()

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.

Parameters
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

◆ clog_assert_uint16_neq()

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.

Parameters
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

◆ clog_assert_uint16_is_nullptr()

void clog_assert_uint16_is_nullptr ( const CLoggerUInt16 *  value_ptr,
const char *  location,
const char *  message,
  ... 
)

Assert if a pointer is NULL

Parameters
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

◆ clog_assert_uint16_is_not_nullptr()

void clog_assert_uint16_is_not_nullptr ( const CLoggerUInt16 *  value_ptr,
const char *  location,
const char *  message,
  ... 
)

Assert if a pointer is not NULL

Parameters
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

◆ clog_assert_int32_eq()

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.

Parameters
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

◆ clog_assert_int32_neq()

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.

Parameters
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

◆ clog_assert_int32_is_nullptr()

void clog_assert_int32_is_nullptr ( const CLoggerInt32 *  value_ptr,
const char *  location,
const char *  message,
  ... 
)

Assert if a pointer is NULL

Parameters
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

◆ clog_assert_int32_is_not_nullptr()

void clog_assert_int32_is_not_nullptr ( const CLoggerInt32 *  value_ptr,
const char *  location,
const char *  message,
  ... 
)

Assert if a pointer is not NULL

Parameters
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

◆ clog_assert_uint32_eq()

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.

Parameters
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

◆ clog_assert_uint32_neq()

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.

Parameters
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

◆ clog_assert_uint32_is_nullptr()

void clog_assert_uint32_is_nullptr ( const CLoggerUInt32 *  value_ptr,
const char *  location,
const char *  message,
  ... 
)

Assert if a pointer is NULL

Parameters
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

◆ clog_assert_uint32_is_not_nullptr()

void clog_assert_uint32_is_not_nullptr ( const CLoggerUInt32 *  value_ptr,
const char *  location,
const char *  message,
  ... 
)

Assert if a pointer is not NULL

Parameters
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

◆ clog_assert_int64_eq()

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.

Parameters
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

◆ clog_assert_int64_neq()

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.

Parameters
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

◆ clog_assert_int64_is_nullptr()

void clog_assert_int64_is_nullptr ( const CLoggerInt64 *  value_ptr,
const char *  location,
const char *  message,
  ... 
)

Assert if a pointer is NULL

Parameters
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

◆ clog_assert_int64_is_not_nullptr()

void clog_assert_int64_is_not_nullptr ( const CLoggerInt64 *  value_ptr,
const char *  location,
const char *  message,
  ... 
)

Assert if a pointer is not NULL

Parameters
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

◆ clog_assert_uint64_eq()

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.

Parameters
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

◆ clog_assert_uint64_neq()

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.

Parameters
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

◆ clog_assert_uint64_is_nullptr()

void clog_assert_uint64_is_nullptr ( const CLoggerUInt64 *  value_ptr,
const char *  location,
const char *  message,
  ... 
)

Assert if a pointer is NULL

Parameters
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

◆ clog_assert_uint64_is_not_nullptr()

void clog_assert_uint64_is_not_nullptr ( const CLoggerUInt64 *  value_ptr,
const char *  location,
const char *  message,
  ... 
)

Assert if a pointer is not NULL

Parameters
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

◆ clog_assert_size_eq()

void clog_assert_size_eq ( CLoggerSize  expected,
CLoggerSize  actual,
const char *  location,
const char *  message,
  ... 
)

Make an equality assertion of two size_t values.

Parameters
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

◆ clog_assert_size_neq()

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.

Parameters
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

◆ clog_assert_char_eq()

void clog_assert_char_eq ( char  expected,
char  actual,
const char *  location,
const char *  message,
  ... 
)

Make an equality assertion of two chars.

Note
Although similar to clog_assert_int8_eq(), the values written to the console will be the char ASCII value
Parameters
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

◆ clog_assert_char_neq()

void clog_assert_char_neq ( char  not_expected,
char  actual,
const char *  location,
const char *  message,
  ... 
)

Make an inequality assertion of two chars.

Note
Although similar to clog_assert_int8_neq(), the values written to the console will be the char ASCII value
Parameters
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

◆ clog_assert_str_eq()

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.

Parameters
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

◆ clog_assert_str_neq()

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.

Parameters
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

◆ clog_assert_str_is_nullptr()

void clog_assert_str_is_nullptr ( const char *  value_ptr,
const char *  location,
const char *  message,
  ... 
)

Assert if a pointer is NULL

Parameters
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

◆ clog_assert_str_is_not_nullptr()

void clog_assert_str_is_not_nullptr ( const char *  value_ptr,
const char *  location,
const char *  message,
  ... 
)

Assert if a pointer is not NULL

Parameters
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