summaryrefslogtreecommitdiffstats
path: root/examples/define.h
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2000-04-03 16:49:13 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2000-04-03 16:49:13 (GMT)
commitba6357a253beeff03588578154bbc311bd986a47 (patch)
treef8bef618690d97139e586f102db4e418c3a5dff8 /examples/define.h
parenteebd65ca04ebb2de83e99162713161fbdaa55a61 (diff)
downloadDoxygen-ba6357a253beeff03588578154bbc311bd986a47.zip
Doxygen-ba6357a253beeff03588578154bbc311bd986a47.tar.gz
Doxygen-ba6357a253beeff03588578154bbc311bd986a47.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. */