mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-03-30 21:05:56 -05:00
17 lines
437 B
C++
17 lines
437 B
C++
#pragma once
|
|
|
|
#include <hex/trace/stacktrace.hpp>
|
|
|
|
#include <optional>
|
|
|
|
namespace hex::trace {
|
|
|
|
using AssertionHandler = void(*)(const char* file, int line, const char *function, const char* exprString);
|
|
|
|
std::optional<StackTraceResult> getLastExceptionStackTrace();
|
|
void setAssertionHandler(AssertionHandler handler);
|
|
|
|
void enableExceptionCaptureForCurrentThread();
|
|
void disableExceptionCaptureForCurrentThread();
|
|
|
|
} |