macro_rules! tripwire { ($($x:expr),+) => { ... }; }
Expand description
Form a tuple of tripwire values
This is intended to be used to create a tuple of PBufTrip
values both before and after an operation. The tuples can then be
compared to see whether there was any change.
let before = tripwire!(p1, p2, p3, p4);
// some operation on p1/p2/p3/p4 ...
let after = tripwire!(p1, p2, p3, p4);
let activity = before != after;