44 n_log(
LOG_ERR,
"Cannot even add a new exception context !!");
#define Free(__ptr)
Free Handler to get errors.
jmp_buf context
saving the current context
struct ExceptionContextList * head
pointer to the next stacked exception
__thread ExceptionContextList * __Exceptions
Globale variable for exception stack management.
void pop_exception(int ex)
Function to pop an exception in the list.
#define NO_EXCEPTION
Possibly Throwed value, everything is fine.
void push_exception(void)
Function to push an exception in the list.
Exception stack structure.
#define n_log(__LEVEL__,...)
Logging function wrapper to get line and func.
#define LOG_ERR
error conditions
Common headers and low-level functions & define.
Exception management for C.