Logo Search packages:      
Sourcecode: zoo version File versions  Download package


/* @(#) debug.h 2.1 87/12/25 12:22:02 */

The contents of this file are hereby released to the public domain.

                           -- Rahul Dhesi 1986/11/14

defines conditional function calls 

Usage:  The statement

   debug((printf("y = %d\n", y)))

may be placed anywhere where two or more statements could be used.  It will 
print the value of y at that point.

Conditional compilation:

   if DEBUG is defined
      define the macro debug(X) to execute statement X
      define the macro debug(X) to be null

#ifdef DEBUG
#define  debug(x)    x;
#define  debug(x)

Generated by  Doxygen 1.6.0   Back to index