#include <setjmp.h>
Go to the source code of this file.
Defines | |
#define | linear_arithmetic_error_included |
#define | __CURRENT_FUNCTION_NAME__ "<unknown>" |
#define | EXCEPTION extern unsigned int |
#define | THROW(what) (throw_exception(what, __CURRENT_FUNCTION_NAME__, __FILE__, __LINE__)) |
#define | CATCH(what) |
#define | UNCATCH(what) |
#define | TRY else |
#define | RETHROW() THROW(the_last_just_thrown_exception) |
Typedefs | |
typedef void(* | exception_callback_t )(const char *, const char *, int) |
Variables | |
unsigned int | the_last_just_thrown_exception |
#define __CURRENT_FUNCTION_NAME__ "<unknown>" |
Definition at line 96 of file include/polylib/arithmetic_errors.h.
#define CATCH | ( | what | ) |
Value:
if (setjmp(*push_exception_on_stack(what, __CURRENT_FUNCTION_NAME__, \ __FILE__, __LINE__)))
Definition at line 105 of file include/polylib/arithmetic_errors.h.
#define EXCEPTION extern unsigned int |
Definition at line 100 of file include/polylib/arithmetic_errors.h.
#define linear_arithmetic_error_included |
Definition at line 77 of file include/polylib/arithmetic_errors.h.
#define RETHROW | ( | ) | THROW(the_last_just_thrown_exception) |
Definition at line 116 of file include/polylib/arithmetic_errors.h.
#define THROW | ( | what | ) | (throw_exception(what, __CURRENT_FUNCTION_NAME__, __FILE__, __LINE__)) |
Definition at line 102 of file include/polylib/arithmetic_errors.h.
#define TRY else |
Definition at line 113 of file include/polylib/arithmetic_errors.h.
#define UNCATCH | ( | what | ) |
Value:
(pop_exception_from_stack(what, __CURRENT_FUNCTION_NAME__, \ __FILE__, __LINE__))
Definition at line 109 of file include/polylib/arithmetic_errors.h.
typedef void(* exception_callback_t)(const char *, const char *, int) |
Definition at line 81 of file include/polylib/arithmetic_errors.h.
unsigned int the_last_just_thrown_exception |