macro_rules! wrap {
($inner:expr) => { ... };
}
Expand description
Wrap shuffling around an existing global allocator.
ยงExample
use shuffling_allocator::ShufflingAllocator;
use std::alloc::System;
static SHUFFLED_SYSTEM_ALLOC: ShufflingAllocator<System> = shuffling_allocator::wrap!(&System);