version 1.35, 2008/05/15 17:24:34
|
version 1.36, 2008/05/27 17:32:57
|
|
|
| |
#else /* PEGASUS_REMOVE_TRACE */ | #else /* PEGASUS_REMOVE_TRACE */ |
| |
|
// remover trace code for method enter/exit |
|
# ifdef PEGASUS_REMOVE_METHODTRACE |
|
# define PEG_METHOD_ENTER(comp,meth) |
|
# define PEG_METHOD_EXIT() |
|
# else |
# define PEG_METHOD_ENTER(comp, meth) \ | # define PEG_METHOD_ENTER(comp, meth) \ |
TracerToken __tracerToken; \ | TracerToken __tracerToken; \ |
__tracerToken.method = 0; \ | __tracerToken.method = 0; \ |
|
|
Tracer::traceExit(__tracerToken PEGASUS_COMMA_FILE_LINE); \ | Tracer::traceExit(__tracerToken PEGASUS_COMMA_FILE_LINE); \ |
} \ | } \ |
while (0) | while (0) |
|
# endif |
| |
// Macro for Trace String. the do construct allows this to appear | // Macro for Trace String. the do construct allows this to appear |
// as a single statement. | // as a single statement. |