15 lines
328 B
C++
15 lines
328 B
C++
#pragma once
|
|
|
|
#include <string_view>
|
|
|
|
namespace izo {
|
|
|
|
using CrashCallback = void (*)(const char* reason, void* userData);
|
|
|
|
void InstallCrashHandler(CrashCallback callback, void* userData = nullptr);
|
|
bool IsDebuggerAttached() noexcept;
|
|
void DebugBreak() noexcept;
|
|
void DebugOutput(std::string_view message);
|
|
|
|
} // namespace izo
|