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 347B

123456789101112131415161718
  1. #include "os/Assert.h"
  2. #if IL2CPP_DEBUG
  3. #if IL2CPP_USE_GENERIC_ASSERT
  4. #include <cstdio>
  5. #include <cstdlib>
  6. void il2cpp_assert(const char* assertion, const char* file, unsigned int line)
  7. {
  8. printf("Assertion failed: %s, file %s, line %u\n", assertion, file, line);
  9. abort();
  10. }
  11. #endif // IL2CPP_USE_GENERIC_ASSERT
  12. #endif // IL2CPP_DEBUG