mirror of
https://github.com/bkaradzic/bx.git
synced 2026-02-17 20:52:37 +01:00
40 lines
718 B
C++
40 lines
718 B
C++
/*
|
|
* Copyright 2010-2024 Branimir Karadzic. All rights reserved.
|
|
* License: https://github.com/bkaradzic/bx/blob/master/LICENSE
|
|
*/
|
|
|
|
#ifndef BX_DEBUG_H_HEADER_GUARD
|
|
#define BX_DEBUG_H_HEADER_GUARD
|
|
|
|
#include <stdint.h> // uint32_t
|
|
#include <stdarg.h> // va_list
|
|
|
|
namespace bx
|
|
{
|
|
class StringView;
|
|
|
|
///
|
|
void debugBreak();
|
|
|
|
///
|
|
void debugOutput(const char* _out);
|
|
|
|
///
|
|
void debugOutput(const StringView& _str);
|
|
|
|
///
|
|
void debugPrintfVargs(const char* _format, va_list _argList);
|
|
|
|
///
|
|
void debugPrintf(const char* _format, ...);
|
|
|
|
///
|
|
void debugPrintfData(const void* _data, uint32_t _size, const char* _format, ...);
|
|
|
|
///
|
|
struct WriterI* getDebugOut();
|
|
|
|
} // namespace bx
|
|
|
|
#endif // BX_DEBUG_H_HEADER_GUARD
|