doxygen/examples/define.h
albert-github f1274b44ad Documentation correction
- corrected tcl documentation in respect to use of param, has to be \param
- added to define documentation possibilities of \param and \return
2018-02-23 14:50:13 +01:00

20 lines
459 B
C

/*! \file define.h
\brief testing defines
This is to test the documentation of defines.
*/
/*!
\def MAX(x,y)
Computes the maximum of \a x and \a y.
*/
/*!
\brief Computes the absolute value of its argument \a x.
\param x input value.
\returns absolute value of \a x.
*/
#define ABS(x) (((x)>0)?(x):-(x))
#define MAX(x,y) ((x)>(y)?(x):(y))
#define MIN(x,y) ((x)>(y)?(y):(x))
/*!< Computes the minimum of \a x and \a y. */