| parrotcode: Memory allocation | |
| Contents | C |

src/gc/memory.c - Memory allocation

The memory (mem) API handles memory allocation,
Basically just a wrapper around malloc/calloc/realloc/free() with an setup function to initialize the memory pools.

mem_sys_allocatemalloc to allocate system memory.mem__internal_allocatemem_sys_allocate_zeroedcalloc to allocate system memory.mem__internal_allocate_zeroedmem__sys_reallocmem__sys_realloc_zeroedmem__internal_reallocmem_sys_freemem__internal_freemem_setup_allocator
|
|
|