Doxygen fixes.
[bertos.git] / debug.h
diff --git a/debug.h b/debug.h
index 273b6f083505c24704038cb0ad7d6152a462a9d6..86d6820c1eda69f2b1ddfd6e8378ac8f2a695b6c 100755 (executable)
--- a/debug.h
+++ b/debug.h
@@ -5,11 +5,11 @@
  * This file is part of DevLib - See devlib/README for information.
  * -->
  *
- * \brief Simple debug facilities for hosted and embedded C/C++ applications
+ * \brief Simple debug facilities for hosted and embedded C/C++ applications.
  *
- * Debug output goes to stderr in hosted applications.  Freestanding (AKA embedded)
- * applications use drv/kdebug.c to output diagnostic messages to a serial terminal
- * or a JTAG debugger.
+ * Debug output goes to stderr in hosted applications.
+ * Freestanding (AKA embedded) applications use \c drv/kdebug.c to output
+ * diagnostic messages to a serial terminal or a JTAG debugger.
  *
  * \version $Id$
  * \author Bernardo Innocenti <bernie@develer.com>
@@ -17,6 +17,9 @@
 
 /*#*
  *#* $Log$
+ *#* Revision 1.5  2004/12/08 08:04:13  bernie
+ *#* Doxygen fixes.
+ *#*
  *#* Revision 1.4  2004/12/08 07:29:27  bernie
  *#* Fix Doxygen tags.
  *#*
         * These macros help track some kinds of leaks in C++ programs.
         * Usage is as follows:
         *
-        * \example
+        * \code
         *   class Foo
         *   {
         *       DECLARE_INSTANCE_TRACKING(Foo)
         *        delete foo;
         *        ASSERT_ZERO_INSTANCES(Foo); // OK
         *   }
-        *
-        * \end example
+        * \endcode
+        * \{
         */
        #define NEW_INSTANCE(CLASS)                do { ++CLASS::__instances } while (0)
        #define DELETE_INSTANCE(CLASS)             do { --CLASS::__instances } while (0)
        #define GET_INSTANCE_COUNT(CLASS)          (CLASS::__instances)
        #define DECLARE_INSTANCE_TRACKING(CLASS)   static int __instances
        #define IMPLEMENT_INSTANCE_TRACKING(CLASS) int CLASS::__instances = 0
+       /*\}*/
 
 #else /* !_DEBUG */