mirror of
https://github.com/throwtheswitch/cexception.git
synced 2026-10-06 16:47:21 +00:00
avoid duplication of CEXCEPTION_GET_ID
This commit is contained in:
+1
-1
@@ -72,7 +72,7 @@ extern volatile CEXCEPTION_FRAME_T CExceptionFrames[];
|
|||||||
{ \
|
{ \
|
||||||
jmp_buf *PrevFrame, NewFrame; \
|
jmp_buf *PrevFrame, NewFrame; \
|
||||||
unsigned int MY_ID = CEXCEPTION_GET_ID; \
|
unsigned int MY_ID = CEXCEPTION_GET_ID; \
|
||||||
PrevFrame = CExceptionFrames[CEXCEPTION_GET_ID].pFrame; \
|
PrevFrame = CExceptionFrames[MY_ID].pFrame; \
|
||||||
CExceptionFrames[MY_ID].pFrame = (jmp_buf*)(&NewFrame); \
|
CExceptionFrames[MY_ID].pFrame = (jmp_buf*)(&NewFrame); \
|
||||||
CExceptionFrames[MY_ID].Exception = CEXCEPTION_NONE; \
|
CExceptionFrames[MY_ID].Exception = CEXCEPTION_NONE; \
|
||||||
CEXCEPTION_HOOK_START_TRY; \
|
CEXCEPTION_HOOK_START_TRY; \
|
||||||
|
|||||||
Reference in New Issue
Block a user