macro_rules! duration_end { ($category:expr, $name:expr $(, $key:expr => $val:expr)* $(,)?) => { ... }; }
Expand description
Convenience macro for the duration_end
function.
Examples:
duration_end!(c"foo", c"bar", "x" => 5, "y" => "boo");
const FOO: &'static CStr = c"foo";
const BAR: &'static CStr = c"bar";
duration_end!(FOO, BAR, "x" => 5, "y" => "boo");