|
ReXGlue SDK
|
#include <rex/platform/exception_handler.h>
Public Types | |
| using | Handler = bool (*)(Exception* ex, void* data) |
Static Public Member Functions | |
| static void | Install (Handler fn, void *data) |
| static void | Uninstall (Handler fn, void *data) |
Process wide chain of host exception handlers.
| using rex::platform::ExceptionHandler::Handler = bool (*)(Exception* ex, void* data) |
Exception callback. Returns true when the exception is handled, which resumes the thread with the modified context, or false to pass it to the next handler.
|
static |
Adds a handler to the end of the chain.
|
static |
Removes a handler added with the same fn and data.
| data | The value it was installed with. |