diff options
author | Marti Bolivar <mbolivar@leaflabs.com> | 2011-08-22 23:29:22 -0400 |
---|---|---|
committer | Marti Bolivar <mbolivar@leaflabs.com> | 2011-08-22 23:29:59 -0400 |
commit | 1e2e7c88064aca84d276009f22bcd020518a966b (patch) | |
tree | 2fca0cd3317c58e27ac7602125d4a70c2181fa76 /libmaple | |
parent | c1eeb55551461efb365bed546666fbf843e0e7bf (diff) | |
download | librambutan-1e2e7c88064aca84d276009f22bcd020518a966b.tar.gz librambutan-1e2e7c88064aca84d276009f22bcd020518a966b.zip |
util.h: Doxygen
Diffstat (limited to 'libmaple')
-rw-r--r-- | libmaple/util.h | 13 |
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 |