aboutsummaryrefslogtreecommitdiffstats
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
commit1e2e7c88064aca84d276009f22bcd020518a966b (patch)
tree2fca0cd3317c58e27ac7602125d4a70c2181fa76
parentc1eeb55551461efb365bed546666fbf843e0e7bf (diff)
downloadlibrambutan-1e2e7c88064aca84d276009f22bcd020518a966b.tar.gz
librambutan-1e2e7c88064aca84d276009f22bcd020518a966b.zip
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