malloc top-level constant

Allocator const malloc

Manages memory on the native heap.

Does not initialize newly allocated memory to zero. Use calloc for zero-initialized memory allocation.

For POSIX-based systems, this uses malloc and free. On Windows, it uses HeapAlloc and HeapFree against the default public heap.

Implementation

const Allocator malloc = _MallocAllocator();