debug.h 603 B

123456789101112131415161718192021222324252627282930313233
  1. /*
  2. * Copyright 2010-2018 Branimir Karadzic. All rights reserved.
  3. * License: https://github.com/bkaradzic/bx#license-bsd-2-clause
  4. */
  5. #ifndef BX_DEBUG_H_HEADER_GUARD
  6. #define BX_DEBUG_H_HEADER_GUARD
  7. #include "bx.h"
  8. namespace bx
  9. {
  10. ///
  11. void debugBreak();
  12. ///
  13. void debugOutput(const char* _out);
  14. ///
  15. void debugPrintfVargs(const char* _format, va_list _argList);
  16. ///
  17. void debugPrintf(const char* _format, ...);
  18. ///
  19. void debugPrintfData(const void* _data, uint32_t _size, const char* _format, ...);
  20. ///
  21. struct WriterI* getDebugOut();
  22. } // namespace bx
  23. #endif // BX_DEBUG_H_HEADER_GUARD