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