Macro rename compatibility layer (#3186)
* Macro rename compatibility layer * pragma once + doxy comment * Update sdk/core/azure-core/inc/azure/core/azure_assert.hpp Co-authored-by: Ahson Khan <ahkha@microsoft.com> * clang format Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com> Co-authored-by: Ahson Khan <ahkha@microsoft.com>
This commit is contained in:
parent
ae3e5e021b
commit
4f8f96eb88
19
sdk/core/azure-core/inc/azure/core/azure_assert.hpp
Normal file
19
sdk/core/azure-core/inc/azure/core/azure_assert.hpp
Normal file
@ -0,0 +1,19 @@
|
||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
// SPDX-License-Identifier: MIT
|
||||
|
||||
#pragma once
|
||||
|
||||
/**
|
||||
* @file
|
||||
* @brief Deprecated assert macros. It is only temporarily made available for compatibility and
|
||||
* should NOT be used by any callers outside of the SDK.
|
||||
*
|
||||
*/
|
||||
|
||||
#include "azure/core/internal/azure_assert.hpp"
|
||||
|
||||
#define AZURE_ASSERT(exp) _azure_ASSERT(exp)
|
||||
#define AZURE_ASSERT_MSG(exp, msg) _azure_ASSERT_MSG(exp, msg)
|
||||
#define AZURE_ASSERT_FALSE(exp) _azure_ASSERT_FALSE(exp)
|
||||
#define AZURE_UNREACHABLE_CODE() _azure_UNREACHABLE_CODE()
|
||||
#define AZURE_NOT_IMPLEMENTED() _azure_NOT_IMPLEMENTED()
|
||||
Loading…
Reference in New Issue
Block a user