Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
tiny doc improvement
[simgrid.git] / src / xbt / asserts.c
index dd1a301..5ef6bb5 100644 (file)
@@ -21,7 +21,8 @@ XBT_LOG_DEFAULT_CATEGORY(xbt);
  *
  * The message is handled by a CRITICAL logging request
  *
  *
  * The message is handled by a CRITICAL logging request
  *
- * If you want to pass arguments to the format, you can always write xbt_assert1(0,"fmt",args)
+ * If you want to pass arguments to the format, you can always write xbt_assert1(0,"fmt",args) or
+ * xbt_die(bprintf("fmt", arg))
  */
 void xbt_die (const char *msg) {
   CRITICAL1("%s",msg);
  */
 void xbt_die (const char *msg) {
   CRITICAL1("%s",msg);