|
ReXGlue SDK
|
#include <atomic>#include <cstdint>#include <exception>#include <rex/platform.h>#include <rex/platform/thread.h>#include <rex/types.h>#include <rex/utility.h>#include <setjmp.h>Go to the source code of this file.
Classes | |
| struct | rex::platform::SEHScope |
| struct | rex::platform::SEHThreadState |
| class | rex::platform::HostCallDepth |
| class | rex::SEHException |
Namespaces | |
| namespace | rex |
| namespace | rex::platform |
Macros | |
| #define | REX_SEH_TRY |
| #define | REX_SEH_CATCH else |
| #define | REX_SEH_CATCH_ALL else |
| #define | REX_SEH_RETHROW ::rex::platform::SEHRethrow() |
| #define | REX_SEH_END |
| #define | REX_SEH_RETURN |
Functions | |
| REX_PPC_API SEHThreadState & | rex::platform::GetSEHThreadState () |
| REX_PPC_API int | rex::platform::SEHFilter (u32 code, void *exception_pointers) |
| REX_PPC_API void | rex::platform::SEHRethrow () |
| REX_PPC_API void | rex::platform::SEHInitialize () |
| void | rex::platform::SEHEnter (SEHScope &scope) |
| void | rex::platform::SEHLeave (SEHScope &scope) |
| void | rex::InitializeSEHThread () |
| void | rex::InitializeSEH () |
| #define REX_SEH_CATCH else |
Opens the handler of the scope.
| #define REX_SEH_CATCH_ALL else |
Same as REX_SEH_CATCH on POSIX.
| #define REX_SEH_END |
| #define REX_SEH_RETHROW ::rex::platform::SEHRethrow() |
Passes the captured exception to the next open scope from inside a handler.
| #define REX_SEH_RETURN |
Returns from the function that holds the SEH scope.
| #define REX_SEH_TRY |
Opens an SEH scope. Pair with REX_SEH_CATCH or REX_SEH_CATCH_ALL and REX_SEH_END, and leave the body early only through REX_SEH_RETURN.