WTF
Assertions.h File Reference
#include <assert.h>
#include <stdlib.h>
Go to the source code of this file.
Defines | |
#define | ASSERT(x) assert(x) |
#define | ASSERT_DISABLED 0 |
#define | ASSERT_NOT_REACHED() assert(!"Should not be reached") |
#define | COMPILE_ASSERT(exp, name) typedef int dummy##name [(exp) ? 1 : -1]; |
#define | CRASH() abort() |
Define Documentation
#define ASSERT | ( | x | ) | assert(x) |
Definition at line 33 of file Assertions.h.
#define ASSERT_DISABLED 0 |
Definition at line 44 of file Assertions.h.
#define ASSERT_NOT_REACHED | ( | ) | assert(!"Should not be reached") |
Definition at line 34 of file Assertions.h.
#define COMPILE_ASSERT | ( | exp, | |||
name | ) | typedef int dummy##name [(exp) ? 1 : -1]; |
Definition at line 38 of file Assertions.h.
#define CRASH | ( | ) | abort() |
Definition at line 47 of file Assertions.h.