error.h 420 B

12345678910111213141516
  1. /*
  2. * Copyright (c) 2012-2014 Daniele Bartolini and individual contributors.
  3. * License: https://github.com/taylor001/crown/blob/master/LICENSE
  4. */
  5. #pragma once
  6. namespace crown
  7. {
  8. namespace error
  9. {
  10. /// Aborts the program execution logging an error message and the stacktrace if
  11. /// the platform supports it.
  12. void abort(const char* file, int line, const char* message, ...);
  13. } // namespace error
  14. } // namespace crown