Top | ![]() |
![]() |
![]() |
![]() |
#define | GCAL_TRACE_MSG() |
#define | GCAL_TODO() |
#define | GCAL_GOTO() |
#define | GCAL_RETURN() |
#define | GCAL_BUG() |
#define | GCAL_ENABLE_TRACE |
#define | GCAL_LOG_LEVEL_TRACE |
#define | GCAL_PROBE |
#define | GCAL_ENTRY |
#define | GCAL_EXIT |
Macros used for tracing and debugging code. These
are only valid when Calendar is compiled with tracing
suppoer (pass --enable-tracing
to the configure
script to do that).
#define GCAL_ENTRY
Prints a probing message. This shouldn't be used in critical functions. Place this at the beggining of the function, before any assertion.
#define GCAL_EXIT
Prints an exit message. This shouldn't be used in
critical functions. Place this at the end of
the function, after any relevant code. If the
function returns somethin, use GCAL_RETURN()
instead.