CodexAssert.cpp 653 B

1234567891011121314151617
  1. //-------------------------------------------------------------------------------------------------------
  2. // Copyright (C) Microsoft. All rights reserved.
  3. // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
  4. //-------------------------------------------------------------------------------------------------------
  5. #include "CommonCorePch.h"
  6. // Method is expected to be implemented to link with codex.lib
  7. // We have separate implementations for Chakra and IE
  8. void CodexAssert(bool condition)
  9. {
  10. Assert(condition);
  11. }
  12. void CodexAssertOrFailFast(bool condition)
  13. {
  14. AssertOrFailFast(condition);
  15. }