Loading basic_op/basop32.c +5 −5 Original line number Diff line number Diff line Loading @@ -171,7 +171,7 @@ static Word16 saturate (Word32 L_var1); printf("[BASOP] %s\n", strings[i]); \ } \ free(strings); \ } while (0); } while (0) #elif defined _WIN32 || defined _WIN64 #include <windows.h> #include <dbghelp.h> Loading Loading @@ -199,13 +199,13 @@ static Word16 saturate (Word32 L_var1); } \ \ free(symbol); \ } while (0); } while (0) #else #define PRINT_STACK() \ do { \ printf("[BASOP] <call stack would be here> - printing call stack is not " \ "supported on this platform\n"); \ } while (0); } while (0) #endif /* Using macro instead of function here to avoid pushing new frames onto the stack */ Loading @@ -213,14 +213,14 @@ static Word16 saturate (Word32 L_var1); do { \ printf("[BASOP] Overflow occured. Call stack:\n"); \ PRINT_STACK(); \ } while (0); } while (0) /* Using macro instead of function here to avoid pushing new frames onto the stack */ #define PRINT_BASOP_NOGLOB_ERROR() \ do { \ printf("[BASOP] Overflow error occured. Call stack:\n"); \ PRINT_STACK(); \ } while (0); } while (0) #endif /* BASOP_PRINT_ON_WARNING */ #if defined BASOP_PRINT_ON_WARNING || defined BASOP_ABORT_ON_WARNING Loading Loading
basic_op/basop32.c +5 −5 Original line number Diff line number Diff line Loading @@ -171,7 +171,7 @@ static Word16 saturate (Word32 L_var1); printf("[BASOP] %s\n", strings[i]); \ } \ free(strings); \ } while (0); } while (0) #elif defined _WIN32 || defined _WIN64 #include <windows.h> #include <dbghelp.h> Loading Loading @@ -199,13 +199,13 @@ static Word16 saturate (Word32 L_var1); } \ \ free(symbol); \ } while (0); } while (0) #else #define PRINT_STACK() \ do { \ printf("[BASOP] <call stack would be here> - printing call stack is not " \ "supported on this platform\n"); \ } while (0); } while (0) #endif /* Using macro instead of function here to avoid pushing new frames onto the stack */ Loading @@ -213,14 +213,14 @@ static Word16 saturate (Word32 L_var1); do { \ printf("[BASOP] Overflow occured. Call stack:\n"); \ PRINT_STACK(); \ } while (0); } while (0) /* Using macro instead of function here to avoid pushing new frames onto the stack */ #define PRINT_BASOP_NOGLOB_ERROR() \ do { \ printf("[BASOP] Overflow error occured. Call stack:\n"); \ PRINT_STACK(); \ } while (0); } while (0) #endif /* BASOP_PRINT_ON_WARNING */ #if defined BASOP_PRINT_ON_WARNING || defined BASOP_ABORT_ON_WARNING Loading