WTF
Assertions.h File Reference
#include <assert.h>
#include <stdlib.h>
Include dependency graph for Assertions.h:
This graph shows which files directly or indirectly include this file:
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
#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.
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:23:46 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:23:46 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.