Back to index

lightning-sunbird  0.9+nobinonly
Defines
MacErrorHandling.h File Reference
#include <Types.h>
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define DEBUGOFF   0
#define DEBUGWARN   1
#define DEBUGMIN   2
#define DEBUGON   3
#define DEBUGFULL   4
#define DEBUGSYM   6
#define DEBUGLEVEL   DEBUGOFF
#define resumeLabel(exception)
#define traceon   ((DEBUGLEVEL > DEBUGWARN) && defined(TRACEON))
#define debugon   (DEBUGLEVEL > DEBUGWARN)
#define __DEBUGSMALL
#define check(assertion)
#define ncheck(assertion)
#define check_action(assertion, action)
#define ncheck_action(assertion, action)
#define require(assertion, exception)
#define nrequire(assertion, exception)
#define require_action(assertion, exception, action)
#define nrequire_action(assertion, exception, action)
#define resume(exception)

Define Documentation

Value:

Definition at line 140 of file MacErrorHandling.h.

#define check (   assertion)

Definition at line 195 of file MacErrorHandling.h.

#define check_action (   assertion,
  action 
)

Definition at line 300 of file MacErrorHandling.h.

#define DEBUGFULL   4

Definition at line 111 of file MacErrorHandling.h.

Definition at line 115 of file MacErrorHandling.h.

#define DEBUGMIN   2

Definition at line 109 of file MacErrorHandling.h.

#define DEBUGOFF   0

Definition at line 107 of file MacErrorHandling.h.

#define DEBUGON   3

Definition at line 110 of file MacErrorHandling.h.

Definition at line 134 of file MacErrorHandling.h.

#define DEBUGSYM   6

Definition at line 112 of file MacErrorHandling.h.

#define DEBUGWARN   1

Definition at line 108 of file MacErrorHandling.h.

#define ncheck (   assertion)

Definition at line 246 of file MacErrorHandling.h.

#define ncheck_action (   assertion,
  action 
)

Definition at line 357 of file MacErrorHandling.h.

#define nrequire (   assertion,
  exception 
)
Value:
do {                                                                                                                   \
              if (assertion) {                                                                                         \
                     goto exception;                                                                                          \
                     resumeLabel(exception);                                                                           \
              }                                                                                                                      \
       } while (false)

Definition at line 488 of file MacErrorHandling.h.

#define nrequire_action (   assertion,
  exception,
  action 
)
Value:
do {                                                                                                                   \
              if (assertion) {                                                                                         \
                     { action }                                                                                               \
                     goto exception;                                                                                          \
                     resumeLabel(exception);                                                                           \
              }                                                                                                                      \
       } while (false)

Definition at line 634 of file MacErrorHandling.h.

#define require (   assertion,
  exception 
)
Value:
do {                                                                                                                   \
              if (assertion) ;                                                                                         \
              else {                                                                                                          \
                     goto exception;                                                                                          \
                     resumeLabel(exception);                                                                           \
              }                                                                                                                      \
       } while (false)

Definition at line 418 of file MacErrorHandling.h.

#define require_action (   assertion,
  exception,
  action 
)
Value:
do {                                                                                                                   \
              if (assertion) ;                                                                                         \
              else {                                                                                                          \
                     { action }                                                                                               \
                     goto exception;                                                                                          \
                     resumeLabel(exception);                                                                           \
              }                                                                                                                      \
       } while (false)

Definition at line 559 of file MacErrorHandling.h.

Value:
do {                                                                                                                   \
              goto resume_ ## exception;                                                                        \
       } while (false)

Definition at line 660 of file MacErrorHandling.h.

Definition at line 125 of file MacErrorHandling.h.

#define traceon   ((DEBUGLEVEL > DEBUGWARN) && defined(TRACEON))

Definition at line 133 of file MacErrorHandling.h.