Expand description
Scrap heap allocation rust like API(But for reasons of scrap heap reuse, it is a little different)
Functions§
- alloc⚠
- Attempts to allocate memory using the thread-local scrap heap managed by the custom memory system.
- alloc_
zeroed ⚠ - Attempts to allocate zero-initialized memory using the thread-local scrap heap.
- dealloc⚠
- Deallocates memory previously allocated using
alloc
oralloc_zeroed
with the same scrap heap. - realloc⚠
- Attempts to reallocate memory previously allocated from a thread-local scrap heap.