#include <stdio.h>
#include <stdlib.h>
Go to the source code of this file.
|
| static void | cp_assert_fail (const char *condition, const char *file, int line, const char *function) |
◆ cp_assert
| #define cp_assert |
( |
| condition | ) |
|
Value: do { \
if (!(condition)) { \
cp_assert_fail(#condition, __FILE__, __LINE__, __func__); \
} \
} while (0)
Definition at line 22 of file cp_assert.h.
◆ cp_assert_fail()
| void cp_assert_fail |
( |
const char * | condition, |
|
|
const char * | file, |
|
|
int | line, |
|
|
const char * | function ) |
|
inlinestatic |