summaryrefslogtreecommitdiffstats
path: root/examples/define.h
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2000-04-03 16:49:13 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2000-04-03 16:49:13 (GMT)
commite5d8b060f74171bb27a1783d313429b0198ef42b (patch)
treef8bef618690d97139e586f102db4e418c3a5dff8 /examples/define.h
parent0ef84d280c0a594f708c8c65e84ff59e8799821f (diff)
downloadDoxygen-e5d8b060f74171bb27a1783d313429b0198ef42b.zip
Doxygen-e5d8b060f74171bb27a1783d313429b0198ef42b.tar.gz
Doxygen-e5d8b060f74171bb27a1783d313429b0198ef42b.tar.bz2
Release 2000-04-03
Diffstat (limited to 'examples/define.h')
-rw-r--r--examples/define.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/examples/define.h b/examples/define.h
index 393010e..68d2453 100644
--- a/examples/define.h
+++ b/examples/define.h
@@ -4,7 +4,14 @@
This is to test the documentation of defines.
*/
+/*!
+ \def MAX(x,y)
+ Computes the maximum of \a x and \a y.
+*/
+
/*!
- The define ABS computes the absolute value of its argument \a x.
+ Computes the absolute value of its argument \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. */