macro_rules! instantiate_global_allocator {
($Allocator:ty) => { ... };
}
Expand description
Macro to instantiate a global allocator using a Xila memory allocator.
This macro creates a static global allocator using the provided expression and
applies the #[global_allocator]
attribute to it. This is the recommended way
to set up the global allocator in applications using Xila memory management.