| 12345678910111213141516171819202122 |
- //-------------------------------------------------------------------------------------------------------
- // Copyright (C) Microsoft. All rights reserved.
- // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
- //-------------------------------------------------------------------------------------------------------
- #include "stdafx.h"
- // The Codex library requires this assertion.
- void CodexAssert(bool condition)
- {
- condition;
- Assert(condition);
- }
- void CodexAssertOrFailFast(bool condition)
- {
- Assert(condition);
- if (!condition)
- {
- TerminateProcess(GetCurrentProcess(), (UINT)DBG_TERMINATE_PROCESS);
- }
- }
|