From 1e2e7c88064aca84d276009f22bcd020518a966b Mon Sep 17 00:00:00 2001 From: Marti Bolivar Date: Mon, 22 Aug 2011 23:29:22 -0400 Subject: util.h: Doxygen --- libmaple/util.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) 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 -- cgit v1.2.3