aboutsummaryrefslogtreecommitdiffstats
path: root/src/libs/modelinglib/qmt/infrastructure/qmtassert.h
blob: 6a1b632d518be4b644ddcf28b1cd6540f1c08337 (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 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)