From: alegrand Date: Fri, 26 Aug 2005 07:54:03 +0000 (+0000) Subject: fixing the doc... X-Git-Tag: v3.3~3688 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/d0c350a5630c81c0cb1dd4acf5e9d55891828c86 fixing the doc... git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@1669 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- diff --git a/doc/module-xbt.doc b/doc/module-xbt.doc index da1989c45a..5946d976d2 100644 --- a/doc/module-xbt.doc +++ b/doc/module-xbt.doc @@ -6,6 +6,7 @@ * - Grounding features * - \ref XBT_ex * - \ref XBT_log + * - \ref XBT_error * - \ref XBT_config * - Data structures * - \ref XBT_dynar @@ -55,7 +56,12 @@ /** @} */ - /** @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) */ diff --git a/include/xbt/asserts.h b/include/xbt/asserts.h index 479eb60946..9e1a7aa155 100644 --- a/include/xbt/asserts.h +++ b/include/xbt/asserts.h @@ -14,11 +14,7 @@ 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()