aboutsummaryrefslogtreecommitdiffstats
path: root/src/libs/modelinglib/qmt/infrastructure/qmtassert.h
blob: a2c6caacc1c04f39494e9ac27092eba5569a9696 (plain)
1
2
3
4
5
6
7
8
9
10
11
// Copyright (C) 2016 Jochen Becher
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0

#pragma once

#include <utils/qtcassert.h>

#define QMT_CHECK(condition) QTC_CHECK(condition)
#define QMT_ASSERT(condition, action) QTC_ASSERT(condition, action)
// TODO implement logging of where and what
#define QMT_CHECK_X(condition, where, what) QMT_CHECK(condition)