mi_malloc

Allocate size bytes.

extern (C) @nogc pure @system nothrow
void*
mi_malloc
(
size_t size
)

Parameters

size
Type: size_t

number of bytes to allocate.

Return Value

Type: void*

pointer to the allocated memory or NULL if out of memory. Returns a unique pointer if called with size 0.

Meta