A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
tiny doc improvement
[simgrid.git]
/
src
/
xbt
/
asserts.c
diff --git
a/src/xbt/asserts.c
b/src/xbt/asserts.c
index
dd1a301
..
5ef6bb5
100644
(file)
--- a/
src/xbt/asserts.c
+++ b/
src/xbt/asserts.c
@@
-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);