3#pragma GCC diagnostic push
4#pragma GCC diagnostic ignored "-Wmissing-field-initializers"
6#pragma GCC diagnostic pop
11void Throw(CEXCEPTION_T ExceptionID) {
12 unsigned int MY_ID = CEXCEPTION_GET_ID;
13 CExceptionFrames[MY_ID].Exception = ExceptionID;
14 if (CExceptionFrames[MY_ID].pFrame) {
15 longjmp(*CExceptionFrames[MY_ID].pFrame, 1);
17 CEXCEPTION_NO_CATCH_HANDLER(ExceptionID);