You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
738 B
C
25 lines
738 B
C
/*
|
|
* Copyright (c) Contributors to the Open 3D Engine Project.
|
|
* For complete copyright and license terms please see the LICENSE at the root of this distribution.
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0 OR MIT
|
|
*
|
|
*/
|
|
|
|
|
|
// Description : Assert dialog box
|
|
|
|
#pragma once
|
|
|
|
#include <AzCore/base.h>
|
|
|
|
// Using AZ_Assert for all assert kinds (assert =, CRY_ASSERT, AZ_Assert).
|
|
// see Trace::Assert for implementation
|
|
#undef assert
|
|
#define assert(condition) AZ_Assert(condition, "%s", #condition)
|
|
|
|
#define CRY_ASSERT(condition) AZ_Assert(condition, "%s", #condition)
|
|
#define CRY_ASSERT_MESSAGE(condition, message) AZ_Assert(condition, message)
|
|
#define CRY_ASSERT_TRACE(condition, parenthese_message) AZ_Assert(condition, parenthese_message)
|
|
|