PIPS
|
Go to the source code of this file.
Functions | |
void | push_pips_context (char const *file, char const *function, int line) |
exception.c More... | |
void | pop_pips_context (char const *file, char const *function, int line) |
Variables | |
static stack | debug_stack = NULL |
Stack management for PIPS contexts. More... | |
void pop_pips_context | ( | char const * | file, |
char const * | function, | ||
int | line | ||
) |
file | ile |
function | unction |
line | ine |
Definition at line 50 of file exception.c.
References debug_stack, line, pips_debug, pips_internal_error, set_debug_stack_pointer(), and stack_pop().
Referenced by atinit(), gpips_main(), pips_main(), tpips_main(), and wpips_main().
void push_pips_context | ( | char const * | file, |
char const * | function, | ||
int | line | ||
) |
file | ile |
function | unction |
line | ine |
Definition at line 43 of file exception.c.
References debug_stack, get_debug_stack_pointer(), line, pips_debug, stack_make(), and stack_push().
Referenced by atinit(), gpips_main(), pips_main(), tpips_main(), and wpips_main().
|
static |
Stack management for PIPS contexts.
A PIPS context contains a pointer in the PIPS debug level stack. When a PIPS context is popped, the debug level stack is restored. It may be the current level!
Example: voir catch_user_error() in library pipmake, or a PIPS user interface such as wpips, tpips or pips
Definition at line 41 of file exception.c.
Referenced by pop_pips_context(), and push_pips_context().