aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarti Bolivar <mbolivar@leaflabs.com>2011-08-22 23:29:22 -0400
committerMarti Bolivar <mbolivar@leaflabs.com>2011-08-22 23:29:59 -0400
commit3887713e693967983b4247dbb7dd3318a57f73c5 (patch)
tree2fca0cd3317c58e27ac7602125d4a70c2181fa76
parentbada156b62229153092eefc9486b58dd55c62c54 (diff)
util.h: Doxygen
-rw-r--r--libmaple/util.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/libmaple/util.h b/libmaple/util.h
index 7ae8e02..080f1bf 100644
--- a/libmaple/util.h
+++ b/libmaple/util.h
@@ -64,6 +64,19 @@ void throb(void);
#define DEBUG_FAULT 1
#define DEBUG_ALL 2
+/**
+ * \def DEBUG_LEVEL
+ *
+ * Controls the level of assertion checking.
+ *
+ * The higher the debug level, the more assertions will be compiled
+ * in. This increases the amount of debugging information, but slows
+ * down (and increases the size of) the binary.
+ *
+ * The debug levels, from lowest to highest, are DEBUG_NONE,
+ * DEBUG_FAULT, and DEBUG_ALL. The default level is DEBUG_ALL.
+ */
+
#ifndef DEBUG_LEVEL
#define DEBUG_LEVEL DEBUG_ALL
#endif