/[lwip]/lwip/src/include/lwip/debug.h
ViewVC logotype

Diff of /lwip/src/include/lwip/debug.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.22 by davidhaas, Fri Mar 28 19:45:37 2003 UTC revision 1.23 by likewise, Mon Mar 31 10:32:36 2003 UTC
# Line 66  Line 66 
66  /** print debug message only if debug message type is enabled...  /** print debug message only if debug message type is enabled...
67   *  AND is of correct type AND is at least DBG_LEVEL   *  AND is of correct type AND is at least DBG_LEVEL
68   */   */
69  #  define DEBUGF(debug, x) do { if (((debug) & DBG_ON) && ((debug) & DBG_TYPES_ON) && (((debug) & DBG_MASK_LEVEL) >= DBG_MIN_LEVEL)) { LWIP_PLATFORM_DIAG(x); if ((debug) & DBG_HALT) while(1); } } while(0)  #  define DEBUGF(debug,x) do { if (((debug) & DBG_ON) && ((debug) & DBG_TYPES_ON) && (((debug) & DBG_MASK_LEVEL) >= DBG_MIN_LEVEL)) { LWIP_PLATFORM_DIAG(x); if ((debug) & DBG_HALT) while(1); } } while(0)
70  #  define LWIP_ERROR(x)  do { LWIP_PLATFORM_DIAG(x); } while(0)  #  define LWIP_ERROR(x)  do { LWIP_PLATFORM_DIAG(x); } while(0)
71  #else /* LWIP_DEBUG */  #else /* LWIP_DEBUG */
72  #  define LWIP_ASSERT(x, y)  #  define LWIP_ASSERT(x,y)
73  #  define DEBUGF(debug, x)  #  define DEBUGF(debug,x)
74  #  define LWIP_ERROR(x)  #  define LWIP_ERROR(x)
75  #endif /* LWIP_DEBUG */  #endif /* LWIP_DEBUG */
76    

Legend:
Removed from v.1.22  
changed lines
  Added in v.1.23

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26