X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/08c6a2f66d759072267060d3d365511dd13a8cba..a3570625c9460617ccad1803b50bc4f1793b6376:/include/xbt/asserts.h?ds=sidebyside diff --git a/include/xbt/asserts.h b/include/xbt/asserts.h index 56acf090be..6bcd2974ef 100644 --- a/include/xbt/asserts.h +++ b/include/xbt/asserts.h @@ -12,25 +12,18 @@ #include "xbt/misc.h" #include "xbt/log.h" #include "xbt/ex.h" - + SG_BEGIN_DECL() /** * @addtogroup XBT_error * @brief Those are the SimGrid version of the good ol' assert macro. * - *
Top [\ref index]::[\ref XBT_API] - *
Prev [\ref XBT_log] - *
Next [\ref XBT_config]
- * * You can pass them a format message and arguments, just as if it where a printf. * It is converted to a CRITICALn logging request. * * @{ */ -void xbt_abort(void) _XBT_GNUC_NORETURN; -void xbt_die(const char *msg) _XBT_GNUC_NORETURN; - #ifdef NDEBUG #define xbt_assert(cond) #define xbt_assert0(cond,msg) @@ -59,10 +52,6 @@ void xbt_die(const char *msg) _XBT_GNUC_NORETURN; /** @hideinitializer */ #define xbt_assert6(cond,msg,a,b,c,d,e,f) if (!(cond)) THROW6(0,0,msg,a,b,c,d,e,f) #endif - - -/** @} */ - -SG_END_DECL() - +/** @} */ + SG_END_DECL() #endif /* _XBT_ASSERTS_H */