home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / doxg1211.zip / doxygen.zip / examples / define.h < prev    next >
Text File  |  2000-04-02  |  382b  |  18 lines

  1. /*! \file define.h
  2.     \brief testing defines
  3.     
  4.     This is to test the documentation of defines.
  5. */
  6.  
  7. /*!
  8.   \def MAX(x,y)
  9.   Computes the maximum of \a x and \a y.
  10. */
  11.  
  12. /*! 
  13.    Computes the absolute value of its argument \a x.
  14. */
  15. #define ABS(x) (((x)>0)?(x):-(x))
  16. #define MAX(x,y) ((x)>(y)?(x):(y))
  17. #define MIN(x,y) ((x)>(y)?(y):(x)) /*!< Computes the minimum of \a x and \a y. */
  18.