Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
fixing the doc...
authoralegrand <alegrand@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Fri, 26 Aug 2005 07:54:03 +0000 (07:54 +0000)
committeralegrand <alegrand@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Fri, 26 Aug 2005 07:54:03 +0000 (07:54 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@1669 48e7efb5-ca39-0410-a469-dd3cf9ba447f

doc/module-xbt.doc
include/xbt/asserts.h

index da1989c..5946d97 100644 (file)
@@ -6,6 +6,7 @@
  *   - Grounding features
  *     - \ref XBT_ex
  *     - \ref XBT_log
+ *     - \ref XBT_error
  *     - \ref XBT_config
  *   - Data structures
  *     - \ref XBT_dynar 
 
     /** @} */
 
-    /** @defgroup XBT_config Configuration support
+    /** @defgroup XBT_error Assert macro familly
+     *  @brief Those are the GRAS version of the good ol' assert macro. You can pass them a format message and 
+     * arguments, just as if it where a printf. It is converted to a CRITICALn logging request.
+     */
+
+   /** @defgroup XBT_config Configuration support
      *  @brief Changing the configuration of SimGrid components (grounding feature)
      */
 
index 479eb60..9e1a7aa 100644 (file)
 BEGIN_DECL()
 
 /**
- * \name 4. assert macro familly
- *
- * Those are the GRAS version of the good ol' assert macro. You can pass them a format message and
- * arguments, just as if it where a printf. It is converted to a CRITICALn logging request.
- *
+ * \addtogroup XBT_error
  * @{
  */
 #ifdef NDEBUG
@@ -50,10 +46,10 @@ BEGIN_DECL()
 #define xbt_assert6(cond,msg,a,b,c,d,e,f) if (!(cond)) { CRITICAL6(msg,a,b,c,d,e,f); xbt_abort(); }
 #endif
      
-/** @} */
-     
 void xbt_abort(void) _XBT_GNUC_NORETURN;
 void xbt_die(const char *msg) _XBT_GNUC_NORETURN;
+
+/** @} */     
   
 END_DECL()