Navigation



Ignore:
Timestamp:
Sep 30, 2009, 6:25:46 PM (15 years ago)
Author:
Sebastien Decugis <sdecugis@nict.go.jp>
Branch:
default
Phase:
public
Message:

Progress on peer state machine

File:
1 edited

Legend:

Unmodified
Added
Removed
  • include/freeDiameter/libfreeDiameter.h

    r10 r13  
    189189#define TRACE_DEBUG_ALL( str )  \
    190190        TRACE_DEBUG(CALL, str );
     191
     192/* For development only, to keep track of TODO locations in the code */
     193#ifndef ERRORS_ON_TODO
     194#define TODO( _msg, _args... ) \
     195        TRACE_DEBUG(NONE, _msg , ##_args);
     196#else /* ERRORS_ON_TODO */
     197#define TODO( _msg, _args... ) \
     198        "TODO" = _msg ## _args; /* just a stupid compilation error to spot the todo */
     199#endif /* ERRORS_ON_TODO */
    191200
    192201
Note: See TracChangeset for help on using the changeset viewer.