Module eos_rs::allocation 
source · Expand description
Module related to allocating data on the heap.
Structs
- An allocator that can be used with any specified memory area. You can set up a new arena withcreate_mem_arena.
- The game’s allocation functions wrapped in a struct. This is set up as the global allocator, unless theglobal_allocatorfeature is turned off.
Statics
- Global allocator (EoSDefaultAllocator). You can disable registering this, by disabling theglobal_allocatorfeature of this crate, you can then register you own global allocator.
Functions
- Allocation error handler. Will freeze the game and output an error message.
- Creates a new memory arena within a given block of memory. Returns the memory arena.