Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
check.h File Reference

(08e24b2ba6847221abd35e9b994206b764d6b322)

#include <assert.h>
#include "build/build_config.h"
#include "core/fxcrt/compiler_specific.h"
#include "core/fxcrt/immediate_crash.h"
Include dependency graph for check.h:

Go to the source code of this file.

Macros

#define CHECK(condition)
#define DCHECK_IS_ON()
#define DCHECK   assert

Macro Definition Documentation

◆ CHECK

#define CHECK ( condition)
Value:
do { \
if (UNLIKELY(!(condition))) { \
pdfium::ImmediateCrash(); \
} \
} while (0)
#define UNLIKELY(x)
GLenum condition

Definition at line 14 of file check.h.

◆ DCHECK

#define DCHECK   assert

Definition at line 33 of file check.h.

◆ DCHECK_IS_ON

#define DCHECK_IS_ON ( )
Value:
1

Definition at line 24 of file check.h.