}
if (!found)
- THROW2(mismatch_error, 0,
+ THROWF(mismatch_error, 0,
"Cannot remove the action %p delayed of %f second: not found",
action, interval);
}
if (!found)
- THROW2(mismatch_error, 0,
+ THROWF(mismatch_error, 0,
"Cannot remove the action %p delayed of %f second: not found",
action, interval);
}
}
if (!found)
- THROW0(mismatch_error, 0, "No delayed action to remove");
+ THROWF(mismatch_error, 0, "No delayed action to remove");
}
}
if (!found)
- THROW0(mismatch_error, 0, "No repetitive action to remove");
+ THROWF(mismatch_error, 0, "No repetitive action to remove");
}
/** @brief Cancel all delayed and repetitive tasks */
timer->action);
xbt_dynar_cursor_rm(pd->timers, &cursor);
}
- (*action) ();
+ action();
return 0.0;
} else if (untilthis < untilnext || untilnext == -1) {
untilnext = untilthis;