mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-04-02 05:27:41 -05:00
impr: Unionize exception and assertion handling
(cherry picked from commit cfac7ff0ba)
This commit is contained in:
@@ -6,7 +6,12 @@
|
||||
|
||||
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();
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user