No Description
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Assert.cpp 339B

123456789101112131415161718
  1. #include "os/Assert.h"
  2. #if IL2CPP_DEBUG
  3. #if IL2CPP_TARGET_WINDOWS
  4. #include <crtdbg.h>
  5. void il2cpp_assert(const char* assertion, const char* file, unsigned int line)
  6. {
  7. if (_CrtDbgReport(_CRT_ASSERT, file, line, "", "%s", assertion) == 1)
  8. {
  9. _CrtDbgBreak();
  10. }
  11. }
  12. #endif // IL2CPP_TARGET_WINDOWS
  13. #endif // IL2CPP_DEBUG