macro_rules! runtime_context { ($ctx:ident, $type:ty) => { ... }; }
Extract custom runtime context from a dispatcher context.
fn my_call(args: &bool, ctx: &mut TxnContext) -> Fallible<()> { let rctx = runtime_context!(ctx, MyContext); // ... }