Function multiple_heaps::switch_to_multiple_heaps
source · pub fn switch_to_multiple_heaps() -> Result<(), &'static str>
Expand description
The setup routine for multiple heaps. It creates and initializes the multiple heaps, then sets the multiple heaps as the default allocator. Only call this function when the multiple heaps are ready to be used.