mc_func { (mc01; $name: ident, $size: expr, $ver: expr) => ( fn $name (dst: &mut [u8], mut didx: usize, dstride: usize, src: &[u8], mut sidx: usize, sstride: usize) { let step = if $ver { sstride } else { 1 }; for _ in 0..$size { for x in 0..$size { dst[didx + x] = filter!
(01; src, sidx + x, 1); } bidx += bstride; sidx += sstride; } $ofilt(dst, didx, dstride, &buf, 2*bstride, $size); } );... } mc_func!