WTF
Assertions.h File Reference
#include <assert.h>#include <stdlib.h>Go to the source code of this file.
Macros | |
| #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() |
Macro Definition Documentation
◆ ASSERT
| #define ASSERT | ( | x | ) | assert(x) |
Definition at line 33 of file Assertions.h.
◆ ASSERT_DISABLED
| #define ASSERT_DISABLED 0 |
Definition at line 44 of file Assertions.h.
◆ ASSERT_NOT_REACHED
| #define ASSERT_NOT_REACHED | ( | ) | assert(!"Should not be reached") |
Definition at line 34 of file Assertions.h.
◆ COMPILE_ASSERT
| #define COMPILE_ASSERT | ( | exp, | |
| name | |||
| ) | typedef int dummy##name [(exp) ? 1 : -1]; |
Definition at line 38 of file Assertions.h.
◆ CRASH
| #define CRASH | ( | ) | abort() |
Definition at line 47 of file Assertions.h.
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Sat Jan 18 2020 19:00:45 by doxygen 1.8.15 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Sat Jan 18 2020 19:00:45 by doxygen 1.8.15 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.